commit: 2414619ec9936f082c41ca1511750486bbd1243e Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Tue Aug 20 13:25:19 2024 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Tue Aug 20 13:25:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2414619e
dev-util/pifpaf: add 3.2.1 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> dev-util/pifpaf/Manifest | 1 + dev-util/pifpaf/pifpaf-3.2.1.ebuild | 61 +++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/dev-util/pifpaf/Manifest b/dev-util/pifpaf/Manifest index 11ae766bb..54398ceac 100644 --- a/dev-util/pifpaf/Manifest +++ b/dev-util/pifpaf/Manifest @@ -1 +1,2 @@ DIST pifpaf-3.1.5.tar.gz 189903 BLAKE2B 5742e995feeb91af41db20cc605e8a5f5f21f63281d4f66ba8b108310a88d716ab4be0a43e0371f10e7f3f42b693953b3344c648458999348b914e03abe462c8 SHA512 4e0f70740f8260cb3cf801ea97f1fa30e6b87cfc4112b5482389d0635e76bbc7f1561945397e4e6586116c49d11b1e8f721dd61dca82668833bf224f9ba3e94f +DIST pifpaf-3.2.1.tar.gz 183005 BLAKE2B 4ce210af724bbe615a3ccf0b70cd1eb8f1f3b8e0bba1d80e157bdb96a6f705487283977b86aafd71483c750a0029bb2cd4c65c6b7694d47b539dff86be663572 SHA512 680d034e00b6491e1e7c56524b83be8d1853e41a6c3be0c8f9af5339d9a248f7d3ae21e801c10ccaf2f530ce36f8e33fdbe49196f7add69c9a85c8e89fdc02ac diff --git a/dev-util/pifpaf/pifpaf-3.2.1.ebuild b/dev-util/pifpaf/pifpaf-3.2.1.ebuild new file mode 100644 index 000000000..4d68a6f5e --- /dev/null +++ b/dev-util/pifpaf/pifpaf-3.2.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Suite of tools and fixtures to manage daemons for testing" +HOMEPAGE=" + https://pypi.org/project/pifpaf/ + https://github.com/jd/pifpaf +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +# dev-python/setuptools: for pkg_resources and distutils +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/daiquiri[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/xattr[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + app-admin/consul + app-admin/vault + dev-db/etcd[server] + dev-db/postgresql[server] + dev-db/redis + dev-python/httpbin[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + net-misc/kafka-bin + net-misc/memcached + sys-cluster/ceph + virtual/mysql[server] + ) +" + +EPYTEST_DESELECT=( + # Need updates to new CLIs and APIs + pifpaf/tests/test_drivers.py::TestDrivers::test_influxdb + pifpaf/tests/test_drivers.py::TestDrivers::test_mongodb + pifpaf/tests/test_drivers.py::TestDrivers::test_redis_sentinel + + # RabbitMQ wants to be run only as root + pifpaf/tests/test_drivers.py::TestDrivers::test_rabbitmq + pifpaf/tests/test_drivers.py::TestDrivers::test_rabbitmq_cluster +) + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}