[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/397: gnu: Add python-time-machine.
From: |
guix-commits |
Subject: |
11/397: gnu: Add python-time-machine. |
Date: |
Thu, 16 Jan 2025 04:29:46 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit 9705defc074721945992e96fc12cc9c5ae29f92f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Dec 16 16:43:43 2024 +0100
gnu: Add python-time-machine.
* gnu/packages/python-check.scm (python-time-machine): New variable.
Change-Id: I5fce1caf7e659ae349de765a31cc78195d16d703
---
gnu/packages/python-check.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 047edfd526..60345ff350 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -56,6 +56,7 @@
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
+ #:use-module (gnu packages time)
#:use-module (gnu packages version-control)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
@@ -2939,6 +2940,24 @@ Python environments, similar to @code{tox}. Unlike tox,
Nox uses a standard
Python file for configuration.")
(license license:asl2.0)))
+(define-public python-time-machine
+ (package
+ (name "python-time-machine")
+ (version "2.16.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "time_machine" version))
+ (sha256
+ (base32 "1qn7cj9lx3m7pwa8ak1106f9c54yvpa996x84gfqmyfjfg1ar6aa"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-dateutil))
+ (native-inputs (list python-setuptools python-wheel))
+ (home-page "https://github.com/adamchainz/time-machine")
+ (synopsis "Travel through time in your tests.")
+ (description "This package lets you set a different time for your tests.")
+ (license license:expat)))
+
(define-public python-tox
(package
(name "python-tox")
- 15/397: gnu: python-numcodecs: Update to 0.13.1., (continued)
- 15/397: gnu: python-numcodecs: Update to 0.13.1., guix-commits, 2025/01/16
- 07/397: gnu: python-cachetools: Update to 5.5.0., guix-commits, 2025/01/16
- 17/397: gnu: Add python-legacy-cgi., guix-commits, 2025/01/16
- 08/397: gnu: python-pyproject-api: Update to 1.8.0., guix-commits, 2025/01/16
- 16/397: gnu: Add python-repoze-lru., guix-commits, 2025/01/16
- 05/397: gnu: python-pyramid: Update to 2.0.2., guix-commits, 2025/01/16
- 18/397: gnu: Add python-packaging-legacy., guix-commits, 2025/01/16
- 20/397: gnu: Add python-pypitoken., guix-commits, 2025/01/16
- 26/397: gnu: python-webcolors: Update to 24.11.1., guix-commits, 2025/01/16
- 12/397: gnu: python-pytest-subprocess: Update to 1.5.2., guix-commits, 2025/01/16
- 11/397: gnu: Add python-time-machine.,
guix-commits <=
- 25/397: gnu: python-tox: Update to 4.23.2., guix-commits, 2025/01/16
- 27/397: gnu: python-biom-format: Use pyproject-build-system., guix-commits, 2025/01/16
- 32/397: gnu: python-platformdirs: Update to 4.3.6., guix-commits, 2025/01/16
- 35/397: gnu: python-devtools: Simplify., guix-commits, 2025/01/16
- 29/397: gnu: python-extension-helpers: Update to 1.2.0., guix-commits, 2025/01/16
- 38/397: gnu: python-httpx: Update to 0.28.1., guix-commits, 2025/01/16
- 40/397: gnu: python-a2wsgi: Disable one test., guix-commits, 2025/01/16
- 47/397: gnu: python-email-validator: Update to 2.2.0., guix-commits, 2025/01/16
- 48/397: gnu: linkchecker: Update to 10.5.0., guix-commits, 2025/01/16
- 49/397: gnu: python-gast: Update to 0.6.0., guix-commits, 2025/01/16