diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-08-06 19:01:31 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-08-06 19:01:31 +0000 |
| commit | e90296aa40c6416e855f85ee0dbf7cf447cdf1fd (patch) | |
| tree | c003431e698ae3cb18ed81fba5d2533fd65712fc /dev-python/time-machine/time-machine-2.17.0.ebuild | |
| parent | 20f0b54e2d7710a03c17bdf936e3f1c81a4c2aca (diff) | |
| download | srcux-e90296aa40c6416e855f85ee0dbf7cf447cdf1fd.tar.gz srcux-e90296aa40c6416e855f85ee0dbf7cf447cdf1fd.tar.xz srcux-e90296aa40c6416e855f85ee0dbf7cf447cdf1fd.zip | |
Adding metadata
Diffstat (limited to 'dev-python/time-machine/time-machine-2.17.0.ebuild')
| -rw-r--r-- | dev-python/time-machine/time-machine-2.17.0.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
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 +) |
