diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-09 00:01:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-09 00:01:03 +0100 |
commit | a0ce545d52f231499bf9f3644493113d8af58ec9 (patch) | |
tree | 4d67c09eed0c2ae28d1317f72d7f7b08b4f6aeea /dev-python/tempora | |
parent | 5181ced3f3566a9610b85922b083c8f84f20d78f (diff) |
gentoo auto-resync : 09:05:2024 - 00:01:03
Diffstat (limited to 'dev-python/tempora')
-rw-r--r-- | dev-python/tempora/Manifest | 2 | ||||
-rw-r--r-- | dev-python/tempora/tempora-5.5.1.ebuild | 19 |
2 files changed, 17 insertions, 4 deletions
diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest index ded1395afe82..4b4cc50e28ba 100644 --- a/dev-python/tempora/Manifest +++ b/dev-python/tempora/Manifest @@ -1,3 +1,3 @@ DIST tempora-5.5.1.tar.gz 21145 BLAKE2B b034b85272faefc884e098c1ca58b3e4b1f6598487f4678ed3b0b9f353d70b9862d8eaed425fb812e23630f123a28a25fefc8916a1c9cc882e5ed8c3da98dfa6 SHA512 642c4176ea14504e2f831f738e1064c1fb888ad89a67c74d5bcf2a5389923af3933981393855c7eceaf6c7fc16bbbf4126015d2d1dfa0fdfd38d528d16854dce -EBUILD tempora-5.5.1.ebuild 778 BLAKE2B c72c0e93695f54f9ccec8c7576542b7f300cb2c320b3b09be6919f33c0d9202c9a2ceced88f568c6f81e08579c911e2a0ce5ac2ed25483fe10b65ac3680c1f0c SHA512 1534b620fc7b035ed393bbb018d6a193ed3e68ec96af316fdba5a3b388835b63c289f5eb5d48e074a66eadf52be5c279821a54f8dfe9dbb4e004e478c8b61f88 +EBUILD tempora-5.5.1.ebuild 1074 BLAKE2B e5e67f86396b11813427609bac0e5c1f71a12af0e40aa722772f31c2d30b464751c47628ac20fe27eda616d648c75558b0df6cc79f21b8ccd9bb17e6b7fa9e0f SHA512 44f07068fc9c57a0e2f82217ca4ead475d53702f08108db16db99612e77f5f57213638bbc5a6de17a230a147375456e290629f4d551f8b5fed7b5359fa61b917 MISC metadata.xml 557 BLAKE2B 496ca69906103b5203131d5bcfd1249e39947857c883519953fd3f9730f9dd518e9d84f31643e152e8fa72423924c8dff7ae64b37c0dd8ffdb987cf7c00b491b SHA512 941db1a4f23e97334811a95d009d13fd04daee291fee43436cf938740f70dad09cc8482262a1a9cf9f838cf0a062d9373bc8d0e582da5b677999273f6967ed09 diff --git a/dev-python/tempora/tempora-5.5.1.ebuild b/dev-python/tempora/tempora-5.5.1.ebuild index 736a04fbab4f..0b4513b29cad 100644 --- a/dev-python/tempora/tempora-5.5.1.ebuild +++ b/dev-python/tempora/tempora-5.5.1.ebuild @@ -4,7 +4,8 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_TESTED=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_13 ) inherit distutils-r1 pypi @@ -25,9 +26,21 @@ RDEPEND=" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pytest-freezegun[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytest-freezegun[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") ) " distutils_enable_tests pytest + +python_test() { + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p freezer +} |