summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-25 17:05:37 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-29 00:05:48 +0000
commit4b71f8e7a666ed22f2df34c4fa41dffe52bcff56 (patch)
tree3456928b5d7d5950b919c705b4f2e08b1769e39f /gnu/packages/python-xyz.scm
parentf29e074e0e9c5560e95099375227a6e25ceff214 (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm28
1 files changed, 17 insertions, 11 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 632a4448c27..be90db45b1e 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