diff options
author | Eric Bavier <bavier@member.fsf.org> | 2014-11-20 22:36:34 -0600 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2014-12-02 08:35:06 -0600 |
commit | ea5456c88cc79809035f2e95769aec96cb733095 (patch) | |
tree | b3e2aac50eb9377a0b7f962d62211b97cabb90b1 | |
parent | 1671c07cc713525bd91d5e0a704e01b5d423c0ba (diff) | |
download | patches-ea5456c88cc79809035f2e95769aec96cb733095.tar patches-ea5456c88cc79809035f2e95769aec96cb733095.tar.gz |
gnu: Add python-elib.intl.
* gnu/packages/python.scm (python-elib.intl, python2-elib.intl): New
variables.
-rw-r--r-- | gnu/packages/python.scm | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d024c1c360..3b0e97e8fc 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -24,7 +24,7 @@ (define-module (gnu packages python) #:use-module ((guix licenses) #:select (asl2.0 bsd-3 bsd-2 bsd-style cc0 expat x11 x11-style - gpl2 gpl2+ gpl3+ lgpl2.0+ lgpl2.1+ + gpl2 gpl2+ gpl3+ lgpl2.0+ lgpl2.1+ lgpl3+ psfl public-domain)) #:use-module ((guix licenses) #:select (zlib) #:prefix license:) #:use-module (gnu packages) @@ -52,6 +52,7 @@ #:use-module (gnu packages perl) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system python) @@ -2256,6 +2257,41 @@ Python's distutils.") (define-public python2-distutils-extra (package-with-python2 python-distutils-extra)) + +(define-public python2-elib.intl + (package + (name "python2-elib.intl") + (version "0.0.3") + (source + (origin + ;; This project doesn't tag releases or publish tarballs, so we take + ;; source from a (semi-arbitrary, i.e. latest as of now) git commit. + (method git-fetch) + (uri (git-reference + (url "https://github.com/dieterv/elib.intl.git") + (commit "d09997cfef"))) + (sha256 + (base32 + "0y7vzff9xgbnaay7m0va1arl6g68ncwrvbgwl7jqlclsahzzb09d")))) + (build-system python-build-system) + (native-inputs + `(("python2-setuptools" ,python2-setuptools))) + (arguments + ;; incompatible with Python 3 (exception syntax) + `(#:python ,python-2 + #:tests? #f + ;; With standard flags, the install phase attempts to create a zip'd + ;; egg file, and fails with an error: 'ZIP does not support timestamps + ;; before 1980' + #:configure-flags '("--single-version-externally-managed" + "--record=elib.txt"))) + (home-page "https://github.com/dieterv/elib.intl") + (synopsis "Enhanced internationalization for Python") + (description + "The elib.intl module provides enhanced internationalization (I18N) +services for your Python modules and applications.") + (license lgpl3+))) + (define-public python-pillow (package (name "python-pillow") |