From 90db72d2253459c5c62d31b2ac2d56a6a6d11c93 Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Sun, 13 Dec 2020 07:05:40 +0100 Subject: gnu: python-license-expression: Update to 1.2. * gnu/packages/python-xyz.scm (python-license-expression): Update to 1.2. Signed-off-by: Nicolas Goaziou --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bfe005dc30..d8c563bdb1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -989,13 +989,13 @@ to users of that module.") (define-public python-license-expression (package (name "python-license-expression") - (version "0.999") + (version "1.2") (source (origin (method url-fetch) (uri (pypi-uri "license-expression" version)) (sha256 - (base32 "08ppb0bxbrsxazy88sgpl9yffvdsabw6dkk1nc332wcz2mphwwyf")))) + (base32 "1g0sgphss8hbi1rpl4avy1nmbixmy9v194xdbvkjgl90vzgy2q3r")))) (build-system python-build-system) (propagated-inputs `(("python-boolean.py" ,python-boolean.py))) -- cgit v1.2.3 From 41807eb5329299b8c45cd49356a4ead01ce0d469 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Sun, 13 Dec 2020 17:51:38 -0600 Subject: gnu: python-language-server: Update to 0.36.2. * gnu/packages/python-xyz.scm (python-language-server): Update to 0.36.2. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d8c563bdb1..b4b705391e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4137,14 +4137,14 @@ Server (PLS).") (define-public python-language-server (package (name "python-language-server") - (version "0.36.1") + (version "0.36.2") (source (origin (method url-fetch) (uri (pypi-uri "python-language-server" version)) (sha256 (base32 - "0ljzc50z5v08is8fis1fg2dk9sb6275jlvzxb6nij0w6ys772pf8")))) + "1c0pnk2aibfhfaanrs0a5gkabkvz81gj20z7r0152b7fcx5ci14r")))) (build-system python-build-system) (propagated-inputs `(("python-autopep8" ,python-autopep8) -- cgit v1.2.3 From bff6e01afee13c77fa774752405b2e7194ee8092 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 8 Dec 2020 02:46:38 +0000 Subject: gnu: python-dnspython: Fix indentation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-dnspython): Fix indentation. Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b4b705391e..c650c582d5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13352,24 +13352,24 @@ until the object is actually required, and caches the result of said call.") (define-public python-dnspython (package - (name "python-dnspython") - (version "1.16.0") - (source (origin - (method url-fetch) - (uri (string-append "http://www.dnspython.org/kits/" - version "/dnspython-" version ".tar.gz")) - (sha256 - (base32 - "1yaw7irazy42n0kdhlk7wyg8ki34rxcnc5xbc1wfwy245b0wbxab")))) - (build-system python-build-system) - (arguments '(#:tests? #f)) ; XXX: requires internet access - (home-page "http://www.dnspython.org") - (synopsis "DNS toolkit for Python") - (description - "dnspython is a DNS toolkit for Python. It supports almost all record + (name "python-dnspython") + (version "1.16.0") + (source (origin + (method url-fetch) + (uri (string-append "http://www.dnspython.org/kits/" + version "/dnspython-" version ".tar.gz")) + (sha256 + (base32 + "1yaw7irazy42n0kdhlk7wyg8ki34rxcnc5xbc1wfwy245b0wbxab")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ; XXX: requires internet access + (home-page "http://www.dnspython.org") + (synopsis "DNS toolkit for Python") + (description + "dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0.") - (license license:expat))) + (license license:expat))) (define-public python2-dnspython (package-with-python2 python-dnspython)) -- cgit v1.2.3 From 7a8a4fd7a73f81d99e293ae9f2c70357524beba1 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 8 Dec 2020 02:46:40 +0000 Subject: gnu: python-dnspython: Update to 2.0.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-dnspython): Update to 2.0.0. [source]: Download from pypi. [native-inputs]: Add unzip. [home-page]: Prefer https. (python-dnspython-1.16): (python2-dnspython-1.16): New variables. * gnu/packages/ebook.scm (calibre): * gnu/packages/web.scm (linkchecker): Use python2-dnspython-1.16. * gnu/packages/finance.scm (electrum): Use python-dnspython-1.16. Signed-off-by: Ludovic Courtès --- gnu/packages/ebook.scm | 2 +- gnu/packages/finance.scm | 2 +- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++-------- gnu/packages/web.scm | 2 +- 4 files changed, 24 insertions(+), 11 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index f1e2bd49cb..e8dedf1cdd 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -151,7 +151,7 @@ ("python2-css-parser" ,python2-css-parser) ("python2-dateutil" ,python2-dateutil) ("python2-dbus" ,python2-dbus) - ("python2-dnspython" ,python2-dnspython) + ("python2-dnspython" ,python2-dnspython-1.16) ("python2-dukpy" ,python2-dukpy) ("python2-feedparser" ,python2-feedparser) ("python2-html2text" ,python2-html2text) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 0ab033b796..6bd6827160 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -525,7 +525,7 @@ do so.") ("python-aiohttp-socks" ,python-aiohttp-socks) ("python-aiorpcx" ,python-aiorpcx) ("python-certifi" ,python-certifi) - ("python-dnspython" ,python-dnspython) + ("python-dnspython" ,python-dnspython-1.16) ("python-jsonrpclib-pelix" ,python-jsonrpclib-pelix))) (arguments `(#:tests? #f ; no tests diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c650c582d5..53f4f83f14 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2015, 2017 Ben Woodcroft ;;; Copyright © 2015, 2016 Erik Edrosa ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner -;;; Copyright © 2015, 2017 Kyle Meyer +;;; Copyright © 2015, 2017, 2020 Kyle Meyer ;;; Copyright © 2015, 2016 Chris Marusich ;;; Copyright © 2016 Danny Milosavljevic ;;; Copyright © 2016 Lukas Gradl @@ -13353,17 +13353,17 @@ until the object is actually required, and caches the result of said call.") (define-public python-dnspython (package (name "python-dnspython") - (version "1.16.0") + (version "2.0.0") (source (origin (method url-fetch) - (uri (string-append "http://www.dnspython.org/kits/" - version "/dnspython-" version ".tar.gz")) + (uri (pypi-uri "dnspython" version ".zip")) (sha256 (base32 - "1yaw7irazy42n0kdhlk7wyg8ki34rxcnc5xbc1wfwy245b0wbxab")))) + "1dyip5ygqqhrgcaiy7qzjpndl9xciip186paxqwkm726fj9z0jh4")))) (build-system python-build-system) + (native-inputs `(("unzip" ,unzip))) (arguments '(#:tests? #f)) ; XXX: requires internet access - (home-page "http://www.dnspython.org") + (home-page "https://www.dnspython.org") (synopsis "DNS toolkit for Python") (description "dnspython is a DNS toolkit for Python. It supports almost all record @@ -13371,8 +13371,21 @@ types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0.") (license license:expat))) -(define-public python2-dnspython - (package-with-python2 python-dnspython)) +(define-public python-dnspython-1.16 + (package + (inherit python-dnspython) + (version "1.16.0") + (source (origin + (method url-fetch) + (uri (string-append "http://www.dnspython.org/kits/" + version "/dnspython-" version ".tar.gz")) + (sha256 + (base32 + "1yaw7irazy42n0kdhlk7wyg8ki34rxcnc5xbc1wfwy245b0wbxab")))) + (native-inputs '()))) + +(define-public python2-dnspython-1.16 + (package-with-python2 python-dnspython-1.16)) (define-public python-py3dns (package diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index f26b114d1a..55157443d1 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -6431,7 +6431,7 @@ Instagram and YouTube.") "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187")))) (build-system python-build-system) (inputs - `(("python2-dnspython" ,python2-dnspython) + `(("python2-dnspython" ,python2-dnspython-1.16) ("python2-pyxdg" ,python2-pyxdg) ("python2-requests" ,python2-requests))) (native-inputs -- cgit v1.2.3 From 8071877fa782c9e2cfcd8276f602d948c49203f7 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Mon, 8 Jun 2020 23:57:19 +0200 Subject: gnu: Add python-contextvars. * gnu/packages/python-xyz.scm (python-contextvars): New variable. Signed-off-by: Leo Famulari --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 53f4f83f14..d84867e90a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23223,3 +23223,24 @@ process.") "Gamera is a toolkit for building document image recognition systems.") (home-page "https://gamera.informatik.hsnr.de/") (license license:gpl2+))) + +(define-public python-contextvars + (package + (name "python-contextvars") + (version "2.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "contextvars" version)) + (sha256 + (base32 + "17n3w8c20kgkgc6khaafdhhlcdj4bzman4paxqsl7harma59137k")))) + (build-system python-build-system) + (propagated-inputs + `(("python-immutables" ,python-immutables))) + (home-page + "https://github.com/MagicStack/contextvars") + (synopsis "PEP 567 Backport") + (description "This package implements a backport of Python 3.7 +@code{contextvars} module (see PEP 567) for Python 3.6.") + (license license:asl2.0))) -- cgit v1.2.3 From 56cfef47664879f2e976c6097f16dfb135733d84 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Tue, 9 Jun 2020 17:40:32 +0200 Subject: gnu: Add python-aiofiles. * gnu/packages/python-xyz.scm (python-aiofiles): New variable. Signed-off-by: Leo Famulari --- gnu/packages/python-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d84867e90a..7482c053e5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23244,3 +23244,21 @@ process.") (description "This package implements a backport of Python 3.7 @code{contextvars} module (see PEP 567) for Python 3.6.") (license license:asl2.0))) + +(define-public python-aiofiles + (package + (name "python-aiofiles") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "aiofiles" version)) + (sha256 + (base32 + "1bqmv019x16qa3zah0z915cw6z4va3fjs60fk2s7vyah3gyvrrlq")))) + (build-system python-build-system) + (home-page "https://github.com/Tinche/aiofiles") + (synopsis "File support for @code{asyncio}") + (description "@code{python-aiofiles} is a library for handling local +disk files in asyncio applications.") + (license license:asl2.0))) -- cgit v1.2.3 From f5de08ffab7ac671c7c3b4be76f5402004266930 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Wed, 10 Jun 2020 12:52:20 +0200 Subject: gnu: Add python-pyre-extensions. * gnu/packages/python-xyz.scm (python-pyre-extensions): New variable. Signed-off-by: Leo Famulari --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7482c053e5..8cdf07ceef 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23262,3 +23262,27 @@ process.") (description "@code{python-aiofiles} is a library for handling local disk files in asyncio applications.") (license license:asl2.0))) + +(define-public python-pyre-extensions + (package + (name "python-pyre-extensions") + (version "0.0.18") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyre-extensions" version)) + (sha256 + (base32 + "0c5cbbqrfyjwakdh3kbwxis6mbrbwky1z1fqslgszgpcj4g43q30")))) + (build-system python-build-system) + (propagated-inputs + `(("python-typing-extensions" + ,python-typing-extensions) + ("python-typing-inspect" ,python-typing-inspect))) + (home-page "https://pyre-check.org") + (synopsis + "Type system extensions for use with @code{python-pyre}") + (description + "@code{python-pyre-extensions} defines extensions to the standard +@code{typing} module that are supported by the Pyre typechecker.") + (license license:expat))) -- cgit v1.2.3 From cfdad650b9f97604bc989f9a11fbd801bf8a2e93 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Wed, 10 Jun 2020 17:00:25 +0200 Subject: gnu: Add python-dataclasses. * gnu/packages/python-xyz.scm (python-dataclasses): New variable. Signed-off-by: Leo Famulari --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8cdf07ceef..9450e5770f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23286,3 +23286,24 @@ disk files in asyncio applications.") "@code{python-pyre-extensions} defines extensions to the standard @code{typing} module that are supported by the Pyre typechecker.") (license license:expat))) + +(define-public python-dataclasses + (package + (name "python-dataclasses") + (version "0.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "dataclasses" version)) + (sha256 + (base32 + "1rh8111fbws2vxyf2qy2zw3x6p6cq1jfz8pf904gig5qwg56sjj9")))) + (build-system python-build-system) + (home-page + "https://github.com/ericvsmith/dataclasses") + (synopsis + "Backport of the @code{dataclasses} module for Python 3.6") + (description + "This is an implementation of PEP 557, Data Classes. It is a +backport of the @code{dataclasses} module for Python 3.6.") + (license license:asl2.0))) -- cgit v1.2.3 From 6655b975a0798a0473d23d134188fc39d8147b2c Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Wed, 10 Jun 2020 17:58:58 +0200 Subject: gnu: Add python-pywatchman. * gnu/packages/python-xyz.scm (python-pywatchman): New variable. Signed-off-by: Leo Famulari --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9450e5770f..0f8fd4d270 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23307,3 +23307,24 @@ disk files in asyncio applications.") "This is an implementation of PEP 557, Data Classes. It is a backport of the @code{dataclasses} module for Python 3.6.") (license license:asl2.0))) + +(define-public python-pywatchman + (package + (name "python-pywatchman") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pywatchman" version)) + (sha256 + (base32 + "1yf2gm20wc3djpb5larxii3l55xxby0il2ns3q0v1byyfnr7w16h")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ;there are none + (home-page + "https://facebook.github.io/watchman/") + (synopsis "Watchman client for python") + (description "@code{python-pywatchman} is a library to connect and +query Watchman to discover file changes.") + (license license:bsd-3))) -- cgit v1.2.3 From ae7033ff5ff1d0d2571d808d40add0dd8e97bf8a Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 18 Dec 2020 00:02:50 +0100 Subject: gnu: python-scipy-documentation: Add a file name for 'scipy-sphinx-theme'. * gnu/packages/python-xyz.scm (python-numpy-documentation)[native-inputs]: Add a file name for the "scipy-sphinx-time" input. --- gnu/packages/python-xyz.scm | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0f8fd4d270..956bac151a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4756,14 +4756,17 @@ color scales, and color space conversion easy. It has support for: ("texinfo" ,texinfo) ("perl" ,perl) ("scipy-sphinx-theme" - ,(origin ; The build script expects scipy-sphinx-theme as a git submodule - (method git-fetch) - (uri (git-reference - (url "https://github.com/scipy/scipy-sphinx-theme") - (commit "c466764e2231ba132c09826b5b138fffa1cfcec3"))) - (sha256 - (base32 - "0q2y87clwlsgc7wvlsn9pzyssybcq10plwhq2w1ydykfsyyqbmkl")))) + ,(let ((commit "c466764e2231ba132c09826b5b138fffa1cfcec3")) + (origin ;the build script expects scipy-sphinx-theme as a git submodule + (method git-fetch) + (uri (git-reference + (url "https://github.com/scipy/scipy-sphinx-theme") + (commit commit))) + (file-name (git-file-name "python-scipy-sphinx-theme" + (string-take commit 7))) + (sha256 + (base32 + "0q2y87clwlsgc7wvlsn9pzyssybcq10plwhq2w1ydykfsyyqbmkl"))))) ,@(package-native-inputs python-numpy))) (arguments `(#:tests? #f ; we're only generating the documentation -- cgit v1.2.3 From 045f4784412687ba72afd19c44269e66f7b82ad4 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 19 Dec 2020 21:59:40 -0500 Subject: gnu: python2-configargparse: Remove package. * gnu/packages/python-xyz.scm (python2-configargparse): Remove variable. --- gnu/packages/python-xyz.scm | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 956bac151a..347054c27a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10455,9 +10455,6 @@ 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)) - (define-public python-argparse-manpage (package (name "python-argparse-manpage") -- cgit v1.2.3 From 2fdb07094228463a127bd87ae1341e51ac89321e Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 18 Nov 2020 12:14:54 -0500 Subject: gnu: python-configargparse: Update to 1.2.3. * gnu/packages/python-xyz.scm (python-configargparse): Update to 1.2.3. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 347054c27a..98ee0859ba 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10427,13 +10427,13 @@ config files.") (define-public python-configargparse (package (name "python-configargparse") - (version "0.14.0") + (version "1.2.3") (source (origin (method url-fetch) (uri (pypi-uri "ConfigArgParse" version)) (sha256 (base32 - "149fy4zya0rsnlkvxbbq43cyr8lscb5k4pj1m6n7f1grwcmzwbif")))) + "1p1pzpf5qpf80bfxsx1mbw9blyhhypjvhl3i60pbmhfmhvlpplgd")))) (build-system python-build-system) (native-inputs `(("python-pyyaml" ,python-pyyaml))) -- cgit v1.2.3 From 2ecdf42b5a2b90c49a27a04033b33aae061ab08b Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 19 Dec 2020 18:38:34 -0500 Subject: gnu: python2-greenlet: Remove package. * gnu/packages/python-xyz.scm (python2-greenlet): Remove variable. --- gnu/packages/python-xyz.scm | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 98ee0859ba..4647dce908 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12484,9 +12484,6 @@ pseudo-concurrently (typically in a single or a few OS-level threads) and are synchronized with data exchanges on \"channels\".") (license (list license:psfl license:expat)))) -(define-public python2-greenlet - (package-with-python2 python-greenlet)) - (define-public python-objgraph (package (name "python-objgraph") -- cgit v1.2.3 From 0f9cb9b6bd81368f2bcc1a06895ffb45e3d8a24b Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 19 Dec 2020 18:40:16 -0500 Subject: gnu: python2-eventlet: Remove package. * gnu/packages/python-xyz.scm (python2-eventlet): Remove variable. --- gnu/packages/python-xyz.scm | 8 -------- 1 file changed, 8 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4647dce908..e94fddec4c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1742,14 +1742,6 @@ The event dispatch is implicit, which means you can easily use @code{Eventlet} from the Python interpreter, or as a small part of a larger application.") (license license:expat))) -(define-public python2-eventlet - (let ((base (package-with-python2 - (strip-python2-variant python-eventlet)))) - (package (inherit base) - (propagated-inputs - `(("python2-enum34" ,python2-enum34) - ,@(package-propagated-inputs base)))))) - (define-public python-six (package (name "python-six") -- cgit v1.2.3 From 9ce709897e55f9f4e322427e60894485d4551d9c Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 19 Dec 2020 18:41:32 -0500 Subject: gnu: bpython2: Remove package. * gnu/packages/python-xyz.scm (bpython2): Remove variable. --- gnu/packages/python-xyz.scm | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e94fddec4c..626f5b7d79 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18270,37 +18270,6 @@ interpreter. bpython's main features are @end enumerate") (license license:expat))) -(define-public bpython2 - (let ((base (package-with-python2 - (strip-python2-variant bpython)))) - (package (inherit base) - (name "bpython2") - (arguments - `(#:python ,python-2 - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'remove-failing-test - (lambda _ - ;; Remove failing test. FIXME: make it pass - (delete-file "bpython/test/test_args.py") - ;; Disable failing test-cases (renaming inhibits they are - ;; discovered) - (substitute* "bpython/test/test_curtsies_repl.py" - (("^(\\s*def )(test_get_last_word_with_prev_line\\W)" _ a b) - (string-append a "xxx_off_" b)) - (("^(\\s*def )(test_complex\\W)" _ a b) - (string-append a "xxx_off_" b))) - #t)) - (add-before 'build 'rename-scripts - ;; rename the scripts to bypthon2, bpdb2, etc. - (lambda _ - (substitute* "setup.py" - (("^(\\s+'bpdb)(\\s+=.*',?)\\s*?$" _ name rest) - (string-append name "2" rest "\n")) - (("^(\\s+'bpython)(-\\S+)?(\\s+=.*',?)\\s*?$" _ name sub rest) - (string-append name "2" (or sub "") rest "\n"))) - #t)))))))) - (define-public python-pyinotify (package (name "python-pyinotify") -- cgit v1.2.3 From 5662220caa2f1fb60650f1a0a66cba53d8cd6ef3 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 19 Dec 2020 18:42:26 -0500 Subject: gnu: python2-gpic: Remove package. * gnu/packages/python-xyz.scm (python2-gpic): Remove variable. --- gnu/packages/python-xyz.scm | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 626f5b7d79..d252da533c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18573,9 +18573,6 @@ process-based child processes can safely be created anywhere within a gevent-powered application.") (license license:expat))) -(define-public python2-gipc - (package-with-python2 python-gipc)) - (define-public python-beautifultable (package (name "python-beautifultable") -- cgit v1.2.3 From 01bc200362940f665d2738b05ad9548b9922b1bc Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 19 Dec 2020 21:53:36 -0500 Subject: gnu: python2-graphql-relay: Remove package. * gnu/packages/python-xyz.scm (python2-graphql-relay): Remove variable. --- gnu/packages/python-xyz.scm | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d252da533c..3771afa5b3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14198,9 +14198,6 @@ should be noted that the code is a exact port of the original from Facebook.") (license license:expat))) -(define-public python2-graphql-relay - (package-with-python2 python-graphql-relay)) - (define-public python-graphene (package (name "python-graphene") -- cgit v1.2.3 From 48ca8dbabd6fc749155e31795e03471de6ee9291 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 19 Dec 2020 14:02:03 -0500 Subject: gnu: python-gevent: Update to 20.9.0. * gnu/packages/python-xyz.scm (python-gevent): Update to 20.9.0. [phases]{adjust-tests}: Cleanup the list of ignored tests. Many tests relying on networking can be skipped simply by specifying -unone. {check}: Specify the -unone option, which deselects tests depending on network and other special resources. [home-page]: Use HTTPS. [description]: Please 'guix lint'. --- gnu/packages/python-xyz.scm | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3771afa5b3..7173a05aba 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12506,13 +12506,13 @@ graphviz.") (define-public python-gevent (package (name "python-gevent") - (version "20.6.2") + (version "20.9.0") (source (origin (method url-fetch) (uri (pypi-uri "gevent" version)) (sha256 (base32 - "1ldmppgghfphdaazjw6wq2i17xcmsjb2jsizfa4cjlg812zjlg52")) + "13aw9x6imsy3b369kfjblqiwfni69pp32m4r13n62r9k3l2lhvaz")) (modules '((guix build utils))) (snippet '(begin @@ -12571,24 +12571,10 @@ graphviz.") (add-before 'check 'adjust-tests (lambda _ (let ((disabled-tests - '(;; These tests rely on networking which is not - ;; available in the build container. - "test_urllib2net.py" - "test__server.py" - "test__server_pywsgi.py" - "test_socket.py" - "test__socket.py" - "test__socket_ssl.py" - "test__socket_dns.py" - "test__socket_dns6.py" - "test___example_servers.py" + '(;; These tests relies on networking which is + ;; not available in the build container. "test__getaddrinfo_import.py" - "test__examples.py" - "test_httplib.py" - "test_https.py" - "test_urllib2_localnet.py" - "test_ssl.py" - "test__ssl.py" + "test__server_pywsgi.py" ;; XXX: These tests borrow functionality from the ;; Python builtin 'test' module, but it is not ;; installed with the Guix Python distribution. @@ -12627,7 +12613,7 @@ graphviz.") ;; Use the build daemons configured number of workers. (setenv "NWORKERS" (number->string (parallel-job-count))) - (invoke "python" "-m" "gevent.tests" "--config" + (invoke "python" "-m" "gevent.tests" "-unone" "--config" "known_failures.py" "--ignore" "skipped_tests.txt")))))) (propagated-inputs `(("python-greenlet" ,python-greenlet) @@ -12643,11 +12629,12 @@ graphviz.") (inputs `(("c-ares" ,c-ares) ("libev" ,libev))) - (home-page "http://www.gevent.org/") + (home-page "https://www.gevent.org/") (synopsis "Coroutine-based network library") (description - "gevent is a coroutine-based Python networking library that uses greenlet -to provide a high-level synchronous API on top of the libev event loop.") + "@code{gevent} is a coroutine-based Python networking library that uses +@code{greenlet} to provide a high-level synchronous API on top of the +@code{libev} event loop.") (license license:expat) (properties `((python2-variant . ,(delay python2-gevent)))))) -- cgit v1.2.3 From 6e6b1571b8b5b06c88cde2ce7d2f43e23b2fd03e Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 19 Dec 2020 15:38:10 -0500 Subject: gnu: python2-gevent: Remove package. * gnu/packages/python-xyz.scm (python2-gevent): Remove variable. (python-gevent)[properties]: Remove field. --- gnu/packages/python-xyz.scm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7173a05aba..a4fa60d27b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12635,17 +12635,7 @@ graphviz.") "@code{gevent} is a coroutine-based Python networking library that uses @code{greenlet} to provide a high-level synchronous API on top of the @code{libev} event loop.") - (license license:expat) - (properties `((python2-variant . ,(delay python2-gevent)))))) - -(define-public python2-gevent - (let ((base (package-with-python2 - (strip-python2-variant python-gevent)))) - (package - (inherit base) - (native-inputs `(,@(package-native-inputs base) - ("python-mock" ,python2-mock) - ("python2-selectors2" ,python2-selectors2)))))) + (license license:expat))) (define-public python-fastimport (package -- cgit v1.2.3 From 7e822d98c3102675450c60642ed4705ef7add3ea Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 19 Dec 2020 15:39:07 -0500 Subject: gnu: python2-pykka: Remove package. * gnu/packages/python-xyz.scm (python2-pykka): Remove variable. --- gnu/packages/python-xyz.scm | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a4fa60d27b..85cf86babd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3016,9 +3016,6 @@ of state and cooperation between execution units, which makes it easier to build concurrent applications.") (license license:asl2.0))) -(define-public python2-pykka - (package-with-python2 python-pykka)) - (define-public python-pymsgbox (package (name "python-pymsgbox") -- cgit v1.2.3 From 82a5c265444a74ab933134cc85ac4a722ac033b1 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 19 Dec 2020 15:39:53 -0500 Subject: gnu: python2-pykafka: Remove package. * gnu/packages/python-xyz.scm (python2-pykafka): Remove variable. --- gnu/packages/python-xyz.scm | 3 --- 1 file changed, 3 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 85cf86babd..8aa63f5c20 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12807,9 +12807,6 @@ It includes Python implementations of Kafka producers and consumers, which are optionally backed by a C extension built on librdkafka.") (license license:asl2.0))) -(define-public python2-pykafka - (package-with-python2 python-pykafka)) - (define-public python-wcwidth (package (name "python-wcwidth") -- cgit v1.2.3 From 575902e9038c9265ea880d70222025af243fab21 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 19 Dec 2020 15:40:49 -0500 Subject: gnu: python2-graphene: Remove package. * gnu/packages/python-xyz.scm (python2-graphene): Remove variable. (python-graphene)[properties]: Remove field. --- gnu/packages/python-xyz.scm | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8aa63f5c20..618cf9294d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14195,17 +14195,8 @@ from Facebook.") "Graphene is a Python library for building GraphQL schemas/types. A GraphQL schema describes your data model, and provides a GraphQL server with an associated set of resolve methods that know how to fetch data.") - (properties `((python2-variant . ,(delay python2-graphene)))) (license license:expat))) -(define-public python2-graphene - (let ((base (package-with-python2 - (strip-python2-variant python-graphene)))) - (package (inherit base) - (native-inputs - `(("python2-sqlalchemy" ,python2-sqlalchemy) - ,@(package-native-inputs base)))))) - (define-public python-nautilus (package (name "python-nautilus") -- cgit v1.2.3 From 95a69453f4ce7144def26afa62ea596cde0e4093 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 19 Dec 2020 15:42:32 -0500 Subject: gnu: python2-gdrivefs: Remove package. * gnu/packages/python-xyz.scm (python2-gdrivefs): Remove variable. --- gnu/packages/python-xyz.scm | 41 ----------------------------------------- 1 file changed, 41 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 618cf9294d..633f153f68 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18701,47 +18701,6 @@ interface to FUSE on various operating systems. It's just one file and is implemented using @code{ctypes}.") (license license:isc))) -(define-public python2-gdrivefs - (package - (name "python2-gdrivefs") - (version "0.14.9") - (source - (origin - (method url-fetch) - (uri (pypi-uri "gdrivefs" version)) - (sha256 - (base32 - "0v9sp2cfg4ki3wagkwf3rnfpjhvgf845anz3757il9z95yvvcvb7")))) - (build-system python-build-system) - (arguments - `(#:python ,python-2 - #:phases - (modify-phases %standard-phases - (add-before 'build 'patch-setup-py - (lambda _ - ;; Update requirements from dependency==version - ;; to dependency>=version - (substitute* "gdrivefs/resources/requirements.txt" - (("==") ">=")) - #t))))) - (native-inputs - `(("python2-gipc" ,python2-gipc) - ("python2-gevent" ,python2-gevent) - ("python2-greenlet" ,python2-greenlet) - ("python2-httplib2" ,python2-httplib2) - ("python2-uritemplate" ,python2-uritemplate) - ("python2-oauth2client" ,python2-oauth2client) - ("python2-six" ,python2-six))) - (propagated-inputs - `(("python2-dateutil" ,python2-dateutil) - ("python2-fusepy" ,python2-fusepy) - ("python2-google-api-client" ,python2-google-api-client))) - (home-page "https://github.com/dsoprea/GDriveFS") - (synopsis "Mount Google Drive as a local file system") - (description "@code{gdrivefs} provides a FUSE wrapper for Google Drive -under Python 2.7.") - (license license:gpl2))) - (define-public python-userspacefs (package (name "python-userspacefs") -- cgit v1.2.3 From ed6da8ac6c5dcb6fa0858707187b0a507668e086 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 19 Dec 2020 12:33:54 -0500 Subject: gnu: python-greenlet: Update to 0.4.17. * gnu/packages/python-xyz.scm (python-greenlet): Update to 0.4.17. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 633f153f68..acde5a5e5e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12456,13 +12456,13 @@ multiple processes (imagine multiprocessing, billiard, futures, celery etc). (define-public python-greenlet (package (name "python-greenlet") - (version "0.4.16") + (version "0.4.17") (source (origin (method url-fetch) (uri (pypi-uri "greenlet" version)) (sha256 (base32 - "0v2571d0av1hz3yx63gvmnrinyn57nnvibg4zkl9frv74b3yl1kf")))) + "0swdhrcq13bdszv3yz5645gi4ijbzmmhxpb6whcfg3d7d5f87n21")))) (build-system python-build-system) (home-page "https://greenlet.readthedocs.io/") (synopsis "Lightweight in-process concurrent programming") -- cgit v1.2.3