summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2025-12-18 08:48:36 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-18 21:46:23 +0000
commit58805ac41451e9cb5e17fae48c5cd0262607fbee (patch)
tree1e1f81e9c60bb1a0dd32798612a3c9ea9efbb155 /gnu/packages/python-xyz.scm
parent902de8475bfad924ce8439fc71b0f3670f1d32cc (diff)
gnu: python-pyld: Switch to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-pyld): Switch to pyproject-build-system. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable tests for now. [propagated-inputs]: Add python-aiohttp and python-requests. [native-inputs]: Add python-setuptools. Change-Id: I072f5210a1bbb0e9c3c38747b682cc3fb9ce575c Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm25
1 files changed, 19 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 57fefa70ea4..9357cce27ef 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7784,13 +7784,26 @@ files.")
(version "2.0.4")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "PyLD" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/digitalbazaar/pyld")
+ ;; Not all tags have the 'v' prefix.
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1k7ars8n6kramkvadxgy0qfsi5g1hipyha4wqw8l75mw1l7ka7ii"))))
- (build-system python-build-system)
- (native-inputs (list python-lxml))
- (propagated-inputs (list python-cachetools python-frozendict))
+ (base32 "12lb4vk7m5y5943fm4r8hixdvlxh6qm21pbv7aalsbpfw8cc18sw"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; TODO: Commit history shows next version (>2.0.4) will have pytest tests.
+ (list #:tests? #f))
+ (native-inputs
+ (list python-lxml
+ python-setuptools))
+ (propagated-inputs
+ (list python-aiohttp
+ python-cachetools
+ python-frozendict
+ python-requests))
(home-page "https://github.com/digitalbazaar/pyld")
(synopsis "Python implementation of the JSON-LD specification")
(description "PyLD is an implementation of the JSON-LD specification.")