summaryrefslogtreecommitdiff
path: root/dev-python/time-machine/time-machine-2.18.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-08-19 20:57:12 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-08-19 20:57:12 +0000
commitdceb2d4b615c2300017aa284ad1a2c1ee5764f44 (patch)
tree6143857aba9c8951f209e84e359bc38b6c133265 /dev-python/time-machine/time-machine-2.18.0.ebuild
parent54dc1fa03108b68ccdb0f9dbc8f627cd51a4b09e (diff)
downloadsrcux-dceb2d4b615c2300017aa284ad1a2c1ee5764f44.tar.gz
srcux-dceb2d4b615c2300017aa284ad1a2c1ee5764f44.tar.xz
srcux-dceb2d4b615c2300017aa284ad1a2c1ee5764f44.zip
Adding metadata
Diffstat (limited to 'dev-python/time-machine/time-machine-2.18.0.ebuild')
-rw-r--r--dev-python/time-machine/time-machine-2.18.0.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/time-machine/time-machine-2.18.0.ebuild b/dev-python/time-machine/time-machine-2.18.0.ebuild
new file mode 100644
index 000000000000..432482a180fc
--- /dev/null
+++ b/dev-python/time-machine/time-machine-2.18.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Travel through time in your tests"
+HOMEPAGE="
+ https://github.com/adamchainz/time-machine/
+ https://pypi.org/project/time-machine/
+"
+SRC_URI="
+ https://github.com/adamchainz/time-machine/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/tokenize-rt[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( "${PN}" )
+distutils_enable_tests pytest