From 6e5e39f4063b30fcea6d5a9af6769236d8a57cd3 Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Tue, 8 Sep 2015 00:22:49 +0200 Subject: gnu: Add python-netaddr. * gnu/packages/python.scm (python-netaddr, python2-netaddr): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index feddd1a46a..f85c788f43 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4739,3 +4739,31 @@ reading and writing MessagePack data.") (define-public python2-msgpack (package-with-python2 python-msgpack)) + +(define-public python-netaddr + (package + (name "python-netaddr") + (version "0.7.18") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/n/netaddr/netaddr-" + version + ".tar.gz")) + (sha256 + (base32 + "06dxjlbcicq7q3vqy8agq11ra01kvvd47j4mk6dmghjsyzyckxd1")))) + (build-system python-build-system) + (arguments `(#:tests? #f)) ;; No tests. + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/drkjam/netaddr/") + (synopsis "Pythonic manipulation of network addresses") + (description + "A Python library for representing and manipulating IPv4, IPv6, CIDR, EUI +and MAC network addresses.") + (license bsd-3))) + +(define-public python2-netaddr + (package-with-python2 python-netaddr)) -- cgit v1.2.3 From 8c692a52586937a58627ae609f08aaabb102b64f Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Wed, 9 Sep 2015 00:26:26 +0200 Subject: gnu: Add python-wrapt * gnu/packages/python.scm (python-wrapt, python2-wrapt): New variables. --- gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f85c788f43..04c842bc83 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4767,3 +4767,35 @@ and MAC network addresses.") (define-public python2-netaddr (package-with-python2 python-netaddr)) + +(define-public python-wrapt + (package + (name "python-wrapt") + (version "1.10.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/w/wrapt/wrapt-" + version + ".tar.gz")) + (sha256 + (base32 + "0cq8rlpzkxzk48b50yrfhzn1d1hrq4gjcdqlrgq4v5palgiv9jwr")))) + (build-system python-build-system) + (arguments + ;; Tests are not included in the tarball, they are only available in the + ;; git repository. + `(#:tests? #f)) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/GrahamDumpleton/wrapt") + (synopsis "Module for decorators, wrappers and monkey patching") + (description + "The aim of the wrapt module is to provide a transparent object proxy for + Python, which can be used as the basis for the construction of function + wrappers and decorator functions.") + (license bsd-2))) + +(define-public python2-wrapt + (package-with-python2 python-wrapt)) -- cgit v1.2.3 From b85c85becd36aa3abbd80dbb5b22705f10e5e57a Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Wed, 9 Sep 2015 00:44:14 +0200 Subject: gnu: Add python-iso8601. * gnu/packages/python.scm (python-iso8601, python2-iso8601): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 04c842bc83..85ab88c709 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4799,3 +4799,30 @@ and MAC network addresses.") (define-public python2-wrapt (package-with-python2 python-wrapt)) + +(define-public python-iso8601 + (package + (name "python-iso8601") + (version "0.1.10") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/i/iso8601/iso8601-" + version + ".tar.gz")) + (sha256 + (base32 + "1qf01afxh7j4gja71vxv345if8avg6nnm0ry0zsk6j3030xgy4p7")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://bitbucket.org/micktwomey/pyiso8601") + (synopsis "Module to parse ISO 8601 dates") + (description + "This module parses the most common forms of ISO 8601 date strings (e.g. +@code{2007-01-14T20:34:22+00:00}) into @code{datetime} objects.") + (license license:expat))) + +(define-public python2-iso8601 + (package-with-python2 python-iso8601)) -- cgit v1.2.3 From 5e412b6383fbdceb971d940ecb534f187a59a443 Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Wed, 9 Sep 2015 00:51:45 +0200 Subject: gnu: Add python-monotonic. * gnu/packages/python.scm (python-monotonic, python2-monotonic): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 85ab88c709..c58d7f3fc1 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4826,3 +4826,30 @@ and MAC network addresses.") (define-public python2-iso8601 (package-with-python2 python-iso8601)) + +(define-public python-monotonic + (package + (name "python-monotonic") + (version "0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/m/monotonic/monotonic-" + version + ".tar.gz")) + (sha256 + (base32 + "0yz0bcbwx8r2c01czzfpbrxddynxyk9k95jj8h6sgcb7xmfvl998")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/atdt/monotonic") + (synopsis "Implementation of time.monotonic() for Python 2 & < 3.3") + (description + "This module provides a monotonic() function which returns the value (in +fractional seconds) of a clock which never goes backwards.") + (license asl2.0))) + +(define-public python2-monotonic + (package-with-python2 python-monotonic)) -- cgit v1.2.3 From de34aface7e0c83b02c3def1ec55630e29bed6b7 Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Mon, 14 Sep 2015 22:16:53 +0200 Subject: gnu: Add python-webob. * gnu/packages/python.scm (python-webob, python2-webob): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index c58d7f3fc1..408064d9be 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4853,3 +4853,30 @@ fractional seconds) of a clock which never goes backwards.") (define-public python2-monotonic (package-with-python2 python-monotonic)) + +(define-public python-webob + (package + (name "python-webob") + (version "1.5.0b0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/W/WebOb/WebOb-" + version ".tar.gz")) + (sha256 + (base32 + "140b3iczclk1j0405rvw5gxshqfkhcc8254fj520z3m23cwbql4a")))) + (build-system python-build-system) + (inputs + `(("python-nose" ,python-nose) + ("python-setuptools" ,python-setuptools))) + (home-page "http://webob.org/") + (synopsis "WSGI request and response object") + (description + "WebOb provides wrappers around the WSGI request environment, and an +object to help create WSGI responses.") + (license license:expat))) + +(define-public python2-webob + (package-with-python2 python-webob)) -- cgit v1.2.3 From 350ba0a32b6d21acb974a1715d60df7839fd5acc Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Wed, 16 Sep 2015 23:02:11 +0200 Subject: gnu: Add python-prettytable * gnu/packages/python.scm (python-prettytable, python2-prettytable): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 408064d9be..1818993399 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4880,3 +4880,31 @@ object to help create WSGI responses.") (define-public python2-webob (package-with-python2 python-webob)) + +(define-public python-prettytable + (package + (name "python-prettytable") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/P/PrettyTable/" + "prettytable-" version ".tar.bz2")) + (sha256 + (base32 + "0diwsicwmiq2cpzpxri7cyl5fmsvicafw6nfqf6p6p322dji2g45")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://code.google.com/p/prettytable/") + (synopsis "Display tabular data in an ASCII table format") + (description + "A library designed to represent tabular data in visually appealing ASCII +tables. PrettyTable allows for selection of which columns are to be printed, +independent alignment of columns (left or right justified or centred) and +printing of sub-tables by specifying a row range.") + (license bsd-3))) + +(define-public python2-prettytable + (package-with-python2 python-prettytable)) -- cgit v1.2.3 From 7261d9eb16737c6cdf68ff4aa144541f752d24d6 Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Wed, 16 Sep 2015 23:24:36 +0200 Subject: gnu: Add python2-pyflakes and fix python2-pyflakes-0.8.1. * gnu/packages/python.scm (python2-pyflakes): New variable. * gnu/packages/python.scm (python2-pyflakes-0.8.1): Fix the definition. --- gnu/packages/python.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 1818993399..0117eb79ef 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4434,6 +4434,9 @@ PEP 8.") "Pyflakes statically checks Python source code for common errors.") (license license:expat))) +(define-public python2-pyflakes + (package-with-python2 python-pyflakes)) + (define-public python-mccabe (package (name "python-mccabe") @@ -4497,7 +4500,7 @@ complexity of Python source code.") "0sbpq6pqm1i9wqi41mlfrsc5rk92jv4mskvlyxmnhlbdnc80ma1z")))))) (define-public python2-pyflakes-0.8.1 - (package-with-python2 python-pyflakes)) + (package-with-python2 python-pyflakes-0.8.1)) (define-public python-flake8 (package -- cgit v1.2.3 From d7af1069876c66ee697941883c8fb654e642c49f Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Thu, 17 Sep 2015 01:41:50 +0200 Subject: gnu: Add python2-keyring. * gnu/packages/python.scm (python2-keyring): New variable. --- gnu/packages/python.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0117eb79ef..efda22b982 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -783,6 +783,9 @@ password storage.") ;; "MIT" and PSF dual license (license x11))) +(define-public python2-keyring + (package-with-python2 python-keyring)) + (define-public python-six (package (name "python-six") -- cgit v1.2.3 From 667d90dfee10ee03dd14e0ef479355eed302adbf Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 21 Sep 2015 16:24:51 +0200 Subject: gnu: python2-ipython: Override terminado in propagated inputs. * gnu/packages/python.scm (python2-ipython)[inputs, propagated-inputs]: Override inherited "python-terminado" in propagated inputs instead of regular inputs. --- gnu/packages/python.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index efda22b982..798a22f5df 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -3724,13 +3724,15 @@ computing.") `(#:tests? #f ,@(package-arguments ipython))) ;; Make sure we use custom python2-NAME packages. ;; FIXME: add pyreadline once available. + (propagated-inputs + `(("python2-terminado" ,python2-terminado) + ,@(alist-delete "python-terminado" + (package-propagated-inputs ipython)))) (inputs `(("python2-mock" ,python2-mock) ("python2-matplotlib" ,python2-matplotlib) - ("python2-terminado" ,python2-terminado) - ,@(alist-delete "python-terminado" - (alist-delete "python-matplotlib" - (package-inputs ipython)))))))) + ,@(alist-delete "python-matplotlib" + (package-inputs ipython))))))) (define-public python-isodate (package -- cgit v1.2.3