diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-python/py-amqp | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
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-5.0.6.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/py-amqp/Manifest b/dev-python/py-amqp/Manifest index 36b1a9b6fb48..cb4d5e6a5537 100644 --- a/dev-python/py-amqp/Manifest +++ b/dev-python/py-amqp/Manifest @@ -1,3 +1,5 @@ DIST amqp-2.6.1.tar.gz 119956 BLAKE2B a575637ca3d39ef8577035ae156f09b87dfb053757cb78b058fcb4f23759707084297e12941c766783e99898c486ea8eca968842464223ea46f42a4e4495c0a4 SHA512 e2c628cfe8075a3014a9fe991ae3e6f49198db2ecd46dd48f980730da692e4d25d9f055b1ccd4743917fc38a8afa69a5902a64275f8f45ef68113c6756f3a17b +DIST amqp-5.0.6.tar.gz 126856 BLAKE2B 3eae4d0f97477dc7b72eba65ee95ab74afa051bf2d745f86944c4236b4a90ff6c2a38f18a5bdc8441215f4607ed4e8eb867144695619eb08e0f1065e7a624415 SHA512 bf15fad413bedb2f57dfaa03986f4abfc8fb169d5e324d5741b94a1e3776f2590e7686774c69dfdda848b484dbc1e6d0fa78a4a3125cf08ab20eaf7192885252 EBUILD py-amqp-2.6.1.ebuild 1511 BLAKE2B 1703fbf5771a262eb1d3c5cc4a918515fd4cbac511804669bf4debe5bc89ff7ed744dfb5f422f59fb6ea6358e719786dbdb7d76e22bd7877f4b936f5b7088b80 SHA512 9c44523c7d6e49a60677973422272fc2e6e224ad062ae073911d84de47df786f8a0b77df5ccdc9920bc41d2bc8c4d2cacfeb7eff91249aa1f8be07ff10666070 +EBUILD py-amqp-5.0.6.ebuild 1034 BLAKE2B 62c072ae26fd94c79376c80287f3b1bc1cbc33c5eb461c36bc7ab920108f74f85649a7a42ab6a09641d593374dc2433112602b4bdefeedaf6400517d9351b076 SHA512 9d2e0c56f8eadb9d14c31c1cd4791ae030a7c07a23f04d77bd4311fc4bb9bab445aeef40c8295ff69f565196d2ad3eac2c76e15f48a9295d7c749a0fe12e2104 MISC metadata.xml 504 BLAKE2B 4b09bbbde836a690c540191860b0251f329f39f9650df8c0246dcabec3c2444f8f0734a6acd4bbbd17e3f276d6bcba195326a07f19b4a43451257d526dd9796b SHA512 069eec0fc089186f692bd331463d8f6e452545cd0bf8f48e1fba4169c49674b3187a02e0ae25689f2033a65365fa7d3086d23affdb1875cf320a5cd36d9954e9 diff --git a/dev-python/py-amqp/py-amqp-5.0.6.ebuild b/dev-python/py-amqp/py-amqp-5.0.6.ebuild new file mode 100644 index 000000000000..50863a12d150 --- /dev/null +++ b/dev-python/py-amqp/py-amqp-5.0.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7..9} ) + +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.org/project/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="extras" + +BDEPEND=" + >=dev-python/vine-5.0.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/case-1.3.1[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/pytest-rerunfailures-6.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs dev-python/sphinx_celery +distutils_enable_tests pytest + +python_test() { + # rmq tests require a rabbitmq instance + epytest --ignore t/integration/test_rmq.py +} + +python_install_all() { + if use extras; then + insinto /usr/share/${PF}/extras + doins -r extra + fi + distutils-r1_python_install_all +} |