[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/10] gnu: Add python-ukpostcodeparser and python2-ukpostcodepar
From: |
宋文武 |
Subject: |
[PATCH 09/10] gnu: Add python-ukpostcodeparser and python2-ukpostcodeparser. |
Date: |
Thu, 23 Jun 2016 23:20:03 +0800 |
* gnu/packages/python.scm (python-ukpostcodeparser)
(python2-ukpostcodeparser): New variables.
---
gnu/packages/python.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 68123cc..50d9ee9 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9500,3 +9500,25 @@ It supports TSIG authenticated messages and EDNS0.")
(define-public python2-email-validator
(package-with-python2 python-email-validator))
+(define-public python-ukpostcodeparser
+ (package
+ (name "python-ukpostcodeparser")
+ (version "1.0.3")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "UkPostcodeParser" version))
+ (sha256
+ (base32
+ "1jwg9z4rz51mcka1821rwgycsd0mcicyp1kiwjfa2kvg8bm9p2qd"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/hamstah/ukpostcodeparser")
+ (synopsis "UK Postcode parser for Python")
+ (description
+ "This library provides the @code{parse_uk_postcode} function for
+parsing UK postcodes.")
+ (license license:expat)))
+
+(define-public python2-ukpostcodeparser
+ (package-with-python2 python-ukpostcodeparser))
--
2.8.4
[PATCH 09/10] gnu: Add python-ukpostcodeparser and python2-ukpostcodeparser.,
宋文武 <=
[PATCH 10/10] gnu: Add python-fake-factory and python2-fake-factory., 宋文武, 2016/06/23
Re: [PATCH 05/10] gnu: Add python-cleo and python2-cleo., Leo Famulari, 2016/06/25