[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
92/242: gnu: Add python-untangle.
From: |
guix-commits |
Subject: |
92/242: gnu: Add python-untangle. |
Date: |
Thu, 12 May 2022 14:14:12 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit bd1f8cdf52c8a93630015d70281817a8cae1aa39
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Apr 10 21:15:03 2022 -0400
gnu: Add python-untangle.
* gnu/packages/xml.scm (python-untangle): New variable.
---
gnu/packages/xml.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index db004c11b6..a0d8d20102 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -72,6 +72,7 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages web)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -2544,6 +2545,35 @@ libxml2 and libxslt.")
(define-public python2-lxml
(package-with-python2 python-lxml))
+(define-public python-untangle
+ ;; The latest tagged release is from 2014; use the latest commit.
+ (let ((revision "1")
+ (commit "fb916a9621175d000a3b0ca9322d3b3ebf8570c0"))
+ (package
+ (name "python-untangle")
+ ;; PyPI currently offers some untagged 1.1.1 version.
+ (version (git-version "1.1.1" revision commit))
+ (source
+ (origin
+ (method git-fetch) ;no tests in pypi archive
+ (uri (git-reference
+ (url "https://github.com/stchris/untangle")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0dn2jz9ajncbqx3pdlgqaxmngl6pdiaz03nj8mkddasckdq9lbrh"))))
+ (build-system python-build-system)
+ (arguments (list #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests?
#:allow-other-keys)
+ (when tests?
+ (invoke "python"
"tests/tests.py")))))))
+ (home-page "http://0chris.com/untangle")
+ (synopsis "XML to Python objects conversion library")
+ (description "@code{untangle} is a tiny Python library which converts an
+XML document to a Python object.")
+ (license license:expat))))
+
(define-public python-xmlschema
(package
(name "python-xmlschema")
- 225/242: gnu: python-sphinxext-opengraph: Update to 0.6.3., (continued)
- 225/242: gnu: python-sphinxext-opengraph: Update to 0.6.3., guix-commits, 2022/05/12
- 226/242: gnu: python-sphinx-rtd-theme: Update to 1.0.0., guix-commits, 2022/05/12
- 57/242: gnu: Add python-pip-run., guix-commits, 2022/05/12
- 10/242: gnu: python-ipython: Update to 8.2.0 [fixes CVE-2022-21699]., guix-commits, 2022/05/12
- 19/242: gnu: Add python-pcpp., guix-commits, 2022/05/12
- 36/242: gnu: Add python-types-toml., guix-commits, 2022/05/12
- 45/242: gnu: Add python-path-bootstrap., guix-commits, 2022/05/12
- 58/242: gnu: Add python-tempora., guix-commits, 2022/05/12
- 75/242: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/05/12
- 81/242: gnu: Add python-skia-pathops., guix-commits, 2022/05/12
- 92/242: gnu: Add python-untangle.,
guix-commits <=
- 107/242: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/05/12
- 84/242: gnu: Add python-ufo2ft., guix-commits, 2022/05/12
- 80/242: gnu: Add skia., guix-commits, 2022/05/12
- 99/242: gnu: Add python-pytest-forked-next., guix-commits, 2022/05/12
- 119/242: gnu: Add python-docrepr., guix-commits, 2022/05/12
- 128/242: download: Add a mirror for CTAN., guix-commits, 2022/05/12
- 136/242: gnu: Add python-openapi-schema-validator., guix-commits, 2022/05/12
- 237/242: gnu: python-pytest-sanic: Update to 1.9.1., guix-commits, 2022/05/12
- 142/242: gnu: python-httpx: Update to 0.22.0., guix-commits, 2022/05/12
- 144/242: gnu: Add python-socksio., guix-commits, 2022/05/12