summaryrefslogtreecommitdiff
path: root/dev-python/time-machine/time-machine-2.9.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-01-01 12:31:29 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-01-01 12:31:29 +0000
commitf4943794bc53fab0d5ea3773100e06e34e7ed017 (patch)
tree45d665d1587cc344f4d79ee34028291c0418661b /dev-python/time-machine/time-machine-2.9.0.ebuild
parent30669ead0378446d21b38cb86b57e1679ec2c7cd (diff)
downloadsrcux-f4943794bc53fab0d5ea3773100e06e34e7ed017.tar.gz
srcux-f4943794bc53fab0d5ea3773100e06e34e7ed017.tar.xz
srcux-f4943794bc53fab0d5ea3773100e06e34e7ed017.zip
Adding metadata
Diffstat (limited to 'dev-python/time-machine/time-machine-2.9.0.ebuild')
-rw-r--r--dev-python/time-machine/time-machine-2.9.0.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/time-machine/time-machine-2.9.0.ebuild b/dev-python/time-machine/time-machine-2.9.0.ebuild
new file mode 100644
index 000000000000..288185a4378e
--- /dev/null
+++ b/dev-python/time-machine/time-machine-2.9.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{7,8,9,10,11} )
+
+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="~amd64 ~ppc"
+
+RDEPEND="
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ $(python_gen_cond_dep '
+ dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
+ ' 3.8)
+ )
+"
+
+distutils_enable_tests pytest