From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: [PATCH 09/10] gnu: Add python-ukpostcodeparser and python2-ukpostcodeparser. Date: Thu, 23 Jun 2016 23:20:03 +0800 Message-ID: <20160623152004.24065-5-iyzsong@gmail.com> References: <20160623152004.24065-1-iyzsong@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6Qw-0007QJ-L8 for guix-devel@gnu.org; Thu, 23 Jun 2016 11:20:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG6Qv-0005vJ-BN for guix-devel@gnu.org; Thu, 23 Jun 2016 11:20:46 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:59050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6Qu-0005uw-VF for guix-devel@gnu.org; Thu, 23 Jun 2016 11:20:45 -0400 In-Reply-To: <20160623152004.24065-1-iyzsong@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= * 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