summaryrefslogtreecommitdiff
path: root/dev-python/time-machine
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-08-06 19:01:31 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-08-06 19:01:31 +0000
commite90296aa40c6416e855f85ee0dbf7cf447cdf1fd (patch)
treec003431e698ae3cb18ed81fba5d2533fd65712fc /dev-python/time-machine
parent20f0b54e2d7710a03c17bdf936e3f1c81a4c2aca (diff)
downloadbaldeagleos-repo-e90296aa40c6416e855f85ee0dbf7cf447cdf1fd.tar.gz
baldeagleos-repo-e90296aa40c6416e855f85ee0dbf7cf447cdf1fd.tar.xz
baldeagleos-repo-e90296aa40c6416e855f85ee0dbf7cf447cdf1fd.zip
Adding metadata
Diffstat (limited to 'dev-python/time-machine')
-rw-r--r--dev-python/time-machine/Manifest1
-rw-r--r--dev-python/time-machine/time-machine-2.17.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/time-machine/Manifest b/dev-python/time-machine/Manifest
index 4029cd618dd3..5b85f573390e 100644
--- a/dev-python/time-machine/Manifest
+++ b/dev-python/time-machine/Manifest
@@ -1 +1,2 @@
DIST time-machine-2.16.0.gh.tar.gz 30522 BLAKE2B 71b1d2848bd0a72d193b262299976da4aeac3deb52776ebcc855dfc9e6eabc8d9459c123980d7b0b9e29bc2df66193f287a4817ec351ae43994b969731da7bc9 SHA512 19b764cccdff07056a7d42841da576d90037661a9f124e3fbab408bfa61dccf4b51b88a7e0741c87b03e7a8cc3306bb0ed32bd66588e45c9ab7e9d9cb5ba44ae
+DIST time-machine-2.17.0.gh.tar.gz 72389 BLAKE2B b1c926c691086bddfefec77b101a0f99404c4d48907ae07e380a4dea2dee42b04543efc357759c10758bd8b2ee1f8989af21fb024d9e4534f4d76d7394a4b582 SHA512 adf7236588daf3362abce6034c1ee3ed60c0533b4340010ad62d83d2480c9082a17653ae1efd2db6bd04b233e33a9fd7e6fc2e8d2fea6fca05c31543e9447c35
diff --git a/dev-python/time-machine/time-machine-2.17.0.ebuild b/dev-python/time-machine/time-machine-2.17.0.ebuild
new file mode 100644
index 000000000000..91c5d443bc86
--- /dev/null
+++ b/dev-python/time-machine/time-machine-2.17.0.ebuild
@@ -0,0 +1,42 @@
+# 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 ~x86"
+
+RDEPEND="
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/tokenize-rt[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( "${PN}" )
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # https://github.com/adamchainz/time-machine/pull/529
+ tests/test_cli.py::TestMain::test_main_help_subprocess
+ tests/test_cli.py::TestMain::test_no_subcommand
+)