~ruther/guix-local

527e692f863e1f69773acaf1443da7110869e2ac — Nicolas Graves 3 months ago 49bd97f
gnu: python-pybtex: Update to 0.25.0.

* gnu/packages/python-xyz.scm (python-pybtex): Update to 0.25.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Drop them.
[native-inputs]: Add python-setuptools.  Remove python-six.
[description]: Improve style.

Change-Id: I32ee2f905fbc182e646d77355ebe824dc4de1e96
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 13 insertions(+), 18 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +13 -18
@@ 26930,29 26930,24 @@ close matches in Python.")
(define-public python-pybtex
  (package
    (name "python-pybtex")
    (version "0.24.0")
    (version "0.25.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "pybtex" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://codeberg.org/pybtex/pybtex")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0ma7sc10hk6caq5zghbk865vrlaynz7x5z630z0facqpnqssx3l1"))))
    (build-system python-build-system)
    (native-inputs
     (list python-pytest))
    (propagated-inputs
     (list python-latexcodec python-pyyaml python-six))
    (arguments
     (list
      #:phases #~(modify-phases %standard-phases
                   (replace 'check
                     (lambda* (#:key tests? #:allow-other-keys)
                       (when tests?
                         (invoke "pytest")))))))
        (base32 "12rixrciizlvdxxja7qm6c02yzyslzd0jcv07niaii1ly0dg1fq4"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-pytest python-setuptools))
    (propagated-inputs (list python-latexcodec python-pyyaml))
    (home-page "https://pybtex.org/")
    (synopsis "BibTeX-compatible bibliography processor")
    (description "Pybtex is a BibTeX-compatible bibliography processor written
in Python.  You can simply type pybtex instead of bibtex.")
    (description
     "Pybtex is a BibTeX-compatible bibliography processor written in Python.
You can simply type pybtex instead of bibtex.")
    (license license:expat)))

(define-public python-pybtex-apa-style