diff options
Diffstat (limited to 'dev-python/tempora')
| -rw-r--r-- | dev-python/tempora/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/tempora/tempora-5.7.1.ebuild | 45 | ||||
| -rw-r--r-- | dev-python/tempora/tempora-5.8.0.ebuild | 45 |
3 files changed, 92 insertions, 0 deletions
diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest index bbdcd5049cf9..30128f3db181 100644 --- a/dev-python/tempora/Manifest +++ b/dev-python/tempora/Manifest @@ -1 +1,3 @@ DIST tempora-5.7.0.tar.gz 22239 BLAKE2B 11c9ba681b1973b75e22cc4a2c8bcc1a2620e0284ce1b7d42fda25ce8c2a35bd4a9a4b329013143dbfd27613a327fb8d3d048d1230f679a240ed5ea6abc9761a SHA512 4c1bc7e45cfa1f415bfa6bcee3d6b82246477279b89328a98b8b944dddf7184a515e0733bb868321f63cbcb21fcb7847543a2643c059e6d2e0721c2e66ad4239 +DIST tempora-5.7.1.tar.gz 23234 BLAKE2B 882eef718f7f49b072de62d7bbdd023b11b602c173fd5e156d1b16176f9b5a5976b84966d8d07e2e27a87b49c3f79e7b043102ebb2f4b55f5c65e6ac6e17a5c8 SHA512 58d10ca6bc10994b65db1dc5d90af2446141ac0d7aef11459808c38bac76b775fbeefe11529a6c81d76659b8e2317f6a3de82ea94b300a0dab5596a16a1c7cea +DIST tempora-5.8.0.tar.gz 23019 BLAKE2B 698dfd60181612f95ae5f411af0d909dc966c06250871cebc6ccf46caf9b1212814a15ad57ff00a520c16465a55b7f72fc1de51f0b41626f1c6511511d77adcf SHA512 387c08b2ec9b1f8345835f26a95aa47659399c9b2422168e114b2c28331e0ecdf627d0ba41a0279f3d74cb3da1670e3db918d83ccf9e169d3fc962926b4cfee5 diff --git a/dev-python/tempora/tempora-5.7.1.ebuild b/dev-python/tempora/tempora-5.7.1.ebuild new file mode 100644 index 000000000000..445c29d537df --- /dev/null +++ b/dev-python/tempora/tempora-5.7.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +DESCRIPTION="Objects and routines pertaining to date and time" +HOMEPAGE=" + https://github.com/jaraco/tempora/ + https://pypi.org/project/tempora/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/pytest-freezer[${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 +} diff --git a/dev-python/tempora/tempora-5.8.0.ebuild b/dev-python/tempora/tempora-5.8.0.ebuild new file mode 100644 index 000000000000..445c29d537df --- /dev/null +++ b/dev-python/tempora/tempora-5.8.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +DESCRIPTION="Objects and routines pertaining to date and time" +HOMEPAGE=" + https://github.com/jaraco/tempora/ + https://pypi.org/project/tempora/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/pytest-freezer[${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 +} |
