commit: fdc265c7c3bc02ce61c6003a084baefd36d9598c Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Fri Jan 26 11:09:06 2024 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Fri Jan 26 11:09:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fdc265c7
dev-python/pifpaf: enable py3.12, pep517 and tests Closes: https://bugs.gentoo.org/921805 Closes: https://bugs.gentoo.org/815619 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> dev-python/pifpaf/pifpaf-3.1.5-r1.ebuild | 59 ++++++++++++++++++++++++++++++++ dev-python/pifpaf/pifpaf-3.1.5.ebuild | 41 ---------------------- 2 files changed, 59 insertions(+), 41 deletions(-) diff --git a/dev-python/pifpaf/pifpaf-3.1.5-r1.ebuild b/dev-python/pifpaf/pifpaf-3.1.5-r1.ebuild new file mode 100644 index 0000000000..3dbf3e8128 --- /dev/null +++ b/dev-python/pifpaf/pifpaf-3.1.5-r1.ebuild @@ -0,0 +1,59 @@ +# 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/pbr: for pbr.version +# 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/pbr[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/xattr[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + app-admin/consul + app-admin/vault + 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_etcd + pifpaf/tests/test_drivers.py::TestDrivers::test_influxdb + pifpaf/tests/test_drivers.py::TestDrivers::test_mongodb + pifpaf/tests/test_drivers.py::TestDrivers::test_rabbitmq + pifpaf/tests/test_drivers.py::TestDrivers::test_rabbitmq_cluster + pifpaf/tests/test_drivers.py::TestDrivers::test_redis_sentinel +) + +distutils_enable_tests pytest diff --git a/dev-python/pifpaf/pifpaf-3.1.5.ebuild b/dev-python/pifpaf/pifpaf-3.1.5.ebuild deleted file mode 100644 index 1183064e23..0000000000 --- a/dev-python/pifpaf/pifpaf-3.1.5.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -EPYTEST_DESELECT=( pifpaf/tests/test_cli.py::TestCli::test_non_existing_command ) -PYTHON_COMPAT=( python3_10 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python fixtures and daemon managing tools for functional testing" -HOMEPAGE=" - https://pypi.org/project/pifpaf/ - https://github.com/jd/pifpaf -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-python/daiquiri[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - dev-python/pbr[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/xattr[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - dev-python/pbr[${PYTHON_USEDEP}] - test? ( - dev-python/requests[${PYTHON_USEDEP}] - dev-python/testrepository[${PYTHON_USEDEP}] - dev-python/testtools[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest
