guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

69/361: gnu: Add python-uri-template.


From: guix-commits
Subject: 69/361: gnu: Add python-uri-template.
Date: Thu, 21 Nov 2024 06:28:51 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit e54c761c2ef636c465b3abb98e659d94f22c3ec3
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 20:17:57 2024 +0200

    gnu: Add python-uri-template.
    
    * gnu/packages/python-xyz.scm (python-uri-template): New variable.
    
    Change-Id: I2ff3995bc5741da0147a335c5f14f169a8001153
---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 20abf63453..6419295948 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13204,6 +13204,35 @@ computing.")
                   texlive-xetex
                   texlive-xindy))))))
 
+(define-public python-uri-template
+  (package
+    (name "python-uri-template")
+    (version "1.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "uri-template" version))
+       (sha256
+        (base32 "1ixczlgnsjv2850r6w0cb2npwcwzdqri8njr1pi7v371cpmzh00f"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:phases
+      '(modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "python3" "test.py")))))))
+    (native-inputs
+     (list python-setuptools
+           python-setuptools-scm
+           python-wheel))
+    (home-page "https://gitlab.linss.com/open-source/python/uri-template";)
+    (synopsis "RFC 6570 URI Template Processor")
+    (description "This packages implements URI Template expansion in strict
+adherence to RFC 6570, but adds a few extensions.")
+    (license license:expat)))
+
 (define-public python-urwid
   (package
     (name "python-urwid")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]