[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
92/232: gnu: Add python-untangle.
From: |
guix-commits |
Subject: |
92/232: gnu: Add python-untangle. |
Date: |
Sun, 24 Apr 2022 23:58:52 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 209e282ad1607530a00cd2376b0eaaca3a271dd2
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")
- 117/232: gnu: python-notebook: Update to 6.4.10., (continued)
- 117/232: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/04/24
- 120/232: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/04/24
- 121/232: gnu: Add python-pep621., guix-commits, 2022/04/24
- 126/232: gnu: Add texlive-cbfonts-fd., guix-commits, 2022/04/24
- 128/232: download: Add a mirror for CTAN., guix-commits, 2022/04/24
- 130/232: gnu: Add texlive-cm-lgc., guix-commits, 2022/04/24
- 131/232: gnu: Add texlive-xindy., guix-commits, 2022/04/24
- 133/232: gnu: python-websockets: Update to 10.3 and enable tests., guix-commits, 2022/04/24
- 78/232: gnu: Add python-afdko., guix-commits, 2022/04/24
- 88/232: gnu: Add texlive-bidi., guix-commits, 2022/04/24
- 92/232: gnu: Add python-untangle.,
guix-commits <=
- 93/232: gnu: python-black: Update to 22.3.0., guix-commits, 2022/04/24
- 105/232: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/04/24
- 110/232: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/04/24
- 119/232: gnu: Add python-docrepr., guix-commits, 2022/04/24
- 145/232: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/04/24
- 171/232: gnu: python-cmarkgfm: Update to 0.8.0., guix-commits, 2022/04/24
- 178/232: gnu: python-amqp: Update to 5.1.1 and enable tests., guix-commits, 2022/04/24
- 180/232: gnu: python-celery: Update to 5.2.6 and enable tests., guix-commits, 2022/04/24
- 181/232: gnu: Add python-argparse-addons., guix-commits, 2022/04/24
- 185/232: gnu: python-multipart: Fix build with PyYAML 6., guix-commits, 2022/04/24