dev-python/py-amqp: add 5.1.0

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2022-03-09 20:43:05 +02:00
parent 23c0a3b74e
commit fbd8f2a7b3
2 changed files with 52 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST amqp-5.0.9.tar.gz 127478 BLAKE2B f4e23c43ad66cf88e076e9542d8825daac9ad3cf93ca954fe0f1baf3648bfc00afa0002b86d73a95936fad7c859b0a75ee2996cc0d19c6bfcd3ec556e0c1eab3 SHA512 b94bf176e816b1dad4bbc2891a5324f7eb8e27fd475c34a01e6f39d27caf66447cfceab6a3cb3538fd1b610a250eed1423682deef4a174fdd201e0b3a7368bc9
DIST amqp-5.1.0.tar.gz 128629 BLAKE2B 8fe0b07233fce04b84b46e0ab4da1badf2de8a2ac53494dbb33b246d149ccec728de42c4f9f7d40752701a8e02851805456d8d54c2e519bbbfdbbb1274edf124 SHA512 9f4f3fd4cea6c214ff03a80a9aec7c5bff65a964ff1e77fbc937f1b6daf45f7b06be0b0873b2998afc3de22b4693a3327f0b439f70a4496060997b9f1aa73331

View File

@@ -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
}