summaryrefslogtreecommitdiff
path: root/dev-python/time-machine/time-machine-2.14.1.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-23 14:19:49 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-23 14:19:49 +0000
commit2ed653bf78da5910c2e335afbc2fac089f2f57b0 (patch)
tree43a4234ef939d20c69d281de0a7d890e3f343d05 /dev-python/time-machine/time-machine-2.14.1.ebuild
parent6958baae8a3ca94ae5a13ce8099b2f07d5001fce (diff)
downloadsrcux-2ed653bf78da5910c2e335afbc2fac089f2f57b0.tar.gz
srcux-2ed653bf78da5910c2e335afbc2fac089f2f57b0.tar.xz
srcux-2ed653bf78da5910c2e335afbc2fac089f2f57b0.zip
Adding metadata
Diffstat (limited to 'dev-python/time-machine/time-machine-2.14.1.ebuild')
-rw-r--r--dev-python/time-machine/time-machine-2.14.1.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/time-machine/time-machine-2.14.1.ebuild b/dev-python/time-machine/time-machine-2.14.1.ebuild
new file mode 100644
index 000000000000..60433b312a53
--- /dev/null
+++ b/dev-python/time-machine/time-machine-2.14.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022-2024 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_{8,9,10,11,12} )
+
+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 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest