commit:     b9effcb2d30a0a4d90258636fc99143e7ff6d01d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May  2 01:45:08 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May  2 02:00:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9effcb2

dev-python/testfixtures: Bump to 8.2.0

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

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

diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest
index 7c17d9ea56ae..2b744a8f6c43 100644
--- a/dev-python/testfixtures/Manifest
+++ b/dev-python/testfixtures/Manifest
@@ -1 +1,2 @@
 DIST testfixtures-8.1.0.tar.gz 134639 BLAKE2B 
9f930d15b039a808717e06d86711553c4b165b39927c36901a78a028d227a9aaa39b05091192bcaf15a579f08262e8f9561670e959d6cfa58541f2213f8c15ef
 SHA512 
17aa2be892e8095d2386b72e72daa73689fb44283a168a0cb3fad8c847cd9527e4e273cf0ac527cdd2579f2e0689074de77b26c1124e3ae7aa7efce0f5909fec
+DIST testfixtures-8.2.0.tar.gz 136662 BLAKE2B 
37dcc8c718a0db51d42f7f7c5b8876e852d4e9ddbd157ce7f278c0ccbd304ce923e41e5126ee9194680059274fad04567de6e56976b281249e85e540b1a984d8
 SHA512 
a151767ea44a36c244e4c46fc2ce8665ebc64a52159213e5739f78537e684d6760b03a56b393894afabb70a5d777e3b9fbe0aa8acec33c958fc973eda3ec1e5e

diff --git a/dev-python/testfixtures/testfixtures-8.2.0.ebuild 
b/dev-python/testfixtures/testfixtures-8.2.0.ebuild
new file mode 100644
index 000000000000..07bcb3d54340
--- /dev/null
+++ b/dev-python/testfixtures/testfixtures-8.2.0.ebuild
@@ -0,0 +1,47 @@
+# 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/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~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}]
+               sys-libs/timezone-data
+       )
+"
+
+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