diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-20 15:52:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-20 15:52:41 +0100 |
commit | b3830a745865c7d85daf3317603ad23dac6434da (patch) | |
tree | 8bacb840498f00754dc51ec2ab76bb175f52fc58 /dev-python/testfixtures | |
parent | 547caa904733bc2a3ac112415990a114ecbe8824 (diff) |
gentoo auto-resync : 20:10:2023 - 15:52:41
Diffstat (limited to 'dev-python/testfixtures')
-rw-r--r-- | dev-python/testfixtures/Manifest | 2 | ||||
-rw-r--r-- | dev-python/testfixtures/testfixtures-7.2.2.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest index 1c6c9887565c..1de8e21aa60f 100644 --- a/dev-python/testfixtures/Manifest +++ b/dev-python/testfixtures/Manifest @@ -1,3 +1,5 @@ DIST testfixtures-7.2.0.tar.gz 133487 BLAKE2B f5c4ff354d1e2b06a28a947fffe8622e51ed680a29ed6fa3ff5e7e851c21e39ed432d6dc0f5f8c83c6541b0054ca3b2afce960f4a00e1e70619a29f29e03b5ae SHA512 b1b5fdd45509e60db8590ec454659efa42c87f75de9187286d820b5643388f83919ccf3763ec223018a5a5b48821041494982af2016c41e11fe30cabdb909223 +DIST testfixtures-7.2.2.tar.gz 133809 BLAKE2B 6a3701bb9c5ca476aadc144f1013268f87e10dd47a6f757e8a0aaa3feb33e1a06663a38f0789b7c54cf439b07562dfb638bd9b89efdc36831d04977f6035ecc8 SHA512 4f7a5ed659b650080deac0b1caff6d2dff0b71d23eaeb26b48b7daa4df85dc0a1f6cfef98275c9a90289eb893c0a06311c849b84f2cc35447fb766f4d0d41c89 EBUILD testfixtures-7.2.0.ebuild 1556 BLAKE2B 024e2b3e202ada793fd4c74d6d061b3585f6d1ce0df6a9975b3700cb01d4e3779242f43408ee9e1fc0c878829c1edbc14a5b15cc5c2ca9b0e85ff1e64e41f3fb SHA512 92c1195c1d21431fb306073e28258fb164feef0d3387fbd407e3eba3b012d821ec1683e16ecadf5d632422289af76ebc6c904333fa697c8d65988e5805428432 +EBUILD testfixtures-7.2.2.ebuild 1559 BLAKE2B 14941bbd03340eb309b0fe7f1a0a55a7671eb393c79e5fee0959ba5d3bffa2cc4ccbd077943f454e65366e4594cb6753d086bb5b40d98cc4da2e4e40d23a8a7f SHA512 2b46a1d9c7c05a43cf19e9d19c539e20450a066c51397b2c2a1b28f876b129ac5909a729750b334377374b4f066c513307d70ade2bd4022614dd4ae3763df2a0 MISC metadata.xml 416 BLAKE2B 19f5d275458874364d2719ecf363f7a5627f9e612b7d3a3f2c075e306063ed899dec0b2e59ea5e5d7ba65209c9a6d91045d80b2fe50e74278e61247d0426b940 SHA512 8a5776feee4d6758da67dc0b413e2d0ddc0c843075ca96c9b44adace1f7669a6abf820c5b73b86652b27e9feed19a4a30e1004a021b24bda0829b5690a1687ec diff --git a/dev-python/testfixtures/testfixtures-7.2.2.ebuild b/dev-python/testfixtures/testfixtures-7.2.2.ebuild new file mode 100644 index 000000000000..b5276e04b446 --- /dev/null +++ b/dev-python/testfixtures/testfixtures-7.2.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 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[${PYTHON_USEDEP}] + >=dev-python/twisted-18[${PYTHON_USEDEP}] + dev-python/zope-component[${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 + ) + + case ${EPYTHON} in + python3.12) + EPYTEST_DESELECT+=( + # https://github.com/simplistix/testfixtures/issues/183 + docs/comparing.txt::line:790,column:1 + docs/comparing.txt::line:829,column:1 + testfixtures/tests/test_tempdirectory.py::TempDirectoryTests::test_as_path_relative_sequence + testfixtures/tests/test_tempdirectory.py::TempDirectoryTests::test_as_path_relative_string + ) + ;; + esac + + epytest +} |