diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-05 23:58:01 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-05 23:58:33 +0000 |
| commit | 02fcd10fdb403c4c165ead89f4ee51dc112d1d4b (patch) | |
| tree | 10d814c45bdd8a9683ff1fe1cd2b0e8936d702eb /gnu | |
| parent | 426642229f3d0862bc3900d8ee071a4f5504cec6 (diff) | |
gnu: python-glom: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-glom)[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Drop all.
[native-inputs]: Add python-setuptools.
Change-Id: I58d68a25f91af1cb12a6fdd5a3fb029177c48f06
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 64e7222ae9e..b160c4b97b9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -34444,26 +34444,22 @@ command-line applications. (version "24.11.0") (source (origin - (method url-fetch) - (uri (pypi-uri "glom" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/mahmoud/glom") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "09xv44h1sri9fc2sp2h3nqg8rba4p86vvimnyx5084m9b5kzj9a3")))) - (build-system python-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - ;; Make installed executable available for running the tests. - (setenv "PATH" - (string-append (assoc-ref outputs "out") "/bin" - ":" (getenv "PATH"))) - (invoke "pytest" "-v"))))))) + (base32 "0vjj6wjxzms947nvbxrlz2cyn0m6483p1laqvcwr8fc117nzary0")))) + (build-system pyproject-build-system) (native-inputs - (list python-pytest python-pyyaml)) + (list python-pytest + python-pyyaml + python-setuptools)) (propagated-inputs - (list python-attrs python-boltons python-face)) + (list python-attrs + python-boltons + python-face)) (home-page "https://github.com/mahmoud/glom") (synopsis "Declaratively restructure data") (description "Real applications have real data, and real data |
