guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 4b71f8e7a666ed22f2df34c4fa41dffe52bcff56
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Oct 25 17:05:37 2025 +0200
gnu: python-isbnlib: Update to 3.10.14.
* gnu/packages/python-xyz.scm (python-isbnlib): Update to 3.10.14.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Ignore network-dependent tests.
[native-inputs]: Add python-pytest-cov, python-setuptools.
[description]: Improve style.
Change-Id: Id31784a81dce7987c24eb9806464659627141303
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 28 +++++++++++++++++-----------
1 file changed, 17 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 632a4448c2..be90db45b1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24648,22 +24648,28 @@ builds partial trees by inspecting living objects.")
(define-public python-isbnlib
(package
(name "python-isbnlib")
- (version "3.10.4")
+ (version "3.10.14")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "isbnlib" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xlcnd/isbnlib")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "0iin0x2xqwyphyyzd0mzrq5v5xm7b6dlbb294k4dywra5qvbrgzm"))))
- (build-system python-build-system)
- (arguments '(#:tests? #f)) ; No test
+ (base32 "07vpq8y0mn16489d1pl4zxgczgl1s2ydli4lci7f73z4zv179akp"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags #~(list "-m" "not network")))
+ (native-inputs (list python-pytest python-pytest-cov python-setuptools))
(home-page "https://github.com/xlcnd/isbnlib")
(synopsis "Python library to work with ISBN strings")
- (description "@code{python-isbnlib} is a (pure) python library that
provides
- several useful methods and functions to validate, clean, transform,
hyphenate and
- get metadata for ISBN strings. Its origin was as the core of isbntools.
This short
- version, is suitable to be include as a dependency in other projects.")
+ (description
+ "@code{python-isbnlib} is a (pure) python library that provides several
+useful methods and functions to validate, clean, transform, hyphenate and get
+metadata for ISBN strings. Its origin was as the core of isbntools. This
+short version, is suitable to be include as a dependency in other projects.")
(license license:lgpl3+)))
(define-public python-isoduration