summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-08 14:54:37 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-11 16:02:05 +0000
commitae2e089b5a23c1a721e43819e6feb9c3b664907b (patch)
treee95a93c5a7f17334c94e0810454d5889155a03a1 /gnu/packages/python-xyz.scm
parenta5c32a958bee257dfb64cf80ca08d134b64c0eff (diff)
gnu: python-bibtexparser: Update to 2.0.0b8.
* gnu/packages/python-xyz.scm (python-bibtexparser): Update to 2.0.0b8. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Remove python-future. Add python-pylatexenc, python-pytest and python-setuptools. (python-bibtexparser-for-cobib): New variable. * gnu/packages/textutils.scm (cobib)[propagated-inputs]: Remove python-bibtexparser; add python-bibtexparser-for-cobib. Change-Id: I924fba9ccf9487dea6409fb4d1e1d69ab026c130 Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm38
1 files changed, 29 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0d55ed3e35b..4f33bdf5480 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28837,21 +28837,41 @@ for manual interpretation.")
(define-public python-bibtexparser
(package
(name "python-bibtexparser")
- (version "1.4.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "bibtexparser" version))
- (sha256
- (base32
- "1rmc178qqb8814v3pcfv4qgl8rxmkd11d56limkqmi776jyf4z6a"))))
- (build-system python-build-system)
+ (version "2.0.0b8")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sciunto-org/python-bibtexparser")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "065b6267ygphacfc9aawckv0yz9x3pzd4ivdbsr8cla3zs3lqzg7"))))
+ (build-system pyproject-build-system)
(propagated-inputs (list python-pyparsing))
- (native-inputs (list python-future))
+ (native-inputs
+ (list python-pylatexenc python-pytest python-setuptools))
(home-page "https://github.com/sciunto-org/python-bibtexparser")
(synopsis "Python library to parse BibTeX files")
(description "BibtexParser is a Python library to parse BibTeX files.")
(license (list license:bsd-3 license:lgpl3))))
+(define-public python-bibtexparser-for-cobib
+ (hidden-package
+ (package
+ (inherit python-bibtexparser)
+ (name "python-bibtexparser")
+ (version "1.4.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sciunto-org/python-bibtexparser")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0zrgfgmh37m9frq528vy66p2fhlxzrxyhj0inc6qwg0m717w9zbl")))))))
+
(define-public python-distro
(package
(name "python-distro")