summaryrefslogtreecommitdiff
path: root/dev-python/time-machine/time-machine-2.8.2.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-11-30 21:46:38 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-11-30 21:46:38 +0000
commit8013b23acdcb5a9a4d06a8281630dbc0f0157810 (patch)
treee2730c78688dae9418790abdd2de37b7f6953538 /dev-python/time-machine/time-machine-2.8.2.ebuild
parent3d11ac0ba270a5eb4496122c61eba9bee82dd877 (diff)
downloadsrcux-8013b23acdcb5a9a4d06a8281630dbc0f0157810.tar.gz
srcux-8013b23acdcb5a9a4d06a8281630dbc0f0157810.tar.xz
srcux-8013b23acdcb5a9a4d06a8281630dbc0f0157810.zip
Adding metadata
Diffstat (limited to 'dev-python/time-machine/time-machine-2.8.2.ebuild')
-rw-r--r--dev-python/time-machine/time-machine-2.8.2.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/time-machine/time-machine-2.8.2.ebuild b/dev-python/time-machine/time-machine-2.8.2.ebuild
new file mode 100644
index 000000000000..e46976f6f11d
--- /dev/null
+++ b/dev-python/time-machine/time-machine-2.8.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022 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"
+
+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