[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/19: gnu: Add python-translitcodec.
From: |
Christopher Allan Webber |
Subject: |
17/19: gnu: Add python-translitcodec. |
Date: |
Mon, 15 Feb 2016 19:24:29 +0000 |
cwebber pushed a commit to branch wip-mediagoblin
in repository guix.
commit dc1d6d2a1dd76a63df00088a177a5838173104d5
Author: Christopher Allan Webber <address@hidden>
Date: Sun Feb 14 16:23:11 2016 -0800
gnu: Add python-translitcodec.
* gnu/packages/python.scm (python-translitcodec, python2-translitcodec):
New variables.
---
gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 296c4f7..99afa75 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8043,3 +8043,35 @@ synchronously (wait until ready).")
("python2-unittest2" ,python2-unittest2)
("python2-mock" ,python2-mock)
,@(package-native-inputs celery))))))
+
+(define-public python-translitcodec
+ (package
+ (name "python-translitcodec")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "translitcodec" version))
+ (sha256
+ (base32
+ "10x6pvblkzky1zhjs8nmx64nb9jdzxad4bxhq4iwv0j4z2aqjnki"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; no tests provided
+ (home-page
+ "https://github.com/claudep/translitcodec")
+ (synopsis
+ "Unicode to 8-bit charset transliteration codec")
+ (description
+ "This package contains codecs for transliterating ISO 10646 texts into
+best-effort representations using smaller coded character sets (ASCII,
+ISO 8859, etc.). The translation tables used by the codecs are from
+the 'transtab' collection by Markus Kuhn.")
+ (license expat)
+ (properties `((python2-variant . ,(delay python2-translitcodec))))))
+
+(define-public python2-translitcodec
+ (package
+ (inherit (package-with-python2
+ (strip-python2-variant python-translitcodec)))
+ (inputs `(("python2-setuptools" ,python2-setuptools)))))
- 07/19: gnu: Add python-waitress., (continued)
- 07/19: gnu: Add python-waitress., Christopher Allan Webber, 2016/02/15
- 08/19: gnu: Add python-wsgiproxy2., Christopher Allan Webber, 2016/02/15
- 09/19: gnu: Add python-pastedeploy, Christopher Allan Webber, 2016/02/15
- 10/19: gnu: Add python-pyquery, Christopher Allan Webber, 2016/02/15
- 11/19: gnu: Add python-webtest., Christopher Allan Webber, 2016/02/15
- 12/19: gnu: Add python-anyjson., Christopher Allan Webber, 2016/02/15
- 13/19: gnu: Add python-amqp., Christopher Allan Webber, 2016/02/15
- 14/19: gnu: Add python-kombu., Christopher Allan Webber, 2016/02/15
- 15/19: gnu: Add python-billiard., Christopher Allan Webber, 2016/02/15
- 16/19: gnu: Add python2-celery., Christopher Allan Webber, 2016/02/15
- 17/19: gnu: Add python-translitcodec.,
Christopher Allan Webber <=
- 18/19: gnu: Add python-editor., Christopher Allan Webber, 2016/02/15
- 19/19: gnu: Add mediagoblin., Christopher Allan Webber, 2016/02/15