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-5.1.1.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/py-amqp/Manifest b/dev-python/py-amqp/Manifest index d52cd9b37122..6e9e96823a41 100644 --- a/dev-python/py-amqp/Manifest +++ b/dev-python/py-amqp/Manifest @@ -1,3 +1,5 @@ DIST amqp-5.1.0.tar.gz 128629 BLAKE2B 8fe0b07233fce04b84b46e0ab4da1badf2de8a2ac53494dbb33b246d149ccec728de42c4f9f7d40752701a8e02851805456d8d54c2e519bbbfdbbb1274edf124 SHA512 9f4f3fd4cea6c214ff03a80a9aec7c5bff65a964ff1e77fbc937f1b6daf45f7b06be0b0873b2998afc3de22b4693a3327f0b439f70a4496060997b9f1aa73331 +DIST amqp-5.1.1.tar.gz 127869 BLAKE2B 3ba95874a45f6fce163cf95b0b1fae57e636bc2bec8311f64fc9597025ba36f35daf8d0457af3bc10fa1f1dae604b262ebf205d7b89d4f1745bf3480b542278d SHA512 f549a85e4f04543dd8e844edb68350ca185de9259aa896af31ae5ee5dfdfe73f904d95821c403dc797c7f3ada17ce6bff4e0fd9fcdf2abc1b33a94d079f99179 EBUILD py-amqp-5.1.0.ebuild 1173 BLAKE2B 57ffcc4a2cfdaa50524687f0dae4326ea0c6da60e996b9dd1ecb9fdf438d9533b71456f95d2e2e2a285f90ae775181fe743e93d3245e71aa5fe4f5019e800804 SHA512 ea8523316837c7c580cdd2f4e3f5abb50cd061257131287fe09f1410f1d6229a8a3f804b94d9c9f74e8a5c1b6d1d63c6b9dcdc2da224939bbd16e11dd190deaf +EBUILD py-amqp-5.1.1.ebuild 1175 BLAKE2B 326bea2c919ec5b19f3b3cd5408544d37c8d85824f297f07c59335ce4793fc9392676fba914485f2e6e34eaf02a5e9cf4a76540e51f1ae3708bbeefa4ea65b88 SHA512 2adb31fd982366b81ddf932bd2bab3b12913e6564f4537bf0a2f1b50ade0a85bf82b5fa1ed0e8378b94aec2639d7186aa640a793253a54c5bdcca0d04815fe7f MISC metadata.xml 505 BLAKE2B edee860b2641c1f220cca3efcf400391018389615234d72cf2a48e499c410608ddb664d65c7a3aba925b882bab96ba7b4f0c1173e28c385fe0a73b377e950af9 SHA512 b9b969cfcdc38791dec5c54ce96dcddc2eaf29bd023dc6a7c8e2f95dd00ece57abf02bf7d9e0179eb5716a20a041c2216dda94904e5d0a73007e775c14149552 diff --git a/dev-python/py-amqp/py-amqp-5.1.1.ebuild b/dev-python/py-amqp/py-amqp-5.1.1.ebuild new file mode 100644 index 000000000000..fa1bdc3c1c25 --- /dev/null +++ b/dev-python/py-amqp/py-amqp-5.1.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +MY_P="amqp-${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_P:0:1}/amqp/${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 + +EPYTEST_IGNORE=( + # rmq tests require a rabbitmq instance + t/integration/test_rmq.py +) + +EPYTEST_DESELECT=( + # fails when gssapi is installed (how does that test make sense?!) + t/unit/test_sasl.py::test_SASL::test_gssapi_missing +) + +python_install_all() { + if use extras; then + insinto /usr/share/${PF}/extras + doins -r extra + fi + distutils-r1_python_install_all +} |