diff options
Diffstat (limited to 'dev-python/py-amqp')
-rw-r--r-- | dev-python/py-amqp/Manifest | 3 | ||||
-rw-r--r-- | dev-python/py-amqp/py-amqp-5.0.9-r1.ebuild | 50 | ||||
-rw-r--r-- | dev-python/py-amqp/py-amqp-5.1.0.ebuild | 51 |
3 files changed, 104 insertions, 0 deletions
diff --git a/dev-python/py-amqp/Manifest b/dev-python/py-amqp/Manifest index 0b34e6efd89c..70650e7fae78 100644 --- a/dev-python/py-amqp/Manifest +++ b/dev-python/py-amqp/Manifest @@ -1,3 +1,6 @@ DIST amqp-5.0.9.tar.gz 127478 BLAKE2B f4e23c43ad66cf88e076e9542d8825daac9ad3cf93ca954fe0f1baf3648bfc00afa0002b86d73a95936fad7c859b0a75ee2996cc0d19c6bfcd3ec556e0c1eab3 SHA512 b94bf176e816b1dad4bbc2891a5324f7eb8e27fd475c34a01e6f39d27caf66447cfceab6a3cb3538fd1b610a250eed1423682deef4a174fdd201e0b3a7368bc9 +DIST amqp-5.1.0.tar.gz 128629 BLAKE2B 8fe0b07233fce04b84b46e0ab4da1badf2de8a2ac53494dbb33b246d149ccec728de42c4f9f7d40752701a8e02851805456d8d54c2e519bbbfdbbb1274edf124 SHA512 9f4f3fd4cea6c214ff03a80a9aec7c5bff65a964ff1e77fbc937f1b6daf45f7b06be0b0873b2998afc3de22b4693a3327f0b439f70a4496060997b9f1aa73331 +EBUILD py-amqp-5.0.9-r1.ebuild 1172 BLAKE2B 9c2e6894e4ec7afb444a8573103b0aad4d9b8b3ac3fc56e860b62bc2816c00134bd2eea04d8372c61bb290abf28e5fe48894e0ee49ba50cb834ca53f6534d689 SHA512 5c8994f652a6afa29c8918fb442796304361210b634afd7692e8279a44d242100832942c75820819c2a1c1cb0761a084b451f8b0b1ad618ace21eceabee2b6b4 EBUILD py-amqp-5.0.9.ebuild 1137 BLAKE2B b9d0049187d067af40405204549dd446b31e680f967116cec120af0b608dd36a09a31d095cadb6a7658a658def2ce32b15e58b2202d49a22f40baa586742cbf0 SHA512 1c35351dd0b9df3faf915c25b6c2078cce87f2b38ce58affa7deb04828b522f18add8f1f8df71fe208e7a456d1a0ea6a8ea764a2350d5ffb2b95d0f38f4f24aa +EBUILD py-amqp-5.1.0.ebuild 1175 BLAKE2B 326bea2c919ec5b19f3b3cd5408544d37c8d85824f297f07c59335ce4793fc9392676fba914485f2e6e34eaf02a5e9cf4a76540e51f1ae3708bbeefa4ea65b88 SHA512 2adb31fd982366b81ddf932bd2bab3b12913e6564f4537bf0a2f1b50ade0a85bf82b5fa1ed0e8378b94aec2639d7186aa640a793253a54c5bdcca0d04815fe7f MISC metadata.xml 505 BLAKE2B edee860b2641c1f220cca3efcf400391018389615234d72cf2a48e499c410608ddb664d65c7a3aba925b882bab96ba7b4f0c1173e28c385fe0a73b377e950af9 SHA512 b9b969cfcdc38791dec5c54ce96dcddc2eaf29bd023dc6a7c8e2f95dd00ece57abf02bf7d9e0179eb5716a20a041c2216dda94904e5d0a73007e775c14149552 diff --git a/dev-python/py-amqp/py-amqp-5.0.9-r1.ebuild b/dev-python/py-amqp/py-amqp-5.0.9-r1.ebuild new file mode 100644 index 000000000000..50a5621b9a9c --- /dev/null +++ b/dev-python/py-amqp/py-amqp-5.0.9-r1.ebuild @@ -0,0 +1,50 @@ +# 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 +} diff --git a/dev-python/py-amqp/py-amqp-5.1.0.ebuild b/dev-python/py-amqp/py-amqp-5.1.0.ebuild new file mode 100644 index 000000000000..fa1bdc3c1c25 --- /dev/null +++ b/dev-python/py-amqp/py-amqp-5.1.0.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 +} |