diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-26 10:27:32 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-29 00:29:50 +0000 |
| commit | fc4001dc7113f8388163440b18f664bba5807abd (patch) | |
| tree | 94aba2518ebc8d08657178d187bc19a023fd9d67 /gnu/packages/python-xyz.scm | |
| parent | 6ff03751e4bd02ec1facf80aeaf0f666520e052f (diff) | |
gnu: python-arcp: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-arcp):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools.
[synopsis, description]: Improve style.
Change-Id: Ifc32f41b5069fe0466ba66eb12493d477c216b9c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0ce85ba6678..0d9f1fd7e95 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25579,31 +25579,32 @@ and integration into other projects.") (name "python-arcp") (version "0.2.1") (source - (origin - (method url-fetch) - (uri (pypi-uri "arcp" version)) - (sha256 - (base32 - "1p8mfyjssa6pbn5dp6pyzv9yy6kwm2rz5jn2kjbq5vy9f9wsq5sw")))) - (build-system python-build-system) - (native-inputs - (list python-pytest)) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/stain/arcp-py") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wjygci60nmcdrgrhb0vwqmhspzdv3g69x2b92vjxq709ifrpgqp")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) (home-page "https://arcp.readthedocs.io/") - (synopsis - "Archive and Package URI parser and generator") + (synopsis "Archive and Package URI parser and generator") (description "@acronym{arcp, Archive and Package} provides functions for creating - @code{arcp_} URIs, which can be used for identifying or parsing hypermedia files - packaged in an archive or package, like a ZIP file. arcp URIs can be used to - consume or reference hypermedia resources bundled inside a file archive or an - application package, as well as to resolve URIs for archive resources within a - programmatic framework. This URI scheme provides mechanisms to generate a - unique base URI to represent the root of the archive, so that relative URI - references in a bundled resource can be resolved within the archive without - having to extract the archive content on the local file system. An arcp URI can - be used for purposes of isolation (e.g. when consuming multiple archives), - security constraints (avoiding \"climb out\" from the archive), or for - externally identiyfing sub-resources referenced by hypermedia formats.") +@code{arcp_} URIs, which can be used for identifying or parsing hypermedia +files packaged in an archive or package, like a ZIP file. arcp URIs can be +used to consume or reference hypermedia resources bundled inside a file +archive or an application package, as well as to resolve URIs for archive +resources within a programmatic framework. This URI scheme provides +mechanisms to generate a unique base URI to represent the root of the archive, +so that relative URI references in a bundled resource can be resolved within +the archive without having to extract the archive content on the local file +system. An arcp URI can be used for purposes of isolation (e.g. when +consuming multiple archives), security constraints (avoiding \"climb out\" +from the archive), or for externally identiyfing sub-resources referenced by +hypermedia formats.") (license license:asl2.0))) (define-public python-shellescape |
