From e90296aa40c6416e855f85ee0dbf7cf447cdf1fd Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 6 Aug 2025 19:01:31 +0000 Subject: Adding metadata --- dev-python/time-machine/time-machine-2.17.0.ebuild | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 dev-python/time-machine/time-machine-2.17.0.ebuild (limited to 'dev-python/time-machine/time-machine-2.17.0.ebuild') 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 +) -- cgit v1.3