* [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31.
@ 2016-09-13 1:38 ng0
2016-09-13 1:38 ` [PATCH 02/11] gnu: python-dateutil-2: Update to 2.5.3 ng0
` (10 more replies)
0 siblings, 11 replies; 27+ messages in thread
From: ng0 @ 2016-09-13 1:38 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-certifi): Update to 2016.8.31.
---
gnu/packages/python.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b839f22..3f1f59d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2168,13 +2168,13 @@ files.")
(define-public python-certifi
(package
(name "python-certifi")
- (version "2015.11.20.1")
+ (version "2016.8.31")
(source (origin
(method url-fetch)
(uri (pypi-uri "certifi" version))
(sha256
(base32
- "05lgwf9rz1kn465azy2bpb3zmpnsn9gkypbhnjlclchv98ssgc1h"))))
+ "06c9dcyv8ss050gkv5xjivbxhm6qm0s9vzy4r33wqabgv118lw7p"))))
(build-system python-build-system)
(inputs
`(("python-setuptools" ,python-setuptools)))
--
2.10.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 02/11] gnu: python-dateutil-2: Update to 2.5.3.
2016-09-13 1:38 [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 ng0
@ 2016-09-13 1:38 ` ng0
2016-09-25 18:06 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 03/11] gnu: Add python-flask-babel ng0
` (9 subsequent siblings)
10 siblings, 1 reply; 27+ messages in thread
From: ng0 @ 2016-09-13 1:38 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-dateutil-2): Update to 2.5.3.
---
gnu/packages/python.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3f1f59d..611e99f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -943,14 +943,14 @@ Python file, so it can be easily copied into your project.")
(define-public python-dateutil-2
(package
(name "python-dateutil")
- (version "2.5.2")
+ (version "2.5.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-dateutil" version))
(sha256
(base32
- "0jrfpcgvgya6hs45dhrd9yiqgdgz9qp9aa07zsw8gqgn8zphff86"))))
+ "1v9j9fmf8g911yg6k01xa2db6dx3wv73zkk7fncsj7vagjqgs20l"))))
(build-system python-build-system)
(inputs
`(("python-six" ,python-six)))
--
2.10.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 03/11] gnu: Add python-flask-babel.
2016-09-13 1:38 [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 ng0
2016-09-13 1:38 ` [PATCH 02/11] gnu: python-dateutil-2: Update to 2.5.3 ng0
@ 2016-09-13 1:38 ` ng0
2016-09-25 18:05 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 04/11] gnu: python-ndg-httpsclient: Update to 0.4.2 ng0
` (8 subsequent siblings)
10 siblings, 1 reply; 27+ messages in thread
From: ng0 @ 2016-09-13 1:38 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-flask-babel): New variable.
---
gnu/packages/python.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 611e99f..0e75223 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8489,6 +8489,41 @@ presume or force a developer to use a particular tool or library.")
(strip-python2-variant python-flask)))
(native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+(define-public python-flask-babel
+ (package
+ (name "python-flask-babel")
+ (version "0.11.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Flask-Babel" version))
+ (sha256
+ (base32
+ "16b80cipdba9xj3jlaiaq6wgrgpjb70w3j01jjy9hbp4k71kd6yj"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-flask" ,python-flask)
+ ("python-babel" ,python-babel)
+ ("python-jinja2" ,python-jinja2)))
+ (home-page "http://github.com/python-babel/flask-babel")
+ (synopsis "Adds i18n/l10n support to Flask applications")
+ (description
+ "Implements i18n and l10n support for Flask, based on the
+Python babel module as well as pytz.")
+ (license license:bsd-3)))
+
+(define-public python2-flask-babel
+ (package
+ (inherit (package-with-python2
+ (strip-python2-variant python-flask-babel)))
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)))
+ (inputs
+ `(("python2-flask" ,python2-flask)
+ ("python2-babel" ,python2-babel)
+ ("python2-jinja2" ,python2-jinja2)
+ ("python2-pytz" ,python2-pytz)))))
+
(define-public python-cookies
(package
(name "python-cookies")
--
2.10.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 04/11] gnu: python-ndg-httpsclient: Update to 0.4.2.
2016-09-13 1:38 [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 ng0
2016-09-13 1:38 ` [PATCH 02/11] gnu: python-dateutil-2: Update to 2.5.3 ng0
2016-09-13 1:38 ` [PATCH 03/11] gnu: Add python-flask-babel ng0
@ 2016-09-13 1:38 ` ng0
2016-09-25 18:05 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 05/11] gnu: python-pyasn1: Update to 0.1.9 ng0
` (7 subsequent siblings)
10 siblings, 1 reply; 27+ messages in thread
From: ng0 @ 2016-09-13 1:38 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-ndg-httpsclient): Update to 0.4.2.
[source]: Use 'pypi-uri' format.
---
gnu/packages/python.scm | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0e75223..43f53f5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6823,15 +6823,13 @@ be set via config files and/or environment variables.")
(define-public python-ndg-httpsclient
(package
(name "python-ndg-httpsclient")
- (version "0.4.0")
+ (version "0.4.2")
(source (origin
(method url-fetch)
- (uri (string-append
- "https://pypi.python.org/packages/source/n/ndg-httpsclient/"
- "ndg_httpsclient-" version ".tar.gz"))
+ (uri (pypi-uri "ndg_httpsclient" version))
(sha256
(base32
- "0x32ibixm3vv5m9xfk83xsqm8xcqw4dd0khbh6qbri6rxgymbhg8"))))
+ "1b5qirv46v4dpnmfqviwq42mdwfcby4dxmz0i41wad2337pqf2aq"))))
(build-system python-build-system)
(propagated-inputs
`(("python-pyopenssl" ,python-pyopenssl)))
--
2.10.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 05/11] gnu: python-pyasn1: Update to 0.1.9.
2016-09-13 1:38 [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 ng0
` (2 preceding siblings ...)
2016-09-13 1:38 ` [PATCH 04/11] gnu: python-ndg-httpsclient: Update to 0.4.2 ng0
@ 2016-09-13 1:38 ` ng0
2016-09-25 18:05 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 06/11] gnu: python-pygments: Update to 2.1.3 ng0
` (6 subsequent siblings)
10 siblings, 1 reply; 27+ messages in thread
From: ng0 @ 2016-09-13 1:38 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-pyasn1): Update to 0.1.9.
[source]: Use 'pypi-uri' format.
---
gnu/packages/python.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 43f53f5..cf2870a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5808,15 +5808,14 @@ designed to efficently cope with extremely large amounts of data.")
(define-public python-pyasn1
(package
(name "python-pyasn1")
- (version "0.1.8")
+ (version "0.1.9")
(source
(origin
(method url-fetch)
- (uri (string-append "https://pypi.python.org/packages/source/p/"
- "pyasn1/pyasn1-" version ".tar.gz"))
+ (uri (pypi-uri "pyasn1" version))
(sha256
(base32
- "0iw31d9l0zwx35szkzq72hiw002wnqrlrsi9dpbrfngcl1ybwcsx"))))
+ "0zraxni14bqi20kr4bi6nwsh32aibz0fq0xaczfisw0zdpcsqg45"))))
(build-system python-build-system)
(home-page "http://pyasn1.sourceforge.net/")
(synopsis "ASN.1 types and codecs")
--
2.10.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 06/11] gnu: python-pygments: Update to 2.1.3.
2016-09-13 1:38 [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 ng0
` (3 preceding siblings ...)
2016-09-13 1:38 ` [PATCH 05/11] gnu: python-pyasn1: Update to 0.1.9 ng0
@ 2016-09-13 1:38 ` ng0
2016-09-25 18:03 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 07/11] gnu: Add python-gunicorn ng0
` (5 subsequent siblings)
10 siblings, 1 reply; 27+ messages in thread
From: ng0 @ 2016-09-13 1:38 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-pygments): Update to 2.1.3.
---
gnu/packages/python.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index cf2870a..92bd538 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2663,14 +2663,14 @@ reStructuredText.")
(define-public python-pygments
(package
(name "python-pygments")
- (version "2.0.2")
+ (version "2.1.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Pygments" version))
(sha256
(base32
- "0lagrwifsgn0s8bzqahpr87p7gd38xja8f06akscinp6hj89283k"))))
+ "10axnp2wpjnq9g8wg53fx0c70dfxqrz498jyz8mrdx9a3flwir48"))))
(build-system python-build-system)
(inputs
`(("python-setuptools" ,python-setuptools)))
--
2.10.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 07/11] gnu: Add python-gunicorn.
2016-09-13 1:38 [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 ng0
` (4 preceding siblings ...)
2016-09-13 1:38 ` [PATCH 06/11] gnu: python-pygments: Update to 2.1.3 ng0
@ 2016-09-13 1:38 ` ng0
2016-09-13 12:35 ` Hartmut Goebel
2016-09-13 1:38 ` [PATCH 08/11] gnu: Add python-httpbin ng0
` (4 subsequent siblings)
10 siblings, 1 reply; 27+ messages in thread
From: ng0 @ 2016-09-13 1:38 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-gunicorn): New variable.
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 92bd538..8f9a335 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -693,6 +693,36 @@ certificate returned by the server to which a connection has been established,
and verifies that it matches the intended target hostname.")
(license license:psfl)))
+(define-public python-gunicorn
+ (package
+ (name "python-gunicorn")
+ (version "19.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "gunicorn" version))
+ (sha256
+ (base32
+ "065n5z91607q4l8wncqkz297cdcb60cz8wnyxy88wk4as4b6jgw1"))))
+ (build-system python-build-system)
+ (arguments
+ ;; Tests require older versions of pytest-cov and maybe others
+ `(#:tests? #f))
+ (inputs
+ `(("python-sphinx" ,python-sphinx)))
+ (home-page "http://gunicorn.org")
+ (synopsis "WSGI HTTP Server")
+ (description
+ "gunicorn 'Green Unicorn' is a WSGI HTTP Server.")
+ (license license:expat)))
+
+(define-public python2-gunicorn
+ (package
+ (inherit (package-with-python2
+ (strip-python2-variant python-gunicorn)))
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)))))
+
(define-public python-h5py
(package
(name "python-h5py")
--
2.10.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 08/11] gnu: Add python-httpbin.
2016-09-13 1:38 [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 ng0
` (5 preceding siblings ...)
2016-09-13 1:38 ` [PATCH 07/11] gnu: Add python-gunicorn ng0
@ 2016-09-13 1:38 ` ng0
2016-09-25 18:06 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 09/11] gnu: Add python-pytest-httpbin ng0
` (3 subsequent siblings)
10 siblings, 1 reply; 27+ messages in thread
From: ng0 @ 2016-09-13 1:38 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-httpbin): New variable.
---
gnu/packages/python.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8f9a335..c4e2a58 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -525,6 +525,52 @@ Python interface around SSH networking concepts.")
(define-public python2-paramiko
(package-with-python2 python-paramiko))
+(define-public python-httpbin
+ (package
+ (name "python-httpbin")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "httpbin" version))
+ (sha256
+ (base32
+ "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-decorator" ,python-decorator)
+ ("python-flask" ,python-flask)
+ ("python-gevent" ,python-gevent)
+ ("python-greenlet" ,python-greenlet)
+ ("python-gunicorn" ,python-gunicorn)
+ ("python-itsdangerous" ,python-itsdangerous)
+ ("python-jinja2" ,python-jinja2)
+ ("python-markupsafe" ,python-markupsafe)
+ ("python-six" ,python-six)
+ ("python-werkzeug" ,python-werkzeug)))
+ (home-page "https://httpbin.org/")
+ (synopsis "HTTP Request and Response Service")
+ (description
+ "@code{httpbin} covers all kinds of HTTP scenarios for testing
+HTTP libraries. Additional endpoints are being considered.
+All endpoint responses are JSON-encoded, it can be run as a WSGI App.")
+ (license license:expat)))
+
+(define-public python2-httpbin
+ (package
+ (inherit (package-with-python2
+ (strip-python2-variant python-httpbin)))
+ (inputs `(("python2-setuptools" ,python2-setuptools)
+ ("python2-decorator" ,python2-decorator)
+ ("python2-flask" ,python2-flask)
+ ("python2-gevent" ,python2-gevent)
+ ("python2-greenlet" ,python2-greenlet)
+ ("python2-gunicorn" ,python2-gunicorn)
+ ("python2-itsdangerous" ,python2-itsdangerous)
+ ("python2-jinja2" ,python2-jinja2)
+ ("python2-markupsafe" ,python2-markupsafe)
+ ("python2-six" ,python2-six)
+ ("python2-werkzeug" ,python2-werkzeug)))))
(define-public python-httplib2
(package
--
2.10.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 09/11] gnu: Add python-pytest-httpbin.
2016-09-13 1:38 [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 ng0
` (6 preceding siblings ...)
2016-09-13 1:38 ` [PATCH 08/11] gnu: Add python-httpbin ng0
@ 2016-09-13 1:38 ` ng0
2016-09-25 18:06 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 10/11] gnu: Add python-pysocks ng0
` (2 subsequent siblings)
10 siblings, 1 reply; 27+ messages in thread
From: ng0 @ 2016-09-13 1:38 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-pytest-httpbin): New variable.
---
gnu/packages/python.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c4e2a58..fdf5ec8 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1714,6 +1714,41 @@ supports coverage of subprocesses.")
(inputs `(("python2-setuptools" ,python2-setuptools)
,@(package-inputs base))))))
+(define-public python-pytest-httpbin
+ (package
+ (name "python-pytest-httpbin")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-httpbin" version))
+ (sha256
+ (base32
+ "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-flask" ,python-flask)
+ ("python-decorator" ,python-decorator)
+ ("python-httpbin" ,python-httpbin)
+ ("python-six" ,python-six)))
+ (home-page "https://github.com/kevin1024/pytest-httpbin")
+ (synopsis "Test your HTTP library against a local copy of httpbin")
+ (description
+ "Pytest-httpbin creates a pytest fixture that is dependency-injected
+into your tests. It automatically starts up a HTTP server in a separate
+thread running httpbin and provides your test with the URL in the fixture.")
+ (license license:expat)))
+
+(define-public python2-pytest-httpbin
+ (package
+ (inherit (package-with-python2
+ (strip-python2-variant python-pytest-httpbin)))
+ (inputs `(("python2-setuptools" ,python2-setuptools)
+ ("python2-flask" ,python2-flask)
+ ("python2-decorator" ,python2-decorator)
+ ("python2-httpbin" ,python2-httpbin)
+ ("python2-six" ,python2-six)))))
+
(define-public python-pytest-runner
(package
(name "python-pytest-runner")
--
2.10.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 10/11] gnu: Add python-pysocks.
2016-09-13 1:38 [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 ng0
` (7 preceding siblings ...)
2016-09-13 1:38 ` [PATCH 09/11] gnu: Add python-pytest-httpbin ng0
@ 2016-09-13 1:38 ` ng0
2016-09-25 18:05 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7 ng0
2016-09-25 18:03 ` [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 Leo Famulari
10 siblings, 1 reply; 27+ messages in thread
From: ng0 @ 2016-09-13 1:38 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-pysocks): New variable.
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index fdf5ec8..5f7f8e0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1283,6 +1283,34 @@ Python 3.3+.")
(strip-python2-variant python-pyicu)))
(native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+(define-public python-pysocks
+ (package
+ (name "python-pysocks")
+ (version "1.5.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "PySocks" version))
+ (sha256
+ (base32
+ "124bydbcspzhkb6ynckvgqra1b79rh5mrq98kbyyd202n6a7c775"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; Tests are optional and use a prebuilt mocks
+ (home-page "https://github.com/Anorov/PySocks")
+ (synopsis
+ "Python SOCKS client module")
+ (description
+ "Semi-actively maintained SocksiPy fork which contains many
+improvements to the original.")
+ (license license:bsd-3)))
+
+(define-public python2-pysocks
+ (package
+ (inherit (package-with-python2
+ (strip-python2-variant python-pysocks)))
+ (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+
(define-public python2-dogtail
;; Python 2 only, as it leads to "TabError: inconsistent use of tabs and
;; spaces in indentation" with Python 3.
--
2.10.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7.
2016-09-13 1:38 [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 ng0
` (8 preceding siblings ...)
2016-09-13 1:38 ` [PATCH 10/11] gnu: Add python-pysocks ng0
@ 2016-09-13 1:38 ` ng0
2016-09-13 1:43 ` ng0
2016-09-25 18:07 ` Leo Famulari
2016-09-25 18:03 ` [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 Leo Famulari
10 siblings, 2 replies; 27+ messages in thread
From: ng0 @ 2016-09-13 1:38 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-pytest-httpbin-0.0.7): New variable.
---
gnu/packages/python.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5f7f8e0..64135d2 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1777,6 +1777,28 @@ thread running httpbin and provides your test with the URL in the fixture.")
("python2-httpbin" ,python2-httpbin)
("python2-six" ,python2-six)))))
+(define-public python-pytest-httpbin-0.0.7
+ (package
+ (inherit python-pytest-httpbin)
+ (version "0.0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-httpbin" version))
+ (sha256
+ (base32
+ "08ghq923dn33rllip3vap2p9fb680g0i96jdn5lcpfy8amq8mbq3"))))))
+
+(define-public python2-pytest-httpbin-0.0.7
+ (package
+ (inherit (package-with-python2
+ (strip-python2-variant python-pytest-httpbin-0.0.7)))
+ (inputs `(("python2-setuptools" ,python2-setuptools)
+ ("python2-flask" ,python2-flask)
+ ("python2-decorator" ,python2-decorator)
+ ("python2-httpbin" ,python2-httpbin)
+ ("python2-six" ,python2-six)))))
+
(define-public python-pytest-runner
(package
(name "python-pytest-runner")
--
2.10.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* Re: [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7.
2016-09-13 1:38 ` [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7 ng0
@ 2016-09-13 1:43 ` ng0
2016-09-25 18:08 ` Leo Famulari
2016-09-25 18:07 ` Leo Famulari
1 sibling, 1 reply; 27+ messages in thread
From: ng0 @ 2016-09-13 1:43 UTC (permalink / raw)
To: guix-devel
ng0 <ng0@we.make.ritual.n0.is> writes:
> * gnu/packages/python.scm (python-pytest-httpbin-0.0.7): New variable.
> ---
> gnu/packages/python.scm | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 5f7f8e0..64135d2 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -1777,6 +1777,28 @@ thread running httpbin and provides your test with the URL in the fixture.")
> ("python2-httpbin" ,python2-httpbin)
> ("python2-six" ,python2-six)))))
>
> +(define-public python-pytest-httpbin-0.0.7
> + (package
> + (inherit python-pytest-httpbin)
> + (version "0.0.7")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (pypi-uri "pytest-httpbin" version))
> + (sha256
> + (base32
> + "08ghq923dn33rllip3vap2p9fb680g0i96jdn5lcpfy8amq8mbq3"))))))
> +
> +(define-public python2-pytest-httpbin-0.0.7
> + (package
> + (inherit (package-with-python2
> + (strip-python2-variant python-pytest-httpbin-0.0.7)))
> + (inputs `(("python2-setuptools" ,python2-setuptools)
> + ("python2-flask" ,python2-flask)
> + ("python2-decorator" ,python2-decorator)
> + ("python2-httpbin" ,python2-httpbin)
> + ("python2-six" ,python2-six)))))
> +
> (define-public python-pytest-runner
> (package
> (name "python-pytest-runner")
> --
> 2.10.0
>
>
I forgot to comment this when I reworked the patch:
This is needed for python-requests 2.10.0 and later (current: 2.11.1),
however I had to stop at this point for now because pytest needed an
update which leads to further problems.
All of this is to establish a base for packaging searx, an AGPL3 search
engine.
--
ng0
For non-prism friendly talk find me on http://www.psyced.org
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 07/11] gnu: Add python-gunicorn.
2016-09-13 1:38 ` [PATCH 07/11] gnu: Add python-gunicorn ng0
@ 2016-09-13 12:35 ` Hartmut Goebel
2016-09-24 22:23 ` ng0
0 siblings, 1 reply; 27+ messages in thread
From: Hartmut Goebel @ 2016-09-13 12:35 UTC (permalink / raw)
To: guix-devel
Am 13.09.2016 um 03:38 schrieb ng0:
> * gnu/packages/python.scm (python-gunicorn): New variable.
I submitted a patch for adding this to gnu/packages/web.scm.
Additionally I questioned whether this package should be called only
"gnunicorn" since it it not a python *package* but a program.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 07/11] gnu: Add python-gunicorn.
2016-09-13 12:35 ` Hartmut Goebel
@ 2016-09-24 22:23 ` ng0
2016-09-25 18:18 ` Hartmut Goebel
0 siblings, 1 reply; 27+ messages in thread
From: ng0 @ 2016-09-24 22:23 UTC (permalink / raw)
To: Hartmut Goebel, guix-devel
Hartmut Goebel <h.goebel@crazy-compilers.com> writes:
> Am 13.09.2016 um 03:38 schrieb ng0:
>> * gnu/packages/python.scm (python-gunicorn): New variable.
>
> I submitted a patch for adding this to gnu/packages/web.scm.
Okay. Is there anything more python related you are about to add, so I
can avoid further duplicate work?
Considering the last private conversation: I think we should exchange
regulary (off-list, in private) what we are working on so our work can
be more effective (less collisions etc).
What do you think?
> Additionally I questioned whether this package should be called only
> "gnunicorn" since it it not a python *package* but a program.
I would've called it gunicorn, looking at it now.
> --
> Regards
> Hartmut Goebel
>
> | Hartmut Goebel | h.goebel@crazy-compilers.com |
> | www.crazy-compilers.com | compilers which you thought are impossible |
>
>
>
--
ng0
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31.
2016-09-13 1:38 [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 ng0
` (9 preceding siblings ...)
2016-09-13 1:38 ` [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7 ng0
@ 2016-09-25 18:03 ` Leo Famulari
10 siblings, 0 replies; 27+ messages in thread
From: Leo Famulari @ 2016-09-25 18:03 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 13, 2016 at 01:38:17AM +0000, ng0 wrote:
> * gnu/packages/python.scm (python-certifi): Update to 2016.8.31.
LGTM
> ---
> gnu/packages/python.scm | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index b839f22..3f1f59d 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -2168,13 +2168,13 @@ files.")
> (define-public python-certifi
> (package
> (name "python-certifi")
> - (version "2015.11.20.1")
> + (version "2016.8.31")
> (source (origin
> (method url-fetch)
> (uri (pypi-uri "certifi" version))
> (sha256
> (base32
> - "05lgwf9rz1kn465azy2bpb3zmpnsn9gkypbhnjlclchv98ssgc1h"))))
> + "06c9dcyv8ss050gkv5xjivbxhm6qm0s9vzy4r33wqabgv118lw7p"))))
> (build-system python-build-system)
> (inputs
> `(("python-setuptools" ,python-setuptools)))
> --
> 2.10.0
>
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 06/11] gnu: python-pygments: Update to 2.1.3.
2016-09-13 1:38 ` [PATCH 06/11] gnu: python-pygments: Update to 2.1.3 ng0
@ 2016-09-25 18:03 ` Leo Famulari
0 siblings, 0 replies; 27+ messages in thread
From: Leo Famulari @ 2016-09-25 18:03 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 13, 2016 at 01:38:22AM +0000, ng0 wrote:
> * gnu/packages/python.scm (python-pygments): Update to 2.1.3.
LGTM
> ---
> gnu/packages/python.scm | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index cf2870a..92bd538 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -2663,14 +2663,14 @@ reStructuredText.")
> (define-public python-pygments
> (package
> (name "python-pygments")
> - (version "2.0.2")
> + (version "2.1.3")
> (source
> (origin
> (method url-fetch)
> (uri (pypi-uri "Pygments" version))
> (sha256
> (base32
> - "0lagrwifsgn0s8bzqahpr87p7gd38xja8f06akscinp6hj89283k"))))
> + "10axnp2wpjnq9g8wg53fx0c70dfxqrz498jyz8mrdx9a3flwir48"))))
> (build-system python-build-system)
> (inputs
> `(("python-setuptools" ,python-setuptools)))
> --
> 2.10.0
>
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 03/11] gnu: Add python-flask-babel.
2016-09-13 1:38 ` [PATCH 03/11] gnu: Add python-flask-babel ng0
@ 2016-09-25 18:05 ` Leo Famulari
0 siblings, 0 replies; 27+ messages in thread
From: Leo Famulari @ 2016-09-25 18:05 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 13, 2016 at 01:38:19AM +0000, ng0 wrote:
> * gnu/packages/python.scm (python-flask-babel): New variable.
> +(define-public python2-flask-babel
> + (package
> + (inherit (package-with-python2
> + (strip-python2-variant python-flask-babel)))
> + (native-inputs
> + `(("python2-setuptools" ,python2-setuptools)))
> + (inputs
> + `(("python2-flask" ,python2-flask)
> + ("python2-babel" ,python2-babel)
> + ("python2-jinja2" ,python2-jinja2)
> + ("python2-pytz" ,python2-pytz)))))
This won't work without the correct (properties) field in
python-flask-babel. Also, this (inputs) field could append to the
inherited inputs.
I mentioned an example in a review I did a few minutes ago.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 04/11] gnu: python-ndg-httpsclient: Update to 0.4.2.
2016-09-13 1:38 ` [PATCH 04/11] gnu: python-ndg-httpsclient: Update to 0.4.2 ng0
@ 2016-09-25 18:05 ` Leo Famulari
0 siblings, 0 replies; 27+ messages in thread
From: Leo Famulari @ 2016-09-25 18:05 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 13, 2016 at 01:38:20AM +0000, ng0 wrote:
> * gnu/packages/python.scm (python-ndg-httpsclient): Update to 0.4.2.
> [source]: Use 'pypi-uri' format.
LGTM. I will make sure that certbot still build before committing.
> ---
> gnu/packages/python.scm | 8 +++-----
> 1 file changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 0e75223..43f53f5 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -6823,15 +6823,13 @@ be set via config files and/or environment variables.")
> (define-public python-ndg-httpsclient
> (package
> (name "python-ndg-httpsclient")
> - (version "0.4.0")
> + (version "0.4.2")
> (source (origin
> (method url-fetch)
> - (uri (string-append
> - "https://pypi.python.org/packages/source/n/ndg-httpsclient/"
> - "ndg_httpsclient-" version ".tar.gz"))
> + (uri (pypi-uri "ndg_httpsclient" version))
> (sha256
> (base32
> - "0x32ibixm3vv5m9xfk83xsqm8xcqw4dd0khbh6qbri6rxgymbhg8"))))
> + "1b5qirv46v4dpnmfqviwq42mdwfcby4dxmz0i41wad2337pqf2aq"))))
> (build-system python-build-system)
> (propagated-inputs
> `(("python-pyopenssl" ,python-pyopenssl)))
> --
> 2.10.0
>
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 10/11] gnu: Add python-pysocks.
2016-09-13 1:38 ` [PATCH 10/11] gnu: Add python-pysocks ng0
@ 2016-09-25 18:05 ` Leo Famulari
0 siblings, 0 replies; 27+ messages in thread
From: Leo Famulari @ 2016-09-25 18:05 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 13, 2016 at 01:38:26AM +0000, ng0 wrote:
> * gnu/packages/python.scm (python-pysocks): New variable.
Please fix the use of the python2-variant system with a (properties)
field in python-pysocks.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 05/11] gnu: python-pyasn1: Update to 0.1.9.
2016-09-13 1:38 ` [PATCH 05/11] gnu: python-pyasn1: Update to 0.1.9 ng0
@ 2016-09-25 18:05 ` Leo Famulari
0 siblings, 0 replies; 27+ messages in thread
From: Leo Famulari @ 2016-09-25 18:05 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 13, 2016 at 01:38:21AM +0000, ng0 wrote:
> * gnu/packages/python.scm (python-pyasn1): Update to 0.1.9.
> [source]: Use 'pypi-uri' format.
LGTM
> ---
> gnu/packages/python.scm | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 43f53f5..cf2870a 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -5808,15 +5808,14 @@ designed to efficently cope with extremely large amounts of data.")
> (define-public python-pyasn1
> (package
> (name "python-pyasn1")
> - (version "0.1.8")
> + (version "0.1.9")
> (source
> (origin
> (method url-fetch)
> - (uri (string-append "https://pypi.python.org/packages/source/p/"
> - "pyasn1/pyasn1-" version ".tar.gz"))
> + (uri (pypi-uri "pyasn1" version))
> (sha256
> (base32
> - "0iw31d9l0zwx35szkzq72hiw002wnqrlrsi9dpbrfngcl1ybwcsx"))))
> + "0zraxni14bqi20kr4bi6nwsh32aibz0fq0xaczfisw0zdpcsqg45"))))
> (build-system python-build-system)
> (home-page "http://pyasn1.sourceforge.net/")
> (synopsis "ASN.1 types and codecs")
> --
> 2.10.0
>
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 08/11] gnu: Add python-httpbin.
2016-09-13 1:38 ` [PATCH 08/11] gnu: Add python-httpbin ng0
@ 2016-09-25 18:06 ` Leo Famulari
0 siblings, 0 replies; 27+ messages in thread
From: Leo Famulari @ 2016-09-25 18:06 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 13, 2016 at 01:38:24AM +0000, ng0 wrote:
> * gnu/packages/python.scm (python-httpbin): New variable.
Python2-variant fixes required.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 02/11] gnu: python-dateutil-2: Update to 2.5.3.
2016-09-13 1:38 ` [PATCH 02/11] gnu: python-dateutil-2: Update to 2.5.3 ng0
@ 2016-09-25 18:06 ` Leo Famulari
0 siblings, 0 replies; 27+ messages in thread
From: Leo Famulari @ 2016-09-25 18:06 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 13, 2016 at 01:38:18AM +0000, ng0 wrote:
> * gnu/packages/python.scm (python-dateutil-2): Update to 2.5.3.
LGTM
> ---
> gnu/packages/python.scm | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 3f1f59d..611e99f 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -943,14 +943,14 @@ Python file, so it can be easily copied into your project.")
> (define-public python-dateutil-2
> (package
> (name "python-dateutil")
> - (version "2.5.2")
> + (version "2.5.3")
> (source
> (origin
> (method url-fetch)
> (uri (pypi-uri "python-dateutil" version))
> (sha256
> (base32
> - "0jrfpcgvgya6hs45dhrd9yiqgdgz9qp9aa07zsw8gqgn8zphff86"))))
> + "1v9j9fmf8g911yg6k01xa2db6dx3wv73zkk7fncsj7vagjqgs20l"))))
> (build-system python-build-system)
> (inputs
> `(("python-six" ,python-six)))
> --
> 2.10.0
>
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 09/11] gnu: Add python-pytest-httpbin.
2016-09-13 1:38 ` [PATCH 09/11] gnu: Add python-pytest-httpbin ng0
@ 2016-09-25 18:06 ` Leo Famulari
0 siblings, 0 replies; 27+ messages in thread
From: Leo Famulari @ 2016-09-25 18:06 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 13, 2016 at 01:38:25AM +0000, ng0 wrote:
> * gnu/packages/python.scm (python-pytest-httpbin): New variable.
python2-variant fixes required.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7.
2016-09-13 1:38 ` [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7 ng0
2016-09-13 1:43 ` ng0
@ 2016-09-25 18:07 ` Leo Famulari
1 sibling, 0 replies; 27+ messages in thread
From: Leo Famulari @ 2016-09-25 18:07 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 13, 2016 at 01:38:27AM +0000, ng0 wrote:
> * gnu/packages/python.scm (python-pytest-httpbin-0.0.7): New variable.
Please add a comment to this package definition explaining why we need
to use this version.
Also, the python2-variant stuff needs to be fixed.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7.
2016-09-13 1:43 ` ng0
@ 2016-09-25 18:08 ` Leo Famulari
0 siblings, 0 replies; 27+ messages in thread
From: Leo Famulari @ 2016-09-25 18:08 UTC (permalink / raw)
To: ng0; +Cc: guix-devel
On Tue, Sep 13, 2016 at 01:43:59AM +0000, ng0 wrote:
> I forgot to comment this when I reworked the patch:
> This is needed for python-requests 2.10.0 and later (current: 2.11.1),
> however I had to stop at this point for now because pytest needed an
> update which leads to further problems.
The wip-python branch is for upgraded the core Python packages. Efraim
might pick it up. I intend to pick it back up. It will require many
updates.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 07/11] gnu: Add python-gunicorn.
2016-09-24 22:23 ` ng0
@ 2016-09-25 18:18 ` Hartmut Goebel
2016-09-25 18:23 ` Hartmut Goebel
0 siblings, 1 reply; 27+ messages in thread
From: Hartmut Goebel @ 2016-09-25 18:18 UTC (permalink / raw)
To: ng0, guix-devel
Am 25.09.2016 um 00:23 schrieb ng0:
> Okay. Is there anything more python related you are about to add, so I
> can avoid further duplicate work?
No, I have no more plans for python related stuff on my list (well, I
don't have a list, though).
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [PATCH 07/11] gnu: Add python-gunicorn.
2016-09-25 18:18 ` Hartmut Goebel
@ 2016-09-25 18:23 ` Hartmut Goebel
0 siblings, 0 replies; 27+ messages in thread
From: Hartmut Goebel @ 2016-09-25 18:23 UTC (permalink / raw)
To: ng0, guix-devel
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
Am 25.09.2016 um 20:18 schrieb Hartmut Goebel:
> Am 25.09.2016 um 00:23 schrieb ng0:
>> Okay. Is there anything more python related you are about to add, so I
>> can avoid further duplicate work?
> No, I have no more plans for python related stuff on my list (well, I
> don't have a list, though).
>
Sorry, this was wrong. I have python-setproctitle and and
python-validictory in my pipeline. These are finished, but I did not yet
send patches.
--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software
Development
Goebel Consult, Landshut
http://www.goebel-consult.de
Blog: http://www.goebel-consult.de/blog/feiertagsarbeit-bei-teletrust
Kolumne: http://www.cissp-gefluester.de/2010-09-mut-zur-beschraenkung
[-- Attachment #2: Type: text/html, Size: 2113 bytes --]
^ permalink raw reply [flat|nested] 27+ messages in thread
end of thread, other threads:[~2016-09-25 18:23 UTC | newest]
Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-13 1:38 [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 ng0
2016-09-13 1:38 ` [PATCH 02/11] gnu: python-dateutil-2: Update to 2.5.3 ng0
2016-09-25 18:06 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 03/11] gnu: Add python-flask-babel ng0
2016-09-25 18:05 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 04/11] gnu: python-ndg-httpsclient: Update to 0.4.2 ng0
2016-09-25 18:05 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 05/11] gnu: python-pyasn1: Update to 0.1.9 ng0
2016-09-25 18:05 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 06/11] gnu: python-pygments: Update to 2.1.3 ng0
2016-09-25 18:03 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 07/11] gnu: Add python-gunicorn ng0
2016-09-13 12:35 ` Hartmut Goebel
2016-09-24 22:23 ` ng0
2016-09-25 18:18 ` Hartmut Goebel
2016-09-25 18:23 ` Hartmut Goebel
2016-09-13 1:38 ` [PATCH 08/11] gnu: Add python-httpbin ng0
2016-09-25 18:06 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 09/11] gnu: Add python-pytest-httpbin ng0
2016-09-25 18:06 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 10/11] gnu: Add python-pysocks ng0
2016-09-25 18:05 ` Leo Famulari
2016-09-13 1:38 ` [PATCH 11/11] gnu: Add python-pytest-httpbin-0.0.7 ng0
2016-09-13 1:43 ` ng0
2016-09-25 18:08 ` Leo Famulari
2016-09-25 18:07 ` Leo Famulari
2016-09-25 18:03 ` [PATCH 01/11] gnu: python-certifi: Update to 2016.8.31 Leo Famulari
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.