From 7d9eb353bb93a2ac6fe8acf388ef1207458df812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 19 Nov 2025 05:13:13 +0100 Subject: [PATCH] dev-python/time-machine: Bump to 3.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/time-machine/Manifest | 1 + .../time-machine/time-machine-3.0.0.ebuild | 35 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 dev-python/time-machine/time-machine-3.0.0.ebuild diff --git a/dev-python/time-machine/Manifest b/dev-python/time-machine/Manifest index 96a1cbe677b5..2865b664faa4 100644 --- a/dev-python/time-machine/Manifest +++ b/dev-python/time-machine/Manifest @@ -1,2 +1,3 @@ DIST time-machine-2.16.0.gh.tar.gz 30522 BLAKE2B 71b1d2848bd0a72d193b262299976da4aeac3deb52776ebcc855dfc9e6eabc8d9459c123980d7b0b9e29bc2df66193f287a4817ec351ae43994b969731da7bc9 SHA512 19b764cccdff07056a7d42841da576d90037661a9f124e3fbab408bfa61dccf4b51b88a7e0741c87b03e7a8cc3306bb0ed32bd66588e45c9ab7e9d9cb5ba44ae DIST time-machine-2.19.0.gh.tar.gz 78404 BLAKE2B 3682f71881c6ca619269a827fb6b0bb4af27deef42a128e67784cfbec92f73523463f25341b1afaf92591578d4ec50e75593cba54b663cae120188b35918ce91 SHA512 1efa686a0b647cede3ee20a89bfe03b1be7b97042a3e75939fa26665f8a781c99bc96f98fdbeeedba6e5ca62521f9e7283a82af25e412c17099235e84c64eed6 +DIST time-machine-3.0.0.gh.tar.gz 75674 BLAKE2B 5111bf4bc2de87ad94b3bbb017ba4f4877eb5ddd9998110cc49071dbcfe0b966f6e4726a3a5c9192e0ddd79fb7279d2d3ecb2df9d745e6d8186bc473efbfac34 SHA512 ac40d598810124555c68abf5d286e5ae42669294f912fa2967e2088edea1544b11cd9f4f64d60d4ad8c256be0db151b30976baf665d7d1cd6362af6c85a239c4 diff --git a/dev-python/time-machine/time-machine-3.0.0.ebuild b/dev-python/time-machine/time-machine-3.0.0.ebuild new file mode 100644 index 000000000000..d8f4d4ec2263 --- /dev/null +++ b/dev-python/time-machine/time-machine-3.0.0.ebuild @@ -0,0 +1,35 @@ +# 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/tokenize-rt[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" ) +distutils_enable_tests pytest