From 527e692f863e1f69773acaf1443da7110869e2ac Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 26 Oct 2025 13:07:38 +0100 Subject: [PATCH] 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 --- gnu/packages/python-xyz.scm | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0047d443804..a5fc099f709 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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