summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2017-08-26 22:18:58 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2017-08-26 23:25:02 -0500
commit1d0d8644dd29367a4d662dbbfe00c3ce48c53342 (patch)
tree5f8542c6d46812fb2e426cc15200befc312d15fd /dev-python/py-amqp
parentdev-python/oslo-service: 1.25.0 bup (diff)
downloadgentoo-1d0d8644dd29367a4d662dbbfe00c3ce48c53342.tar.gz
gentoo-1d0d8644dd29367a4d662dbbfe00c3ce48c53342.tar.bz2
gentoo-1d0d8644dd29367a4d662dbbfe00c3ce48c53342.zip
dev-python/py-amqp: 2.2.1 bup
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-python/py-amqp')
-rw-r--r--dev-python/py-amqp/Manifest1
-rw-r--r--dev-python/py-amqp/py-amqp-2.2.1.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/py-amqp/Manifest b/dev-python/py-amqp/Manifest
index edb2db244274..63a95ffb25db 100644
--- a/dev-python/py-amqp/Manifest
+++ b/dev-python/py-amqp/Manifest
@@ -1,2 +1,3 @@
DIST amqp-1.4.9.tar.gz 79392 SHA256 2dea4d16d073c902c3b89d9b96620fb6729ac0f7a923bbc777cb4ad827c0c61a SHA512 9c2fecb3c9e1d24333895031a9ae255a858146d498b169a89c3ca8061428c622d85dcee8d2ca45d63a3ecdda34a1efc917aabf42c7c35b579143caf81494a079 WHIRLPOOL 3ef2df26b7d169d10eb780c280cc2174bfdbfbc619a7c441dbba75e72e46cd8b5426163564d2a21414c695d1bc36b1a1bc4e0bb317192b0ae0e5fecc09941d33
DIST amqp-2.1.4.tar.gz 99677 SHA256 1378cc14afeb6c2850404f322d03dec0082d11d04bdcb0360e1b10d4e6e77ef9 SHA512 42e9deba17ca1abcb6f00cc02abecc3f4b328555a73691dd253a5df79fd9a33cbb594992ec3a74790b3c1e05cf7ca7744058710f5a86222981a7abc304f9b9b5 WHIRLPOOL 65d9fc439459846a1804bebd5c73789bd5617cdbe90cfec330d539cc0a328365439d881d0fd5cd3a6b143738f61f9ce82647b44bf73517f6cacad372d8116e4e
+DIST amqp-2.2.1.tar.gz 103599 SHA256 7ababb2c28672c2a48b907095bc79104531217a98807751b51e0d8c0fa831aff SHA512 dcb6297917d4528cfe3ebc446e97be6fed3c100ea77c68923c923cac466fa2d85ed8afaf19582b281ee6e05d699e8ed3fd6cdcbb0cb4de0451becaf16711af29 WHIRLPOOL 51dfe02efc80175f293ef50b7d746f7d43ce30c21adedd9e9c260cb87e64ace53699cdfd0e18d3df92fef4ef12238259137ad60a6cc2cd2820afb8671bf4725e
diff --git a/dev-python/py-amqp/py-amqp-2.2.1.ebuild b/dev-python/py-amqp/py-amqp-2.2.1.ebuild
new file mode 100644
index 000000000000..399c006bd586
--- /dev/null
+++ b/dev-python/py-amqp/py-amqp-2.2.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+MY_PN="amqp"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)"
+HOMEPAGE="https://github.com/celery/py-amqp https://pypi.python.org/pypi/amqp/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc extras test"
+
+RDEPEND=""
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/vine-1.1.3[${PYTHON_USEDEP}]
+ doc? (
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/sphinx_celery[${PYTHON_USEDEP}]
+ )
+ test? (
+ >=dev-python/case-1.3.1[${PYTHON_USEDEP}]
+ >=dev-python/pytest-3.0[${PYTHON_USEDEP}]
+ dev-python/pytest-cov[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )
+"
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+ if use extras; then
+ insinto /usr/share/${PF}/extras
+ doins -r extra
+ fi
+ distutils-r1_python_install_all
+}