diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-12 20:05:45 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-13 12:00:50 +0100 |
| commit | 65c15f0af83a6e5eef8cded6993edc1fe7e7d471 (patch) | |
| tree | c51efecfc5556934761cb7bf3723e75e712cca92 /gnu/packages/python-xyz.scm | |
| parent | 1e98883e8e5961eedcf0e8a886757781a71ac47a (diff) | |
gnu: python-norns: Switch to pyproject.
* gnu/packages/patches/python-norns-nose.patch: New file.
* gnu/local.mk: Record patch.
* gnu/packages/python-xyz.scm (python-norns):
[source]: Switch to git-fetch. Add patch.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Remove python-setuptools, replace python-nose by
python-pynose.
[native-inputs]: Add python-setuptools. Remove python-wheel.
Change-Id: Idf13cbf9cb1b224d4e502a5ebd8573540604eeed
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 78555ed5f70..d9a7c320e90 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11187,16 +11187,20 @@ parser for Node.js.") (package (name "python-norns") (version "0.1.6") - (source (origin - (method url-fetch) - (uri (pypi-uri "norns" version)) - (sha256 - (base32 - "1r1lcq59v6l75wkbp7mypanr69a6fv6m58v6dw3v6b4vwz5nqg0z")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/simonvh/norns") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0x488xd2dp1clnzpb3gikx416g0fh1bjs25bwi0jmsvqmd80hmb0")) + (patches + (search-patches "python-norns-nose.patch")))) (build-system pyproject-build-system) - (propagated-inputs (list python-appdirs python-nose python-pyyaml - python-setuptools)) - (native-inputs (list python-wheel)) + (propagated-inputs (list python-appdirs python-pynose python-pyyaml)) + (native-inputs (list python-setuptools)) (home-page "https://github.com/simonvh/norns") (synopsis "Simple YAML-based config module") (description "This package provides a simple YAML-based config module.") |
