* [PATCH 01/23] gnu: Add python-zope-event.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 02/23] gnu: Add python-zope-interface Leo Famulari
` (23 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-zope-event, python2-zope-event): New
variables.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ecf02dd..854e561 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 Christopher Allan Webber <cwebber@dustycloud.org>
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
+;;; Copyright © 2015 David Thompson <davet@gnu.org>
;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
;;; Copyright © 2015 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2015 Erik Edrosa <erik.edrosa@gmail.com>
@@ -5919,3 +5920,29 @@ automatically detect a wide range of file encodings.")
(define-public python2-chardet
(package-with-python2 python-chardet))
+
+(define-public python-zope-event
+ (package
+ (name "python-zope-event")
+ (version "4.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/z"
+ "/zope.event/zope.event-" version ".tar.gz"))
+ (sha256
+ (base32
+ "11p75zpfz3ffhz21nzx9wb23xs993ck5s6hkjcvhswwizni5jynw"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "http://pypi.python.org/pypi/zope.event")
+ (synopsis "Event publishing system for Python")
+ (description "Zope.event provides an event publishing API, intended for
+use by applications which are unaware of any subscribers to their events. It
+is a simple event-dispatching system on which more sophisticated event
+dispatching systems can be built.")
+ (license zpl2.1)))
+
+(define-public python2-zope-event
+ (package-with-python2 python-zope-event))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 02/23] gnu: Add python-zope-interface.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
2015-11-24 21:02 ` [PATCH 01/23] gnu: Add python-zope-event Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 03/23] gnu: Add python-zope-exceptions Leo Famulari
` (22 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-zope-interface,
python2-zope-interface): New variables.
---
gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 854e561..756b93a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5946,3 +5946,29 @@ dispatching systems can be built.")
(define-public python2-zope-event
(package-with-python2 python-zope-event))
+
+(define-public python-zope-interface
+ (package
+ (name "python-zope-interface")
+ (version "4.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/z"
+ "/zope.interface/zope.interface-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ks8h73b2g4bkad821qbv0wzjppdrwys33i7ka45ik3wxjg1l8if"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-zope-event" ,python-zope-event)))
+ (home-page "https://github.com/zopefoundation/zope.interface")
+ (synopsis "Python implementation of the \"design by contract\"
+methodology")
+ (description "Zope.interface provides an implementation of \"object
+interfaces\" for Python. Interfaces are a mechanism for labeling objects as
+conforming to a given API or contract.")
+ (license zpl2.1)))
+
+(define-public python2-zope-interface
+ (package-with-python2 python-zope-interface))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 03/23] gnu: Add python-zope-exceptions.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
2015-11-24 21:02 ` [PATCH 01/23] gnu: Add python-zope-event Leo Famulari
2015-11-24 21:02 ` [PATCH 02/23] gnu: Add python-zope-interface Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 04/23] gnu: Add python-zope-testing Leo Famulari
` (21 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-zope-exceptions,
python2-zope-exceptions): New variables.
---
gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 756b93a..90fb51f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5972,3 +5972,29 @@ conforming to a given API or contract.")
(define-public python2-zope-interface
(package-with-python2 python-zope-interface))
+
+(define-public python-zope-exceptions
+ (package
+ (name "python-zope-exceptions")
+ (version "4.0.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/z"
+ "/zope.exceptions/zope.exceptions-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0zwxaaa66sqxg5k7zcrvs0fbg9ym1njnxnr28dfmchzhwjvwnfzl"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f)) ; circular dependency with zope.testrunner
+ (propagated-inputs
+ `(("python-zope-interface" ,python-zope-interface)))
+ (home-page "http://cheeseshop.python.org/pypi/zope.exceptions")
+ (synopsis "Zope Exceptions")
+ (description "Zope Exceptions")
+ (license zpl2.1)))
+
+(define-public python2-zope-exceptions
+ (package-with-python2 python-zope-exceptions))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 04/23] gnu: Add python-zope-testing.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (2 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 03/23] gnu: Add python-zope-exceptions Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 05/23] gnu: Add python-zope-testrunner Leo Famulari
` (20 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-zope-testing, python2-zope-testing):
New variables.
---
gnu/packages/python.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 90fb51f..40bcfec 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5998,3 +5998,28 @@ conforming to a given API or contract.")
(define-public python2-zope-exceptions
(package-with-python2 python-zope-exceptions))
+
+(define-public python-zope-testing
+ (package
+ (name "python-zope-testing")
+ (version "4.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/z"
+ "/zope.testing/zope.testing-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1yvglxhzvhl45mndvn9gskx2ph30zz1bz7rrlyfs62fv2pvih90s"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-zope-exceptions" ,python-zope-exceptions)))
+ (propagated-inputs
+ `(("python-zope-interface" ,python-zope-interface)))
+ (home-page "http://pypi.python.org/pypi/zope.testing")
+ (synopsis "Zope testing helpers")
+ (description "Zope testing helpers")
+ (license zpl2.1)))
+
+(define-public python2-zope-testing
+ (package-with-python2 python-zope-testing))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 05/23] gnu: Add python-zope-testrunner.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (3 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 04/23] gnu: Add python-zope-testing Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 06/23] gnu: Add python-zope-i18nmessageid Leo Famulari
` (19 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-zope-testrunner,
python2-zope-testrunner): New variables.
---
gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 40bcfec..59caeaa 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6023,3 +6023,34 @@ conforming to a given API or contract.")
(define-public python2-zope-testing
(package-with-python2 python-zope-testing))
+
+(define-public python-zope-testrunner
+ (package
+ (name "python-zope-testrunner")
+ (version "4.4.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/z"
+ "/zope.testrunner/zope.testrunner-"
+ version ".zip"))
+ (sha256
+ (base32
+ "1r7iqknhh55y45f64mz5hghgvzx34h1i11k350s0avx6q8gznja1"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-six" ,python-six)
+ ("python-zope-exceptions" ,python-zope-exceptions)
+ ("python-subunit" ,python-subunit)
+ ("python-mimeparse" ,python-mimeparse)
+ ("python-zope-testing" ,python-zope-testing)
+ ("unzip" ,unzip)))
+ (propagated-inputs
+ `(("python-zope-interface" ,python-zope-interface)))
+ (home-page "http://pypi.python.org/pypi/zope.testrunner")
+ (synopsis "Zope testrunner script.")
+ (description "Zope testrunner script.")
+ (license zpl2.1)))
+
+(define-public python2-zope-testrunner
+ (package-with-python2 python-zope-testrunner))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 06/23] gnu: Add python-zope-i18nmessageid.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (4 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 05/23] gnu: Add python-zope-testrunner Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 07/23] gnu: Add python-zope-schema Leo Famulari
` (18 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-zope-i18nmessageid,
python2-zope-i18nmessageid): New variables.
---
gnu/packages/python.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 59caeaa..0b334e5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6054,3 +6054,28 @@ conforming to a given API or contract.")
(define-public python2-zope-testrunner
(package-with-python2 python-zope-testrunner))
+
+(define-public python-zope-i18nmessageid
+ (package
+ (name "python-zope-i18nmessageid")
+ (version "4.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/z"
+ "/zope.i18nmessageid/zope.i18nmessageid-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1rslyph0klk58dmjjy4j0jxy21k03azksixc3x2xhqbkv97cmzml"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "http://pypi.python.org/pypi/zope.i18nmessageid")
+ (synopsis "Message Identifiers for internationalization")
+ (description "Message Identifiers for internationalization")
+ (license zpl2.1)))
+
+(define-public python2-zope-i18nmessageid
+ (package-with-python2 python-zope-i18nmessageid))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 07/23] gnu: Add python-zope-schema.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (5 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 06/23] gnu: Add python-zope-i18nmessageid Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 08/23] gnu: Add python-zope-configuration Leo Famulari
` (17 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-zope-schema, python2-zope-schema): New variables.
---
gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0b334e5..c4d680a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6079,3 +6079,29 @@ conforming to a given API or contract.")
(define-public python2-zope-i18nmessageid
(package-with-python2 python-zope-i18nmessageid))
+
+(define-public python-zope-schema
+ (package
+ (name "python-zope-schema")
+ (version "4.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/z"
+ "/zope.schema/zope.schema-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1p943jdxb587dh7php4vx04qvn7b2877hr4qs5zyckvp5afhhank"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-zope-event" ,python-zope-event)
+ ("python-zope-interface" ,python-zope-interface)))
+ (native-inputs
+ `(("python-zope-testing" ,python-zope-testing)))
+ (home-page "http://pypi.python.org/pypi/zope.schema")
+ (synopsis "Extension to zope.interface for defining data schemas")
+ (description "Extension to zope.interface for defining data schemas")
+ (license zpl2.1)))
+
+(define-public python2-zope-schema
+ (package-with-python2 python-zope-schema))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 08/23] gnu: Add python-zope-configuration.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (6 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 07/23] gnu: Add python-zope-schema Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 09/23] gnu: Add python-zope-proxy Leo Famulari
` (16 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-zope-configuration,
python2-zope-configuration): 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 c4d680a..66ca247 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6105,3 +6105,27 @@ conforming to a given API or contract.")
(define-public python2-zope-schema
(package-with-python2 python-zope-schema))
+
+(define-public python-zope-configuration
+ (package
+ (name "python-zope-configuration")
+ (version "4.0.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/z"
+ "/zope.configuration/zope.configuration-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1x9dfqypgympnlm25p9m43xh4qv3p7d75vksv9pzqibrb4cggw5n"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-zope-i18nmessageid" ,python-zope-i18nmessageid)
+ ("python-zope-schema" ,python-zope-schema)))
+ (home-page "http://pypi.python.org/pypi/zope.configuration")
+ (synopsis "Zope Configuration Markup Language (ZCML)")
+ (description "Zope Configuration Markup Language (ZCML)")
+ (license zpl2.1)))
+
+(define-public python2-zope-configuration
+ (package-with-python2 python-zope-configuration))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 09/23] gnu: Add python-zope-proxy.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (7 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 08/23] gnu: Add python-zope-configuration Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 10/23] gnu: Add python-zope-location Leo Famulari
` (15 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-zope-proxy, python2-zope-proxy): New
variables.
---
gnu/packages/python.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 66ca247..4e6fe55 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6129,3 +6129,26 @@ conforming to a given API or contract.")
(define-public python2-zope-configuration
(package-with-python2 python-zope-configuration))
+
+(define-public python-zope-proxy
+ (package
+ (name "python-zope-proxy")
+ (version "4.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/z"
+ "/zope.proxy/zope.proxy-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0pqwwmvm1prhwv1ziv9lp8iirz7xkwb6n2kyj36p2h0ppyyhjnm4"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-zope-interface" ,python-zope-interface)))
+ (home-page "http://pypi.python.org/pypi/zope.proxy")
+ (synopsis "Generic Transparent Proxies")
+ (description "Generic Transparent Proxies")
+ (license zpl2.1)))
+
+(define-public python2-zope-proxy
+ (package-with-python2 python-zope-proxy))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 10/23] gnu: Add python-zope-location.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (8 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 09/23] gnu: Add python-zope-proxy Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 11/23] gnu: Add python-zope-security Leo Famulari
` (14 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-zope-location, python2-zope-location):
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 4e6fe55..b00535b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6152,3 +6152,27 @@ conforming to a given API or contract.")
(define-public python2-zope-proxy
(package-with-python2 python-zope-proxy))
+
+(define-public python-zope-location
+ (package
+ (name "python-zope-location")
+ (version "4.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/z"
+ "/zope.location/zope.location-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1nj9da4ksiyv3h8n2vpzwd0pb03mdsh7zy87hfpx72b6p2zcwg74"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-zope-proxy" ,python-zope-proxy)
+ ("python-zope-schema" ,python-zope-schema)))
+ (home-page "http://pypi.python.org/pypi/zope.location/")
+ (synopsis "Zope Location")
+ (description "Zope Location")
+ (license zpl2.1)))
+
+(define-public python2-zope-location
+ (package-with-python2 python-zope-location))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 11/23] gnu: Add python-zope-security.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (9 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 10/23] gnu: Add python-zope-location Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 12/23] gnu: Add python-zope-component Leo Famulari
` (13 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-zope-security,
python2-zope-security): New variables.
---
gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b00535b..280f81c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6176,3 +6176,32 @@ conforming to a given API or contract.")
(define-public python2-zope-location
(package-with-python2 python-zope-location))
+
+(define-public python-zope-security
+ (package
+ (name "python-zope-security")
+ (version "4.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/z"
+ "/zope.security/zope.security-" version ".tar.gz"))
+ (sha256
+ (base32
+ "14zmf684amc0x32kq05yxnhfqd1cmyhafkw05gn81rn90zjv6ssy"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-zope-i18nmessageid" ,python-zope-i18nmessageid)
+ ("python-zope-component" ,python-zope-component)
+ ("python-zope-location" ,python-zope-location)
+ ("python-zope-proxy" ,python-zope-proxy)
+ ("python-zope-schema" ,python-zope-schema)
+ ("python-zope-testrunner" ,python-zope-testrunner)
+ ("python-zope-testing" ,python-zope-testing)))
+ (home-page "http://pypi.python.org/pypi/zope.security")
+ (synopsis "Zope Security Framework")
+ (description "Zope Security Framework")
+ (license zpl2.1)))
+
+(define-public python2-zope-security
+ (package-with-python2 python-zope-security))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 12/23] gnu: Add python-zope-component.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (10 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 11/23] gnu: Add python-zope-security Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 13/23] gnu: Add python-pyrfc3339 Leo Famulari
` (12 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-zope-component,
python2-zope-component): New variables.
---
gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 280f81c..0a8fb21 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6205,3 +6205,36 @@ conforming to a given API or contract.")
(define-public python2-zope-security
(package-with-python2 python-zope-security))
+
+(define-public python-zope-component
+ (package
+ (name "python-zope-component")
+ (version "4.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/z"
+ "/zope.component/zope.component-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06pqr8m5jv12xjyy5b59hh9anl61cxkzhw9mka33r3nxalmi2b18"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f)) ;; skip tests due to circular dependency with
+ ;; python-zope-security
+ (native-inputs
+ `(("python-zope-testing" ,python-zope-testing)))
+ (propagated-inputs
+ `(("python-zope-event" ,python-zope-event)
+ ("python-zope-interface" ,python-zope-interface)
+ ("python-zope-i18nmessageid" ,python-zope-i18nmessageid)
+ ("python-zope-configuration" ,python-zope-configuration)))
+ (home-page "https://github.com/zopefoundation/zope.component")
+ (synopsis "Zope Component Architecture")
+ (description "Zope.component represents the core of the Zope Component
+Architecture. Together with the zope.interface package, it provides
+facilities for defining, registering and looking up components.")
+ (license zpl2.1)))
+
+(define-public python2-zope-component
+ (package-with-python2 python-zope-component))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 13/23] gnu: Add python-pyrfc3339.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (11 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 12/23] gnu: Add python-zope-component Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 14/23] gnu: Add python-werkzeug Leo Famulari
` (11 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-pyrfc3339, python2-pyrfc3339): New variables.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0a8fb21..e0b00ba 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6238,3 +6238,30 @@ facilities for defining, registering and looking up components.")
(define-public python2-zope-component
(package-with-python2 python-zope-component))
+
+(define-public python-pyrfc3339
+ (package
+ (name "python-pyrfc3339")
+ (version "0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/p/"
+ "pyRFC3339/pyRFC3339-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1pp648xsjaw9h1xq2mgwzda5wis2ypjmzxlksc1a8grnrdmzy155"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pytz" ,python-pytz)))
+ (native-inputs
+ `(("python-nose" ,python-nose)
+ ("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/kurtraschke/pyRFC3339")
+ (synopsis "Python timestamp library")
+ (description "Python library for generating and parsing RFC 3339-compliant
+timestamps.")
+ (license license:expat)))
+
+(define-public python2-pyrfc3339
+ (package-with-python2 python-pyrfc3339))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 14/23] gnu: Add python-werkzeug.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (12 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 13/23] gnu: Add python-pyrfc3339 Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 15/23] gnu: Add python-configobj Leo Famulari
` (10 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-werkzeug, python2-werkzeug): New
variables.
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e0b00ba..3758a48 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6265,3 +6265,31 @@ timestamps.")
(define-public python2-pyrfc3339
(package-with-python2 python-pyrfc3339))
+
+(define-public python-werkzeug
+ (package
+ (name "python-werkzeug")
+ (version "0.11.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/W/Werkzeug"
+ "/Werkzeug-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1gzwn1lkl90f3l1nzzxr7vjhm21qk8f837i8rvny5a209fcrhkzb"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "http://werkzeug.pocoo.org/")
+ (synopsis "Utilities for WSGI applications")
+ (description "One of the most advanced WSGI utility modules. It includes a
+powerful debugger, full-featured request and response objects, HTTP utilities to
+handle entity tags, cache control headers, HTTP dates, cookie handling, file
+uploads, a powerful URL routing system and a bunch of community-contributed
+addon modules.")
+ (license x11)))
+
+(define-public python2-werkzeug
+ (package-with-python2 python-werkzeug))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 15/23] gnu: Add python-configobj.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (13 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 14/23] gnu: Add python-werkzeug Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 16/23] gnu: Add dialog Leo Famulari
` (9 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-configobj, python2-configobj): New
variables.
* gnu/packages/patches/python-configobj-setuptools.patch: New patch.
---
.../patches/python-configobj-setuptools.patch | 30 ++++++++++++++++++++++
gnu/packages/python.scm | 28 ++++++++++++++++++++
2 files changed, 58 insertions(+)
create mode 100644 gnu/packages/patches/python-configobj-setuptools.patch
diff --git a/gnu/packages/patches/python-configobj-setuptools.patch b/gnu/packages/patches/python-configobj-setuptools.patch
new file mode 100644
index 0000000..3f207ff
--- /dev/null
+++ b/gnu/packages/patches/python-configobj-setuptools.patch
@@ -0,0 +1,30 @@
+From 16fbc38f13e435b4e3e1a37d706e64e05bad4691 Mon Sep 17 00:00:00 2001
+From: Leo Famulari <leo@famulari.name>
+Date: Tue, 10 Nov 2015 23:09:24 -0500
+Subject: [PATCH] patch build to use setuptools
+
+---
+ setup.py | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index c6d57a6..27bf260 100644
+--- a/setup.py
++++ b/setup.py
+@@ -12,7 +12,12 @@
+ # http://opensource.org/licenses/BSD-3-Clause
+ import os
+ import sys
+-from distutils.core import setup
++
++try:
++ from setuptools import setup
++except ImportError:
++ from distutils.core import setup
++
+ # a simple import wouldn't work if we moved towards a package with __init__
+ from _version import __version__
+
+--
+2.6.2
+
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3758a48..4462591 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6293,3 +6293,31 @@ addon modules.")
(define-public python2-werkzeug
(package-with-python2 python-werkzeug))
+
+(define-public python-configobj
+ (package
+ (name "python-configobj")
+ (version "5.0.6")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/c/configobj/"
+ "configobj-" version ".tar.gz"))
+ (sha256
+ (base32
+ "00h9rcmws03xvdlfni11yb60bz3kxfvsj6dg6nrpzj71f03nbxd2"))
+ (patches (list (search-patch "python-configobj-setuptools.patch")))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)
+ ("python-six" ,python-six)))
+ (synopsis "Config file reading, writing and validation")
+ (description "ConfigObj is a simple but powerful config file reader and
+writer: an ini file round tripper. Its main feature is that it is very easy to
+use, with a straightforward programmer’s interface and a simple syntax for
+config files.")
+ (home-page "https://github.com/DiffSK/configobj")
+ (license bsd-3)))
+
+(define-public python2-configobj
+ (package-with-python2 python-configobj))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 16/23] gnu: Add dialog.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (14 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 15/23] gnu: Add python-configobj Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-25 20:21 ` Efraim Flashner
2015-11-24 21:02 ` [PATCH 17/23] gnu: Add python2-pythondialog Leo Famulari
` (8 subsequent siblings)
24 siblings, 1 reply; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (dialog): New variable.
---
gnu/packages/ncurses.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/ncurses.scm b/gnu/packages/ncurses.scm
index 2b0d442..176378d 100644
--- a/gnu/packages/ncurses.scm
+++ b/gnu/packages/ncurses.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
+;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -110,3 +111,25 @@ implement user interfaces for command-line applications. The accompanying
ncursesw library provides wide character support.")
(license x11)
(home-page "http://www.gnu.org/software/ncurses/"))))
+
+(define-public dialog
+ (package
+ (name "dialog")
+ (version "1.2-20150920")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://invisible-island.net/datafiles/release/"
+ "dialog.tar.gz"))
+ (sha256
+ (base32
+ "01ccd585c241nkj02n0zdbx8jqhylgcfpcmmshynh0c7fv2ixrn4"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f)) ; no test suite
+ (inputs
+ `(("ncurses" ,ncurses)))
+ (synopsis "Curses widgets")
+ (description "A script-interpreter which provides a set of curses widgets.")
+ (home-page "http://invisible-island.net/dialog/dialog.html")
+ (license (list lgpl2.1 gpl3)))) ; some components are GPL v3
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* Re: [PATCH 16/23] gnu: Add dialog.
2015-11-24 21:02 ` [PATCH 16/23] gnu: Add dialog Leo Famulari
@ 2015-11-25 20:21 ` Efraim Flashner
2015-11-27 7:17 ` Leo Famulari
0 siblings, 1 reply; 30+ messages in thread
From: Efraim Flashner @ 2015-11-25 20:21 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 2164 bytes --]
On Tue, 24 Nov 2015 16:02:16 -0500
Leo Famulari <leo@famulari.name> wrote:
> * gnu/packages/python.scm (dialog): New variable.
> ---
> gnu/packages/ncurses.scm | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/ncurses.scm b/gnu/packages/ncurses.scm
> index 2b0d442..176378d 100644
> --- a/gnu/packages/ncurses.scm
> +++ b/gnu/packages/ncurses.scm
> @@ -1,6 +1,7 @@
> ;;; GNU Guix --- Functional package management for GNU
> ;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
> ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
> +;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -110,3 +111,25 @@ implement user interfaces for command-line applications. The accompanying
> ncursesw library provides wide character support.")
> (license x11)
> (home-page "http://www.gnu.org/software/ncurses/"))))
> +
> +(define-public dialog
> + (package
> + (name "dialog")
> + (version "1.2-20150920")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append
> + "http://invisible-island.net/datafiles/release/"
> + "dialog.tar.gz"))
use this url instead for downloading
http://invisible-mirror.net/archives/dialog/dialog-1.2-20150920.tgz
> + (sha256
> + (base32
> + "01ccd585c241nkj02n0zdbx8jqhylgcfpcmmshynh0c7fv2ixrn4"))))
> + (build-system gnu-build-system)
> + (arguments
> + `(#:tests? #f)) ; no test suite
> + (inputs
> + `(("ncurses" ,ncurses)))
> + (synopsis "Curses widgets")
> + (description "A script-interpreter which provides a set of curses widgets.")
> + (home-page "http://invisible-island.net/dialog/dialog.html")
> + (license (list lgpl2.1 gpl3)))) ; some components are GPL v3
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 16/23] gnu: Add dialog.
2015-11-25 20:21 ` Efraim Flashner
@ 2015-11-27 7:17 ` Leo Famulari
0 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-27 7:17 UTC (permalink / raw)
To: guix-devel
On Wed, Nov 25, 2015 at 10:21:01PM +0200, Efraim Flashner wrote:
> On Tue, 24 Nov 2015 16:02:16 -0500
> Leo Famulari <leo@famulari.name> wrote:
>
> > * gnu/packages/python.scm (dialog): New variable.
> > ---
> > gnu/packages/ncurses.scm | 23 +++++++++++++++++++++++
> > 1 file changed, 23 insertions(+)
> >
> > diff --git a/gnu/packages/ncurses.scm b/gnu/packages/ncurses.scm
> > index 2b0d442..176378d 100644
> > --- a/gnu/packages/ncurses.scm
> > +++ b/gnu/packages/ncurses.scm
> > @@ -1,6 +1,7 @@
> > ;;; GNU Guix --- Functional package management for GNU
> > ;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
> > ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
> > +;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
> > ;;;
> > ;;; This file is part of GNU Guix.
> > ;;;
> > @@ -110,3 +111,25 @@ implement user interfaces for command-line applications. The accompanying
> > ncursesw library provides wide character support.")
> > (license x11)
> > (home-page "http://www.gnu.org/software/ncurses/"))))
> > +
> > +(define-public dialog
> > + (package
> > + (name "dialog")
> > + (version "1.2-20150920")
> > + (source (origin
> > + (method url-fetch)
> > + (uri (string-append
> > + "http://invisible-island.net/datafiles/release/"
> > + "dialog.tar.gz"))
>
> use this url instead for downloading
> http://invisible-mirror.net/archives/dialog/dialog-1.2-20150920.tgz
Yikes, thanks for noticing that!
>
> > + (sha256
> > + (base32
> > + "01ccd585c241nkj02n0zdbx8jqhylgcfpcmmshynh0c7fv2ixrn4"))))
> > + (build-system gnu-build-system)
> > + (arguments
> > + `(#:tests? #f)) ; no test suite
> > + (inputs
> > + `(("ncurses" ,ncurses)))
> > + (synopsis "Curses widgets")
> > + (description "A script-interpreter which provides a set of curses widgets.")
> > + (home-page "http://invisible-island.net/dialog/dialog.html")
> > + (license (list lgpl2.1 gpl3)))) ; some components are GPL v3
>
>
>
> --
> Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 17/23] gnu: Add python2-pythondialog.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (15 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 16/23] gnu: Add dialog Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 18/23] WIP: Add python-configargparse Leo Famulari
` (7 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python2-pythondialog): New variable.
---
gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4462591..04d95ee 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6236,9 +6236,45 @@ Architecture. Together with the zope.interface package, it provides
facilities for defining, registering and looking up components.")
(license zpl2.1)))
+
(define-public python2-zope-component
(package-with-python2 python-zope-component))
+(define-public python2-pythondialog
+ (package
+ (name "python2-pythondialog")
+ (version "3.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/p/"
+ "python2-pythondialog/python2-pythondialog-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1yhkagsh99bfi592ymczf8rnw8rk6n9hdqy3dd98m3yrx8zmjvry"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-after
+ 'unpack 'patch-path
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (substitute* "dialog.py"
+ ((":/bin:/usr/bin")
+ (string-append out "/bin")))
+ #t))))
+ #:python ,python-2
+ #:tests? #f)) ; no test suite
+ (propagated-inputs
+ `(("dialog" ,dialog)))
+ (home-page "http://pythondialog.sourceforge.net/")
+ (synopsis "Python interface to the UNIX dialog utility")
+ (description "A Python wrapper for the dialog utility. Its purpose is to
+provide an easy to use, pythonic and comprehensive Python interface to dialog.
+This allows one to make simple text-mode user interfaces on Unix-like systems")
+ (license lgpl2.1)))
+
(define-public python-pyrfc3339
(package
(name "python-pyrfc3339")
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 18/23] WIP: Add python-configargparse.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (16 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 17/23] gnu: Add python2-pythondialog Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 19/23] gnu: Add python-ndg-httpsclient Leo Famulari
` (6 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-configargparse,
python2-configargparse): New variables.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 04d95ee..e7d5a89 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6357,3 +6357,30 @@ config files.")
(define-public python2-configobj
(package-with-python2 python-configobj))
+
+(define-public python-configargparse
+ (package
+ (name "python-configargparse")
+ (version "0.10.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/C/ConfigArgParse/"
+ "ConfigArgParse-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19wh919gbdbzxzpagg52q3lm62yicm95ddlcx77dyjc1slyshl1v"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ;; FIXME: bug filed upstream
+ ;; https://github.com/bw2/ConfigArgParse/issues/32
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (synopsis "Replacement for argparse")
+ (description "A drop-in replacement for argparse that allows options to also
+be set via config files and/or environment variables.")
+ (home-page "https://github.com/bw2/ConfigArgParse")
+ (license license:expat)))
+
+(define-public python2-configargparse
+ (package-with-python2 python-configargparse))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 19/23] gnu: Add python-ndg-httpsclient.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (17 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 18/23] WIP: Add python-configargparse Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 20/23] gnu: python-parsedatetime: Update to 1.5 Leo Famulari
` (5 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-ndg-httpsclient,
python2-ndg-httpsclient): New variables.
---
gnu/packages/python.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e7d5a89..8fa6d0b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6384,3 +6384,34 @@ be set via config files and/or environment variables.")
(define-public python2-configargparse
(package-with-python2 python-configargparse))
+
+(define-public python-ndg-httpsclient
+ (package
+ (name "python-ndg-httpsclient")
+ (version "0.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/n/ndg-httpsclient/"
+ "ndg_httpsclient-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0x32ibixm3vv5m9xfk83xsqm8xcqw4dd0khbh6qbri6rxgymbhg8"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pyopenssl" ,python-pyopenssl)))
+ (synopsis "HTTPS support for Python's httplib and urllib2")
+ (description "This is a HTTPS client implementation for httplib and urllib2
+based on PyOpenSSL. PyOpenSSL provides a more fully featured SSL implementation
+over the default provided with Python and importantly enables full verification
+of the SSL peer.")
+ (home-page "https://github.com/cedadev/ndg_httpsclient/")
+ (license bsd-3)))
+
+(define-public python2-ndg-httpsclient
+ (package (inherit python-ndg-httpsclient)
+ (name "python2-ndg-httpsclient")
+ (arguments
+ `(#:python ,python-2))
+ (propagated-inputs
+ `(("python2-pyopenssl" ,python2-pyopenssl)))))
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 20/23] gnu: python-parsedatetime: Update to 1.5.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (18 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 19/23] gnu: Add python-ndg-httpsclient Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-25 20:32 ` Efraim Flashner
2015-11-24 21:02 ` [PATCH 21/23] gnu: Add python2-parsedatetime Leo Famulari
` (4 subsequent siblings)
24 siblings, 1 reply; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-parsedatetime, python2-parsedatetime):
Increment version.
---
gnu/packages/python.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8fa6d0b..486feb7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -906,7 +906,7 @@ datetime module, available in Python 2.3+.")
(define-public python-parsedatetime
(package
(name "python-parsedatetime")
- (version "1.2")
+ (version "1.5")
(source
(origin
(method url-fetch)
@@ -914,11 +914,10 @@ datetime module, available in Python 2.3+.")
"parsedatetime/parsedatetime-" version ".tar.gz"))
(sha256
(base32
- "1zcj0pzxvpl4j2ma9awmpkfxldybi2kjaahjjpmgfbg5cxwcjsqv"))))
+ "1as0mm4ql3z0324nc9bys2s1ngh507i317p16b79rx86wlmvx9ix"))))
(build-system python-build-system)
(native-inputs
`(("python-setuptools" ,python-setuptools)))
- (arguments `(#:tests? #f)) ;no test target
(home-page "http://github.com/bear/parsedatetime/")
(synopsis
"Parse human-readable date/time text")
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* Re: [PATCH 20/23] gnu: python-parsedatetime: Update to 1.5.
2015-11-24 21:02 ` [PATCH 20/23] gnu: python-parsedatetime: Update to 1.5 Leo Famulari
@ 2015-11-25 20:32 ` Efraim Flashner
0 siblings, 0 replies; 30+ messages in thread
From: Efraim Flashner @ 2015-11-25 20:32 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1706 bytes --]
On Tue, 24 Nov 2015 16:02:20 -0500
Leo Famulari <leo@famulari.name> wrote:
> * gnu/packages/python.scm (python-parsedatetime, python2-parsedatetime):
> Increment version.
I would do the commit message as:
* gnu/packages/python.scm (python-parsedatetime): Update to 1.5.
[arguments]: Enable tests.
> ---
> gnu/packages/python.scm | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 8fa6d0b..486feb7 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -906,7 +906,7 @@ datetime module, available in Python 2.3+.")
> (define-public python-parsedatetime
> (package
> (name "python-parsedatetime")
> - (version "1.2")
> + (version "1.5")
> (source
> (origin
> (method url-fetch)
> @@ -914,11 +914,10 @@ datetime module, available in Python 2.3+.")
> "parsedatetime/parsedatetime-" version ".tar.gz"))
> (sha256
> (base32
> - "1zcj0pzxvpl4j2ma9awmpkfxldybi2kjaahjjpmgfbg5cxwcjsqv"))))
> + "1as0mm4ql3z0324nc9bys2s1ngh507i317p16b79rx86wlmvx9ix"))))
> (build-system python-build-system)
> (native-inputs
> `(("python-setuptools" ,python-setuptools)))
> - (arguments `(#:tests? #f)) ;no test target
> (home-page "http://github.com/bear/parsedatetime/")
> (synopsis
> "Parse human-readable date/time text")
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 21/23] gnu: Add python2-parsedatetime.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (19 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 20/23] gnu: python-parsedatetime: Update to 1.5 Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 22/23] gnu: Add acme Leo Famulari
` (3 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python2-parsedatetime): New variable.
---
gnu/packages/python.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 486feb7..68b7479 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -925,6 +925,9 @@ datetime module, available in Python 2.3+.")
"Parse human-readable date/time text.")
(license asl2.0)))
+(define-public python2-parsedatetime
+ (package-with-python2 python-parsedatetime))
+
(define-public python-pandas
(package
(name "python-pandas")
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 22/23] gnu: Add acme.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (20 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 21/23] gnu: Add python2-parsedatetime Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-11-24 21:02 ` [PATCH 23/23] WIP: Add lets-encrypt Leo Famulari
` (2 subsequent siblings)
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/tls.scm (acme): New variable.
---
gnu/packages/tls.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 1a0eeb2..fd225ea 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
+;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -320,6 +321,39 @@ security, and applying best practice development processes.")
"file://COPYING"
"See COPYING in the distribution.")))))
+(define-public acme
+ (package
+ (name "acme")
+ (version "0.0.0.dev20151123")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/a/acme/acme-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0h1q8w1w9n0fqha3j0i5hmdz6kmi9sl6n1x2ikilc2in31cva580"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2))
+ ;; TODO: Add optional inputs for testing and building documentation.
+ (native-inputs
+ `(("python2-mock" ,python2-mock)
+ ("python2-setuptools" ,python2-setuptools)))
+ (propagated-inputs
+ `(("python2-ndg-httpsclient" ,python2-ndg-httpsclient)
+ ("python2-werkzeug" ,python2-werkzeug)
+ ("python2-six" ,python2-six)
+ ("python2-requests" ,python2-requests)
+ ("python2-pytz" ,python2-pytz)
+ ("python2-pyrfc3339" ,python2-pyrfc3339)
+ ("python2-pyasn1" ,python2-pyasn1)
+ ("python2-cryptography" ,python2-cryptography)
+ ("python2-pyopenssl" ,python2-pyopenssl)))
+ (home-page "https://github.com/letsencrypt/letsencrypt")
+ (synopsis "ACME protocol implementation in Python")
+ (description "ACME protocol implementation in Python")
+ (license license:asl2.0)))
+
(define-public perl-net-ssleay
(package
(name "perl-net-ssleay")
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* [PATCH 23/23] WIP: Add lets-encrypt.
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (21 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 22/23] gnu: Add acme Leo Famulari
@ 2015-11-24 21:02 ` Leo Famulari
2015-12-04 14:44 ` [PATCH 00/23] WIP: Add the Let's Encrypt client Thompson, David
2015-12-06 17:17 ` Thompson, David
24 siblings, 0 replies; 30+ messages in thread
From: Leo Famulari @ 2015-11-24 21:02 UTC (permalink / raw)
To: guix-devel
* gnu/packages/tls.scm (lets-encrypt): New variable.
---
gnu/packages/tls.scm | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index fd225ea..44824b5 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
+;;; Copyright © 2015 David Thompson <davet@gnu.org>
;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
;;;
;;; This file is part of GNU Guix.
@@ -27,14 +28,17 @@
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
+ #:use-module (guix build-system python)
#:use-module (gnu packages compression)
#:use-module (gnu packages)
#:use-module (gnu packages guile)
#:use-module (gnu packages libffi)
#:use-module (gnu packages libidn)
+ #:use-module (gnu packages ncurses)
#:use-module (gnu packages nettle)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages python)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages base))
@@ -354,6 +358,59 @@ security, and applying best practice development processes.")
(description "ACME protocol implementation in Python")
(license license:asl2.0)))
+(define-public lets-encrypt
+ (package
+ (name "lets-encrypt")
+ (version "0.0.0.dev20151123")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://pypi.python.org/packages/source/l/"
+ "letsencrypt/letsencrypt-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0p7jybpaf38xdz6xja5ik34mdwhv7k8npa3s1yk2z6flz3l52p1n"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2
+ #:phases (modify-phases %standard-phases
+ (add-after
+ 'wrap 'wrap-programs
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin/"))
+ (dia (assoc-ref %build-inputs "dialog"))
+ (diabin (string-append dia "/bin/")))
+ (for-each (lambda (file)
+ (wrap-program file
+ `("PATH" ":" prefix (,diabin))))
+ (find-files bin "\\.*$"))
+ #t))))))
+ ;; TODO: Add optional inputs for testing building documentation.
+ (native-inputs
+ `(("python2-nose" ,python2-nose)
+ ("python2-mock" ,python2-mock)))
+ (inputs
+ `(("acme" ,acme)))
+ (propagated-inputs
+ `(("python2-zope-interface" ,python2-zope-interface)
+ ("python2-pythondialog" ,python2-pythondialog)
+ ("python2-pyrfc3339" ,python2-pyrfc3339)
+ ("python2-pyopenssl" ,python2-pyopenssl)
+ ("python2-configobj" ,python2-configobj)
+ ("python2-configargparse" ,python2-configargparse)
+ ("python2-zope-component" ,python2-zope-component)
+ ("python2-parsedatetime" ,python2-parsedatetime)
+ ("python2-six" ,python2-six)
+ ("python2-psutil" ,python2-psutil)
+ ("python2-requests" ,python2-requests)
+ ("python2-pytz" ,python2-pytz)))
+ (synopsis "Let's Encrypt client")
+ (description "Tool to automatically receive and install X.509 certificates
+to enable TLS on servers. The client will interoperate with the Let’s Encrypt CA which
+will be issuing browser-trusted certificates for free.")
+ (home-page "https://letsencrypt.org/")
+ (license license:asl2.0)))
+
(define-public perl-net-ssleay
(package
(name "perl-net-ssleay")
--
2.6.2
^ permalink raw reply related [flat|nested] 30+ messages in thread
* Re: [PATCH 00/23] WIP: Add the Let's Encrypt client
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (22 preceding siblings ...)
2015-11-24 21:02 ` [PATCH 23/23] WIP: Add lets-encrypt Leo Famulari
@ 2015-12-04 14:44 ` Thompson, David
2015-12-06 17:17 ` Thompson, David
24 siblings, 0 replies; 30+ messages in thread
From: Thompson, David @ 2015-12-04 14:44 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
Hi Leo,
On Tue, Nov 24, 2015 at 4:02 PM, Leo Famulari <leo@famulari.name> wrote:
> These WIP patches provide the most recent developer preview of the Let's
> Encrypt [1] client and its dependencies.
>
> I am grateful to Dave Thompson for getting this patchset started. He
> packaged most of the python-3 Zope dependencies and cut the Gordian knot
> of circular dependency between zope.security and zope.component.
>
> The Let's Encrypt client will communicate with the Let's Encrypt servers
> and, if you are in their private beta progam, obtain valid SSL/TLS
> certificates that you can install on your server. If you are not in
> their private beta program, you can still test it and obtain certs
> issued by "happy hacker fake CA".
>
> On 2015-12-03, Let's Encrypt will open their beta program to the public
> [2].
>
> These patches probably need some work. The patch for
> python-configargparse is WIP due to a bug filed upstream. I have also
> committed the lets-encrypt patch as WIP as a warning.
I have cleaned up all of the commits in a local branch of mine that
I'm looking to push to master soon.
> I am specifically requesting review on the following subjects:
>
> 1) Are all the inputs categorized properly? That is, are they properly
> named as inputs, native-inputs, and propagated-inputs?
Pretty good overall. I just cleaned up a few errors. Currently
dealing with python-dialog so that we don't need to wrap the
letsencrypt binary.
> 2) Lint complains about the patch applied to the source of
> python-configobj because it doesn't include the name of
> python2-configobj. The patch applies to both language versions of
> python-configobj so I'm not sure how to handle this.
Don't worry about it. The linter ought to be changed to account for
this python/python2 convention.
> 3) Please test the webserver integration. The client is supposed to be
> able to automatically configure Apache and Nginx with some plugins. I
> did not try this; I just let the client put the certs in
> /etc/letsencrypt (this is the default) and manually configured my
> webserver [3]
The package as it stands currently is not build with Apache support.
I'll look into adding the correct inputs for it.
> 4) I've included python-3 and python-2 versions of dependencies that
> support both versions, but I have packaged lets-encrypt itself as
> python-2. Many dependencies require extra inputs for python-2. You will
> see that I did not create separate packages for the python-2 versions,
> so the python-3 versions have some unecessary inputs. If requested, I
> can separate the python-2 packages out... or you can help with this. :)
Things overall look okay. I've tweaked a couple of them.
Thanks for all the hard work! We're almost there!
- Dave
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 00/23] WIP: Add the Let's Encrypt client
2015-11-24 21:02 [PATCH 00/23] WIP: Add the Let's Encrypt client Leo Famulari
` (23 preceding siblings ...)
2015-12-04 14:44 ` [PATCH 00/23] WIP: Add the Let's Encrypt client Thompson, David
@ 2015-12-06 17:17 ` Thompson, David
2015-12-06 21:35 ` Ludovic Courtès
24 siblings, 1 reply; 30+ messages in thread
From: Thompson, David @ 2015-12-06 17:17 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
I pushed all of the patches yesterday, and today I actually used
letsencrypt to generate certificates for my self-hosted web services.
I used 'letsencrypt certonly --webroot' so that I did not have any
server downtime while I generated the certs. Works like a charm!
Thanks for all of the hard work, Leo!
- Dave
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 00/23] WIP: Add the Let's Encrypt client
2015-12-06 17:17 ` Thompson, David
@ 2015-12-06 21:35 ` Ludovic Courtès
0 siblings, 0 replies; 30+ messages in thread
From: Ludovic Courtès @ 2015-12-06 21:35 UTC (permalink / raw)
To: Thompson, David; +Cc: guix-devel
"Thompson, David" <dthompson2@worcester.edu> skribis:
> I pushed all of the patches yesterday, and today I actually used
> letsencrypt to generate certificates for my self-hosted web services.
> I used 'letsencrypt certonly --webroot' so that I did not have any
> server downtime while I generated the certs. Works like a charm!
Woohoo!
> Thanks for all of the hard work, Leo!
Yup! And thanks for the review, Dave!
Ludo’.
^ permalink raw reply [flat|nested] 30+ messages in thread