[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
92/166: gnu: Add python-untangle.
From: |
guix-commits |
Subject: |
92/166: gnu: Add python-untangle. |
Date: |
Tue, 19 Apr 2022 09:18:02 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 602cbf5f42d57f4d53c832a2b095a6e81beb3f10
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")
- 63/166: gnu: Add psautohint-font-data., (continued)
- 63/166: gnu: Add psautohint-font-data., guix-commits, 2022/04/19
- 66/166: gnu: Add python-xdoctest., guix-commits, 2022/04/19
- 69/166: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/04/19
- 73/166: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/04/19
- 75/166: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/04/19
- 74/166: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/04/19
- 80/166: gnu: Add skia., guix-commits, 2022/04/19
- 83/166: gnu: Add python-compreffor., guix-commits, 2022/04/19
- 87/166: gnu: Add font-sil-ezra., guix-commits, 2022/04/19
- 86/166: gnu: Add font-amiri., guix-commits, 2022/04/19
- 92/166: gnu: Add python-untangle.,
guix-commits <=
- 95/166: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/04/19
- 101/166: gnu: Add python-ipyparallel-bootstrap., guix-commits, 2022/04/19
- 106/166: gnu: Add python-pytest-tornado., guix-commits, 2022/04/19
- 108/166: gnu: python-anyio: Update to 3.5.0., guix-commits, 2022/04/19
- 127/166: gnu: python-websockets: Update to 10.3 and enable tests., guix-commits, 2022/04/19
- 128/166: gnu: Add python-strict-rfc3339., guix-commits, 2022/04/19
- 139/166: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/04/19
- 90/166: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/04/19
- 97/166: gnu: Add python-debugpy., guix-commits, 2022/04/19
- 102/166: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/04/19