[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26140: [PATCH 4/7] gnu: Add python-configparser.
From: |
Arun Isaac |
Subject: |
bug#26140: [PATCH 4/7] gnu: Add python-configparser. |
Date: |
Sat, 18 Mar 2017 02:44:27 +0530 |
* gnu/packages/python.scm (python-configparser, python2-configparser): New
variables.
---
gnu/packages/python.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 22a80e883..f7bdae75c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13775,3 +13775,27 @@ this without ugly hacks and/or py2to3.")
(description "@code{python2-backports-functools-lru-cache} is a backport
of functools.lru_cache from python 3.3.")
(license license:expat)))
+
+(define-public python-configparser
+ (package
+ (name "python-configparser")
+ (version "3.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://bitbucket.org/ambv/configparser/get/"
+ version ".tar.bz2"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0waq40as14abwzbb321hfz4vr1fi363nscy32ga14qvfygrg96wa"))))
+ (build-system python-build-system)
+ (home-page "http://docs.python.org/py3k/library/configparser.html")
+ (synopsis "Backport of configparser from python 3.5")
+ (description "@code{python-configparser} is a backport of configparser
+from python 3.5 so that it can be used directly in python 2.6 - 3.5.")
+ (license license:expat)))
+
+(define-public python2-configparser
+ (package-with-python2 python-configparser))
--
2.11.0
- bug#26140: [PATCH 4/7] gnu: Add python-configparser.,
Arun Isaac <=