summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-26 13:07:38 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-29 00:57:05 +0000
commit527e692f863e1f69773acaf1443da7110869e2ac (patch)
tree5f9cc4c87a785dcb84ab779a78069b34929a254e /gnu
parent49bd97fb906975ec1eef8bf5b35959cd9f522784 (diff)
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm31
1 files 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