guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 54c542063f1fb447c9a03831d2cfd5bd4800e135
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 26 13:12:22 2025 +0100
gnu: python-onetimepass: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-onetimepass):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: I6d01244eb8bf16e2d88e360477bc99f3f48739fa
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a5fc099f70..89d6c5a7ee 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26982,16 +26982,22 @@ You can simply type pybtex instead of bibtex.")
(version "1.0.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "onetimepass" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tadeck/onetimepass/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "09vagxgbq78wvq4xbikmn2hpqqsa2i96kqsmphf7dqynfv0dlsd5"))))
- (build-system python-build-system)
+ (base32 "0wmv62l3r8r4428gdzyj80lhgadfqvj220khz1wnm9alyzg60wkh"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ; Requires unpackaged timecop.
+ (native-inputs (list python-setuptools))
(propagated-inputs (list python-six))
(home-page "https://github.com/tadeck/onetimepass/")
(synopsis "One-time password library")
- (description "Python one-time password library for HMAC-based (HOTP) and
-time-based (TOTP) passwords.")
+ (description
+ "Python one-time password library for HMAC-based (HOTP) and time-based
+(TOTP) passwords.")
(license license:expat)))
(define-public python-online-judge-api-client