diff options
Diffstat (limited to 'dev-python/py-amqp')
-rw-r--r-- | dev-python/py-amqp/Manifest | 2 | ||||
-rw-r--r-- | dev-python/py-amqp/py-amqp-2.2.2.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/py-amqp/Manifest b/dev-python/py-amqp/Manifest index 11cba3beb2ad..ebac79dec890 100644 --- a/dev-python/py-amqp/Manifest +++ b/dev-python/py-amqp/Manifest @@ -1,6 +1,8 @@ AUX py-amqp-1.3.3-disable_socket_tests.patch 405 BLAKE2B 9d1c75d6499ba8fdd172d022a6f876f5b8eb66de1e0b7c2f685ea6856afd5db316b70e950ee3af1c6fc686b6bbef97dc6f220abddab746adebf6f01f7fff7120 SHA512 7d801f7392edce5bb0f2b04a974f6005b58cd0e288bdf52fd76a7d63de985e7e8a2696972fdbdbf3e39fba339a3213437d490dffb573b5b52f2f67ed6dfb9e32 DIST amqp-1.4.9.tar.gz 79392 BLAKE2B 03c37db7341705c05d8a1087d8e2911f5d89676b0dd00381677f09d1541b76bf6881688a8897202534e57f7dec0d4341e76138f4eb81b9cef3653f98a7c334b5 SHA512 9c2fecb3c9e1d24333895031a9ae255a858146d498b169a89c3ca8061428c622d85dcee8d2ca45d63a3ecdda34a1efc917aabf42c7c35b579143caf81494a079 DIST amqp-2.2.1.tar.gz 103599 BLAKE2B 2f0f5573bea19a8dcd609cbadf664ad8835b83f470d0ac24214f3cebcf174e9838fd2f1e4dde029ee9511a1e55ff4b7e2a6368902fdc22035272cc01b8c2f96b SHA512 dcb6297917d4528cfe3ebc446e97be6fed3c100ea77c68923c923cac466fa2d85ed8afaf19582b281ee6e05d699e8ed3fd6cdcbb0cb4de0451becaf16711af29 +DIST amqp-2.2.2.tar.gz 103128 BLAKE2B ee1513e12e1695ce2d16f72fc09dce713a5c9e7e630f8e8d2d39b580b15e254287ff49039db6a43f808f1d2c26239195c003648f360169abfbdcdab9aa700604 SHA512 8ebb8f2b0942e9b88b12cf35b8861da392190dd200d843bf3bba7b98e325afa53f52fe3f8250af1d2c1c14ffe8a071df5494d1eedc1bff974cd62fe88bc3e1e7 EBUILD py-amqp-1.4.9.ebuild 1619 BLAKE2B 123a7ee8d0d3cb20e765d346d77e95f48aeefd4292da1349db208138891b479f12481ae79998e31ac4653c54025a244691790affd5cb1aa5c37bdfb6d45a8c3c SHA512 65b7b4a67f1122a9052a74f34fa5c5b8fc80feec372bfb906a956923bd9b37c51c49fdf0d964f637dc9b050477ceda6f714b0830732a638bb7285ab4d4d1ab81 EBUILD py-amqp-2.2.1.ebuild 1188 BLAKE2B 2324b04a09cb652ba006792387784671280f1cf966e03db4d01a35b0ec7b00a1595a2a7823e3db15f5f480ea8a5e9a33f7d28ab1872cc90bc590b3ff0a452702 SHA512 c76b684c232a913452b43e2afa1717ebf16babea4f37270b8a4d83960bfe3ab80e42963208e5ffec76db7741f69c98be81a7d156207559feddd5bb38003f0eba +EBUILD py-amqp-2.2.2.ebuild 1190 BLAKE2B 2d2ad44853287d084e582bda40db56169175c175a10b97c4b908e1cf06efcaa6bb8d3b2ffec50f8b48f187be55708da0ad9f89efdfb7f6d6145fb24c3f47235a SHA512 fcc9445c37e648b91b894a779964dde1ab9a9a0f3b8b4a1e0887c0da18873b7743a5fb1b24e600032543da7cb80461accc72cefd508cbcc9b02cdd9846722050 MISC metadata.xml 480 BLAKE2B 43fb5084b74b3c2162cfe63a41aa8e115ca9da87aa9cd32ba135371ed1236a443b96804d5593c69b8e8189affeddafb8bebe7733369548150ce525f4d0f71d84 SHA512 d386da72715c929924505be0c50dbbb0b24fe8087f4b4e47ddf5f6d868dd6c42ac63676364837490eedd7ab32053d360e95cac9416954d9225bd110f3d1df9fd diff --git a/dev-python/py-amqp/py-amqp-2.2.2.ebuild b/dev-python/py-amqp/py-amqp-2.2.2.ebuild new file mode 100644 index 000000000000..e2f94d4dc876 --- /dev/null +++ b/dev-python/py-amqp/py-amqp-2.2.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 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 +} |