~ruther/guix-local

4b71f8e7a666ed22f2df34c4fa41dffe52bcff56 — Nicolas Graves 4 months ago f29e074
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>
1 files changed, 17 insertions(+), 11 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +17 -11
@@ 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