[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/12] gnu: python: Add python-publicsuffix.
From: |
David Craven |
Subject: |
[PATCH 09/12] gnu: python: Add python-publicsuffix. |
Date: |
Fri, 5 Aug 2016 20:37:27 +0200 |
* gnu/packages/python.scm (python-publicsuffix): New package.
(python2-publicsuffix): New package.
---
gnu/packages/python.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2627dc8..4de5024 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9933,3 +9933,27 @@ binary or text.")
(define-public python2-schematics
(package-with-python2 python-schematics))
+
+(define-public python-publicsuffix
+ (package
+ (name "python-publicsuffix")
+ (version "1.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "publicsuffix" version))
+ (sha256
+ (base32
+ "1adx520249z2cy7ykwjr1k190mn2888wqn9jf8qm27ly4qymjxxf"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (arguments
+ `(#:tests? #f)) ; tests use the internet
+ (home-page "https://www.tablix.org/~avian/git/publicsuffix.git")
+ (synopsis "Get suffix for a domain name")
+ (description "Get a public suffix for a domain name using the Public Suffix
+List.")
+ (license license:expat)))
+
+(define-public python2-publicsuffix
+ (package-with-python2 python-publicsuffix))
--
2.9.0
- Re: [PATCH 02/11] gnu: python: Import guix licenses with #:prefix license:., (continued)
- [PATCH 08/12] gnu: python: Add python-schematics., David Craven, 2016/08/05
- [PATCH 03/12] gnu: python: Import guix licenses with #:prefix license:., David Craven, 2016/08/05
- [PATCH 06/12] gnu: python: Add python-pymongo., David Craven, 2016/08/05
- [PATCH 05/12] gnu: python: Add python-nltk., David Craven, 2016/08/05
- [PATCH 07/12] gnu: python: Add python-sh., David Craven, 2016/08/05
- [PATCH 10/12] gnu: python: Add python-publicsuffix2., David Craven, 2016/08/05
- [PATCH 09/12] gnu: python: Add python-publicsuffix.,
David Craven <=
- [PATCH 11/12] gnu: python: Add python-url., David Craven, 2016/08/05
- [PATCH 12/12] gnu: python: Add python-ipaddress., David Craven, 2016/08/05
- Re: [PATCH 02/12] import: utils: Symbols from 'license->symbol' have a license: prefix., Ricardo Wurmus, 2016/08/27