summaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2016-06-23 23:14:53 +0800
committer宋文武 <iyzsong@gmail.com>2016-06-25 20:49:59 +0800
commit8987d91e7fae03021e9a4e61e165f670912a2d42 (patch)
treed83c3f98fbc1b1308ee5da516369504b881c28ad /gnu/packages/python.scm
parent22711e258580d6a13207822d2b02c5a610b1f76b (diff)
gnu: Add python-ukpostcodeparser and python2-ukpostcodeparser.
* gnu/packages/python.scm (python-ukpostcodeparser) (python2-ukpostcodeparser): New variables.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 68123cc1eeb..50d9ee90895 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9500,3 +9500,25 @@ It supports TSIG authenticated messages and EDNS0.")
9500(define-public python2-email-validator 9500(define-public python2-email-validator
9501 (package-with-python2 python-email-validator)) 9501 (package-with-python2 python-email-validator))
9502 9502
9503(define-public python-ukpostcodeparser
9504 (package
9505 (name "python-ukpostcodeparser")
9506 (version "1.0.3")
9507 (source (origin
9508 (method url-fetch)
9509 (uri (pypi-uri "UkPostcodeParser" version))
9510 (sha256
9511 (base32
9512 "1jwg9z4rz51mcka1821rwgycsd0mcicyp1kiwjfa2kvg8bm9p2qd"))))
9513 (build-system python-build-system)
9514 (native-inputs
9515 `(("python-setuptools" ,python-setuptools)))
9516 (home-page "https://github.com/hamstah/ukpostcodeparser")
9517 (synopsis "UK Postcode parser for Python")
9518 (description
9519 "This library provides the @code{parse_uk_postcode} function for
9520parsing UK postcodes.")
9521 (license license:expat)))
9522
9523(define-public python2-ukpostcodeparser
9524 (package-with-python2 python-ukpostcodeparser))