repo/gentoo:master commit in: dev-python/time-machine/

Michał Górny <[email protected]> Wed, 05 Aug 2026 02:13:35 +0000 (UTC)
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1785894941.603d7be84291cd2ae235d09ec2cd4bc2aa6999f2.mgorny@gentoo>
commit:     603d7be84291cd2ae235d09ec2cd4bc2aa6999f2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  5 01:48:05 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug  5 01:55:41 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=603d7be8

dev-python/time-machine: Bump to 3.3.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/time-machine/Manifest                  |  1 +
 dev-python/time-machine/time-machine-3.3.1.ebuild | 36 +++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-python/time-machine/Manifest b/dev-python/time-machine/Manifest
index 7c9a57613faf..a2d15a5653de 100644
--- a/dev-python/time-machine/Manifest
+++ b/dev-python/time-machine/Manifest
@@ -1,2 +1,3 @@
 DIST time-machine-3.2.0.gh.tar.gz 85884 BLAKE2B dc771f17c8089a6f121cf99ad8dcf5f0e9aaec345dbdfb0be4ccfc9123b10561cebc116dd9db6d1b4c939cf49fa80e16d8be75e9adfe394ad5392dc1dfe2c12c SHA512 84ff8d2e9c9bdde90efe3548bc151f38f812a4ba624cc9556dd2a89f72d664d73dca8be64a65ca2a5019393e5a8f91e130804313685b23dccc4932a9e05f973b
 DIST time-machine-3.3.0.gh.tar.gz 97144 BLAKE2B e1bc1dd87196a060ff55ab92f720e47bb4d66a4475863cfd6e53d7e18bc3d8c80c9df1fb7be70f93d5282287a95676b66a9542d6662a3c43729c8619adf60102 SHA512 593910cb9690c413724babd1d86547515bbcd4291683dd06a2181b6900c67893b8d97f7345f7e1f76349ea7fdd4840a093245131cf2462a1780db345acc5c182
+DIST time-machine-3.3.1.gh.tar.gz 106731 BLAKE2B 2bfa1278325a8e09b5ce98b9b16fcbe6bc783d0ee45713f341815c12fb0e573d52d5595b2e542139b940cc1136d173c2260523193eaa8a653da5288ab5136904 SHA512 29db83914ffdce0a00a6f84bf4638c1ccaf7d4a3d85e9423cb0b9c5700ee89d11710e754bfb448fde5e9a4cb8acb455143c0896af8ca34919296c06cd1380fe6

diff --git a/dev-python/time-machine/time-machine-3.3.1.ebuild b/dev-python/time-machine/time-machine-3.3.1.ebuild
new file mode 100644
index 000000000000..a7b6e802cead
--- /dev/null
+++ b/dev-python/time-machine/time-machine-3.3.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022-2026 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_{12..15} python3_{14..15}t )
+
+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 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+BDEPEND="
+	test? (
+		dev-python/freezegun[${PYTHON_USEDEP}]
+		dev-python/python-dateutil[${PYTHON_USEDEP}]
+		dev-python/tokenize-rt[${PYTHON_USEDEP}]
+	)
+"
+
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
+EPYTEST_PLUGINS=( "${PN}" hypothesis )
+distutils_enable_tests pytest