commit:     f373ba93f6c144ff57469f67a4bd4ff6f5c93b3c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 17 06:09:05 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 17 06:10:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f373ba93

dev-python/testfixtures: Bump to 8.0.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/testfixtures/Manifest                  |  1 +
 dev-python/testfixtures/testfixtures-8.0.0.ebuild | 46 +++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest
index 2241a86ce2e9..06c07a7b8667 100644
--- a/dev-python/testfixtures/Manifest
+++ b/dev-python/testfixtures/Manifest
@@ -1 +1,2 @@
 DIST testfixtures-7.2.2.tar.gz 133809 BLAKE2B 
6a3701bb9c5ca476aadc144f1013268f87e10dd47a6f757e8a0aaa3feb33e1a06663a38f0789b7c54cf439b07562dfb638bd9b89efdc36831d04977f6035ecc8
 SHA512 
4f7a5ed659b650080deac0b1caff6d2dff0b71d23eaeb26b48b7daa4df85dc0a1f6cfef98275c9a90289eb893c0a06311c849b84f2cc35447fb766f4d0d41c89
+DIST testfixtures-8.0.0.tar.gz 133847 BLAKE2B 
0197f1946b6124298251a2d0bedf706f36982b1f10c8f959fe1ac52aa8290a9123355a110aa2bdf932229bd152bd041f086eba76b29aa97f9df2f8a1b3a3f7c3
 SHA512 
57d7876cccda12f3abb47c50e15c5a9e2cbae2039a573733cb10d1708245f20adbf959fec34fd06edf1ba9279a10e336b34acd8bda0cf1f8a64f9940bd5c8c2b

diff --git a/dev-python/testfixtures/testfixtures-8.0.0.ebuild 
b/dev-python/testfixtures/testfixtures-8.0.0.ebuild
new file mode 100644
index 000000000000..5bd6337f763e
--- /dev/null
+++ b/dev-python/testfixtures/testfixtures-8.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A collection of helpers and mock objects for unit tests and doc 
tests"
+HOMEPAGE="
+       https://pypi.org/project/testfixtures/
+       https://github.com/Simplistix/testfixtures/
+"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="
+       test? (
+               $(python_gen_impl_dep sqlite)
+               dev-python/django[${PYTHON_USEDEP}]
+               dev-python/pytest-django[${PYTHON_USEDEP}]
+               >=dev-python/sybil-6[${PYTHON_USEDEP}]
+               >=dev-python/twisted-18[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_sphinx docs \
+       dev-python/furo
+distutils_enable_tests pytest
+
+python_test() {
+       local -x PYTHONPATH="."
+       local -x DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings
+
+       local EPYTEST_DESELECT=(
+               # TODO
+               
testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_missing
+               
testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_present
+       )
+
+       epytest
+}

Reply via email to