From 32be357706c0667af2003fa875f06ef18957669d Mon Sep 17 00:00:00 2001 From: Mădălin Ionel Patrașcu Date: Tue, 17 Dec 2019 18:24:33 +0100 Subject: gnu: python-dill: Update to 0.3.1.1. * gnu/packages/python-xyz.scm (python-dill): Update to 0.3.1.1. [arguments]: Enable tests. [native-inputs]: Add python-nose. Signed-off-by: Ricardo Wurmus --- gnu/packages/python-xyz.scm | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f0490f248c..9075dfeb49 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15651,17 +15651,25 @@ object-oriented library such as @code{scikit-learn}.") (define-public python-dill (package (name "python-dill") - (version "0.2.9") + (version "0.3.1.1") (source (origin (method url-fetch) (uri (pypi-uri "dill" version)) (sha256 - (base32 "0vwqyi6hyz2r29zydc78dqymkbc5y7gia16xcdh215cikxph9mpn")))) + (base32 "1704g8z70d210ksgbccs2v545v9w0wc6lx15m296alb7jf0yzn22")))) (build-system python-build-system) - ;; FIXME: The check phase fails with "don't know how to make test from: …". - (arguments '(#:tests? #f)) - (home-page "https://pypi.org/project/dill") + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (with-directory-excursion "/tmp" + (invoke "nosetests" "-v")) + #t))))) + (native-inputs + `(("python-nose" ,python-nose))) + (home-page "https://pypi.org/project/dill/") (synopsis "Serialize all of Python") (description "Dill extends Python's @code{pickle} module for serializing and de-serializing Python objects to the majority of the built-in Python -- cgit v1.2.3 From fcc4e9e7f7cb63b93f953038bc5f57039af69971 Mon Sep 17 00:00:00 2001 From: Mădălin Ionel Patrașcu Date: Tue, 17 Dec 2019 18:24:34 +0100 Subject: gnu: python-multiprocess: Update to 0.70.9. * gnu/packages/python-xyz.scm (python-multiprocess): Update to 0.70.9. [arguments]: Add phase "disable-broken-tests" and run tests after installation. Co-authored-by: Ricardo Wurmus . --- gnu/packages/python-xyz.scm | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9075dfeb49..1718758721 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15685,18 +15685,38 @@ the saved state of the original interpreter session.") (define-public python-multiprocess (package (name "python-multiprocess") - (version "0.70.6.1") + (version "0.70.9") (source (origin (method url-fetch) (uri (pypi-uri "multiprocess" version)) (sha256 (base32 - "1ip5caz67b3q0553mr8gm8xwsb8x500jn8ml0gihgyfy52m2ypcq")))) + "1r882nvd44xqwbrclwqx5rhs80l6809rcvpc7pkpgnij06cvvmcz")))) (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-broken-tests + (lambda _ + ;; This test is broken as there is no keyboard interrupt. + (substitute* "py3.7/multiprocess/tests/__init__.py" + (("^(.*)def test_wait_result" + line indent) + (string-append indent + "@unittest.skip(\"Disabled by Guix\")\n" + line))) + #t)) + ;; Tests must be run after installation. + (delete 'check) + (add-after 'install 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "multiprocess.tests") + #t))))) (propagated-inputs `(("python-dill" ,python-dill))) - (home-page "https://pypi.org/project/multiprocess") + (home-page "https://pypi.org/project/multiprocess/") (synopsis "Multiprocessing and multithreading in Python") (description "This package is a fork of the multiprocessing Python package, a package -- cgit v1.2.3 From 073723fa9a60dc8421223fcd2f54d265027b3806 Mon Sep 17 00:00:00 2001 From: Mădălin Ionel Patrașcu Date: Tue, 17 Dec 2019 18:24:35 +0100 Subject: gnu: Add python-ppft. * gnu/packages/python-xyz.scm (python-ppft): New variable. Co-authored-by: Ricardo Wurmus --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1718758721..25c6f9c0a5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16909,3 +16909,28 @@ always possible to declare a command with the highest possible (and least flexible) layer and then tune the behaviour with any of the lower layers including the native API of @code{python-argparse}.") (license license:lgpl3+)))) + +(define-public python-ppft + (package + (name "python-ppft") + (version "1.6.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ppft" version)) + (sha256 + (base32 + "1z1invkhszc5d2mvgr221v7cszzifcc77mz0pv3wjp6x5q2768cy")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ; there are none + (propagated-inputs + `(("python-six" ,python-six))) + (home-page "https://pypi.org/project/ppft/") + (synopsis "Fork of Parallel Python") + (description + "This package is a fork of Parallel Python. The Parallel Python +module (@code{pp}) provides an easy and efficient way to create +parallel-enabled applications for @dfn{symmetric multiprocessing} (SMP) +computers and clusters. It features cross-platform portability and dynamic +load balancing.") + (license license:bsd-3))) -- cgit v1.2.3 From 8451ea19bcf8ebc98ea52beddbf6245c3d3b353c Mon Sep 17 00:00:00 2001 From: Mădălin Ionel Patrașcu Date: Tue, 17 Dec 2019 18:24:36 +0100 Subject: gnu: Add python-pox. * gnu/packages/python-xyz.scm (python-pox): New variable. Co-authored-by: Ricardo Wurmus Signed-off-by: Ricardo Wurmus --- gnu/packages/python-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 25c6f9c0a5..951571bf2e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16934,3 +16934,41 @@ parallel-enabled applications for @dfn{symmetric multiprocessing} (SMP) computers and clusters. It features cross-platform portability and dynamic load balancing.") (license license:bsd-3))) + +(define-public python-pox + (package + (name "python-pox") + (version "0.2.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pox" version)) + (sha256 + (base32 + "0y17ckc2p6i6709s279sjdj4q459mpcc38ymg9zv9y6vl6jf3bq6")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (mkdir-p "/tmp/guix") + (setenv "SHELL" "bash") + (setenv "USERNAME" "guix") + (setenv "HOME" "/tmp/guix") ; must end on USERNAME... + (invoke "py.test" "-vv") + #t))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("which" ,which))) + (home-page "https://pypi.org/project/pox/") + (synopsis "Python utilities for filesystem exploration and automated builds") + (description + "Pox provides a collection of utilities for navigating and manipulating +filesystems. This module is designed to facilitate some of the low level +operating system interactions that are useful when exploring a filesystem on a +remote host. Pox provides Python equivalents of several shell commands such +as @command{which} and @command{find}. These commands allow automated +discovery of what has been installed on an operating system, and where the +essential tools are located.") + (license license:bsd-3))) -- cgit v1.2.3 From 4b3ff36228da17db980c98fe9e1669be613a5402 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Thu, 19 Dec 2019 11:35:23 -0600 Subject: Update email for Brett Gilio. * .mailmap: Add name and email for Brett Gilio. * gnu/local.mk, gnu/packages/admin.scm, gnu/packages/audio.scm, gnu/packages/bittorrent.scm, gnu/packages/build-tools.scm, gnu/packages/cran.scm, gnu/packages/emacs-xyz.scm, gnu/packages/messaging.scm, gnu/packages/python-xyz.scm, gnu/packages/sml.scm, gnu/packages/terminals.scm, gnu/packages/wm.scm: Update email for Brett Gilio. --- .mailmap | 1 + gnu/local.mk | 2 +- gnu/packages/admin.scm | 2 +- gnu/packages/audio.scm | 2 +- gnu/packages/bittorrent.scm | 2 +- gnu/packages/build-tools.scm | 2 +- gnu/packages/cran.scm | 2 +- gnu/packages/emacs-xyz.scm | 2 +- gnu/packages/messaging.scm | 2 +- gnu/packages/python-xyz.scm | 2 +- gnu/packages/sml.scm | 2 +- gnu/packages/terminals.scm | 2 +- gnu/packages/wm.scm | 2 +- 13 files changed, 13 insertions(+), 12 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/.mailmap b/.mailmap index d5578d10ce..daab7c91a1 100644 --- a/.mailmap +++ b/.mailmap @@ -13,6 +13,7 @@ Andy Wingo Ben Woodcroft Ben Woodcroft Ben Woodcroft +Brett Gilio Claes Wallin (韋嘉誠) Cyprien Nicolas Daniel Pimentel diff --git a/gnu/local.mk b/gnu/local.mk index 0f62c8e1d7..486f9ddc74 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -24,7 +24,7 @@ # Copyright © 2019 John Soo # Copyright © 2019 Jonathan Brielmaier # Copyright © 2019 Evan Straw -# Copyright © 2019 Brett Gilio +# Copyright © 2019 Brett Gilio # # This file is part of GNU Guix. # diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 6368289563..fa490218af 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -23,7 +23,7 @@ ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2018 Rutger Helling ;;; Copyright © 2018 Pierre Neidhardt -;;; Copyright © 2019 Brett Gilio +;;; Copyright © 2019 Brett Gilio ;;; Copyright © 2019 Björn Höfling ;;; Copyright © 2019 Jakob L. Kreuze ;;; Copyright © 2019 Hartmut Goebel diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index e6e89c0064..7f8ae09011 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -13,7 +13,7 @@ ;;; Copyright © 2018 okapi ;;; Copyright © 2018 Maxim Cournoyer ;;; Copyright © 2018 Clément Lassieur -;;; Copyright © 2018 Brett Gilio +;;; Copyright © 2018 Brett Gilio ;;; Copyright © 2018, 2019 Marius Bakke ;;; Copyright © 2018 Thorsten Wilms ;;; Copyright © 2018 Eric Bavier diff --git a/gnu/packages/bittorrent.scm b/gnu/packages/bittorrent.scm index c5930fccb5..cab23b6753 100644 --- a/gnu/packages/bittorrent.scm +++ b/gnu/packages/bittorrent.scm @@ -9,7 +9,7 @@ ;;; Copyright © 2018 Fis Trivial ;;; Copyright © 2018 Nam Nguyen ;;; Copyright © 2018 Ricardo Wurmus -;;; Copyright © 2019 Brett Gilio +;;; Copyright © 2019 Brett Gilio ;;; ;;; This file is part of GNU Guix. ;;; diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm index a82b867282..342f5f59cd 100644 --- a/gnu/packages/build-tools.scm +++ b/gnu/packages/build-tools.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2018 Tomáš Čech ;;; Copyright © 2018 Marius Bakke ;;; Copyright © 2018 Alex Vong -;;; Copyright © 2019 Brett Gilio +;;; Copyright © 2019 Brett Gilio ;;; Copyright © 2019 Jonathan Brielmaier ;;; ;;; This file is part of GNU Guix. diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 040c2ead4a..ac71831879 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2018 Leo Famulari ;;; Copyright © 2018 Marius Bakke ;;; Copyright © 2018 Eric Brown -;;; Copyright © 2018, 2019 Brett Gilio +;;; Copyright © 2018, 2019 Brett Gilio ;;; Copyright © 2019 Nicolò Balzarotti ;;; Copyright © 2019 Wiktor Żelazny ;;; diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 1fd75a8240..8ff7a23f51 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -41,7 +41,7 @@ ;;; Copyright © 2018 Alex Branham ;;; Copyright © 2018 Thorsten Wilms ;;; Copyright © 2018, 2019 Pierre Langlois -;;; Copyright © 2018, 2019 Brett Gilio +;;; Copyright © 2018, 2019 Brett Gilio ;;; Copyright © 2019 Dimakakos Dimos ;;; Copyright © 2019 Brian Leung ;;; Copyright © 2019 mikadoZero diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 9b97d8b75c..549ee28400 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -16,7 +16,7 @@ ;;; Copyright © 2018 Leo Famulari ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2019 Tanguy Le Carrour -;;; Copyright © 2019 Brett Gilio +;;; Copyright © 2019 Brett Gilio ;;; Copyright © 2019 Timotej Lazar ;;; ;;; This file is part of GNU Guix. diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 951571bf2e..520de4607d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -57,7 +57,7 @@ ;;; Copyright © 2018, 2019 Maxim Cournoyer ;;; Copyright © 2018 Luther Thompson ;;; Copyright © 2018 Vagrant Cascadian -;;; Copyright © 2019 Brett Gilio +;;; Copyright © 2019 Brett Gilio ;;; Copyright © 2019 Sam ;;; Copyright © 2019 Jack Hill ;;; Copyright © 2019 Guillaume Le Vaillant diff --git a/gnu/packages/sml.scm b/gnu/packages/sml.scm index 30ee58c498..d441dcf638 100644 --- a/gnu/packages/sml.scm +++ b/gnu/packages/sml.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2017 Andy Patterson ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; Copyright © 2018 Ricardo Wurmus -;;; Copyright © 2019 Brett Gilio +;;; Copyright © 2019 Brett Gilio ;;; ;;; This file is part of GNU Guix. ;;; diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index a385e62630..ae015d9fe7 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -16,7 +16,7 @@ ;;; Copyright © 2018, 2019 Eric Bavier ;;; Copyright © 2019 Julien Lepiller ;;; Copyright © 2019 Pierre Langlois -;;; Copyright © 2019 Brett Gilio +;;; Copyright © 2019 Brett Gilio ;;; ;;; This file is part of GNU Guix. ;;; diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 4bf621ee27..6c1919be56 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -28,7 +28,7 @@ ;;; Copyright © 2018, 2019 Pierre Langlois ;;; Copyright © 2016, 2017 Andy Patterson ;;; Copyright © 2019 Evan Straw -;;; Copyright © 2019 Brett Gilio +;;; Copyright © 2019 Brett Gilio ;;; Copyright © 2019 Noodles! ;;; ;;; This file is part of GNU Guix. -- cgit v1.2.3 From c9876c9b13eabe96c516be12526e72a6956d0c20 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Mon, 23 Dec 2019 17:28:02 -0600 Subject: gnu: python-eventlet: Update to 0.25.1. * gnu/packages/python-xyz.scm (python-eventlet): Update to 0.25.1. --- 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 520de4607d..615843d51e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1052,14 +1052,14 @@ standard.") (define-public python-eventlet (package (name "python-eventlet") - (version "0.20.1") + (version "0.25.1") (source (origin (method url-fetch) (uri (pypi-uri "eventlet" version)) (sha256 (base32 - "0f3q55mq4n021wb7qa53pz3ix6i2py64sap66vsaqm2scjw83m9s")))) + "1hgz8jq19wlz8vwqj900ry8cjv578nz4scc91mlc8944yid6573c")))) (build-system python-build-system) (propagated-inputs `(("python-greenlet" ,python-greenlet))) -- cgit v1.2.3 From bff3661726501ed8c79fd4cfcc677b3161377730 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Mon, 23 Dec 2019 17:28:14 -0600 Subject: gnu: python-eventlet: Use HTTPS home page URI. * gnu/packages/python-xyz.scm (python-eventlet)[home-page]: Use HTTPS URI. --- gnu/packages/python-xyz.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 615843d51e..4b01231c29 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1066,7 +1066,7 @@ standard.") (arguments ;; TODO: Requires unpackaged 'enum-compat'. '(#:tests? #f)) - (home-page "http://eventlet.net") + (home-page "https://eventlet.net") (synopsis "Concurrent networking library for Python") (description "Eventlet is a concurrent networking library for Python that -- cgit v1.2.3 From 65f84096366c810cca8246b9886e7aeddc3a8a30 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Mon, 23 Dec 2019 17:29:51 -0600 Subject: gnu: python-numba: Update to 0.46.0. * gnu/packages/python-xyz.scm (python-numba): Update to 0.46.0. [arguments]: Fix typos. [arguments]: Disable tests that can not detect Python front-end. --- gnu/packages/python-xyz.scm | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4b01231c29..d5d958ca07 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15544,14 +15544,14 @@ validation testing and application logic.") (define-public python-numba (package (name "python-numba") - (version "0.42.0") + (version "0.46.0") (source (origin (method url-fetch) (uri (pypi-uri "numba" version)) (sha256 (base32 - "03rqdfx0512lcri2bcpngx5k3jwfbqnanqj3n19c7d6h6hqxvq9x")))) + "1vnfzcq6fcnkmdms6114d49awvvj5181fl7z1wlha27qc2paxjy2")))) (build-system python-build-system) (arguments `(#:modules ((guix build utils) @@ -15568,7 +15568,7 @@ validation testing and application logic.") #t)) (add-after 'unpack 'remove-failing-tests (lambda _ - ;; FIXME: these tests fail for unknown reasons: + ;; FIXME: These tests fail for unknown reasons: ;; test_non_writable_pycache, test_non_creatable_pycache, and ;; test_frozen (all in numba.tests.test_dispatcher.TestCache). (substitute* "numba/tests/test_dispatcher.py" @@ -15581,10 +15581,20 @@ validation testing and application logic.") ;; These tests fail because we don't run the tests from the build ;; directory: test_setup_py_distutils, test_setup_py_setuptools - ;; They ar in numba.tests.test_pycc.TestDistutilsSupport. + ;; They are in numba.tests.test_pycc.TestDistutilsSupport. (substitute* "numba/tests/test_pycc.py" (("def test(_setup_py_distutils|_setup_py_setuptools)" _ m) (string-append "def guix_skip" m))) + + ;; These tests fail because our version of Python does not have + ;; a recognizable front-end for the Numba distribution to use + ;; to check against. + (substitute* "numba/tests/test_entrypoints.py" + (("def test(_init_entrypoint)" _ m) + (string-append "def guix_skip" m))) + (substitute* "numba/tests/test_jitclasses.py" + (("def test(_jitclass_longlabel_not_truncated)" _ m) + (string-append "def guix_skip" m))) #t)) (replace 'check (lambda _ -- cgit v1.2.3 From 54e5ee5a360fce0b65f3103470388805558680a7 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Mon, 23 Dec 2019 17:30:35 -0600 Subject: gnu: Add python-flit. * gnu/packages/python-xyz.scm (python-flit): New variable. --- 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 d5d958ca07..d7fb2b3176 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16982,3 +16982,27 @@ as @command{which} and @command{find}. These commands allow automated discovery of what has been installed on an operating system, and where the essential tools are located.") (license license:bsd-3))) + +(define-public python-flit + (package + (name "python-flit") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flit" version)) + (sha256 + (base32 + "0h5vvmqinqzn97mr3ix7zx53af9ad4fimjjwqpx88yp8qhz4r5bc")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; XXX: Check requires network access. + (home-page "https://flit.readthedocs.io/") + (synopsis + "Simple packaging tool for simple packages") + (description + "Flit is a simple way to put Python packages and modules on PyPI. Flit +packages a single importable module or package at a time, using the import +name as the name on PyPI. All subpackages and data files within a package +are included automatically.") + (license license:bsd-3))) -- cgit v1.2.3 From 02139b421427af725547b45bafae2aae0bb3d992 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Mon, 23 Dec 2019 17:30:46 -0600 Subject: gnu: Add python-pathtools. * gnu/packages/python-xyz.scm (python-pathtools): New variable. --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d7fb2b3176..f90505c903 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17006,3 +17006,22 @@ packages a single importable module or package at a time, using the import name as the name on PyPI. All subpackages and data files within a package are included automatically.") (license license:bsd-3))) + +(define-public python-pathtools + (package + (name "python-pathtools") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pathtools" version)) + (sha256 + (base32 + "1h7iam33vwxk8bvslfj4qlsdprdnwf8bvzhqh3jq5frr391cadbw")))) + (build-system python-build-system) + (home-page + "https://github.com/gorakhargosh/pathtools") + (synopsis "Path utilities for Python") + (description "Pattern matching and various utilities for file systems +paths.") + (license license:expat))) -- cgit v1.2.3 From 6b520177734e1c144fd6394f801919d0b54fa23e Mon Sep 17 00:00:00 2001 From: Jesse Gibbons Date: Wed, 25 Dec 2019 01:22:00 -0600 Subject: gnu: Add python-fastentrypoints. * gnu/packages/python-xyz.scm (python-fastentrypoints): New variable. Signed-off-by: Brett Gilio --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f90505c903..5433f4f1d7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17025,3 +17025,25 @@ are included automatically.") (description "Pattern matching and various utilities for file systems paths.") (license license:expat))) + +(define-public python-fastentrypoints + (package + (name "python-fastentrypoints") + (version "0.12") + (source + (origin + (method url-fetch) + (uri (pypi-uri "fastentrypoints" version)) + (sha256 + (base32 + "02s1j8i2dzbpbwgq2a3fiqwm3cnmhii2qzc0k42l0rdxd4a4ya7z")))) + (build-system python-build-system) + (home-page + "https://github.com/ninjaaron/fast-entry_points") + (synopsis + "Makes entry_points specified in setup.py load more quickly") + (description + "Using entry_points in your setup.py makes scripts that start really +slowly because it imports pkg_resources. This package allows such setup +scripts to load entry points more quickly.") + (license license:bsd-3))) -- cgit v1.2.3 From c5eb8cf844148fb99934c3fedc3b4a0da55f9d8e Mon Sep 17 00:00:00 2001 From: Jesse Gibbons Date: Wed, 25 Dec 2019 01:22:49 -0600 Subject: gnu: Add python-funcparserlib. * gnu/packages/python-xyz.scm (python-funcparserlib): New variable. Signed-off-by: Brett Gilio --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5433f4f1d7..0f682db504 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17047,3 +17047,33 @@ paths.") slowly because it imports pkg_resources. This package allows such setup scripts to load entry points more quickly.") (license license:bsd-3))) + +(define-public python-funcparserlib + (package + (name "python-funcparserlib") + (version "0.3.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "funcparserlib" version)) + (sha256 + (base32 + "07f9cgjr3h4j2m67fhwapn8fja87vazl58zsj4yppf9y3an2x6dp")))) + (native-inputs + `(("python-tox" ,python-tox))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "tox")))))) + (build-system python-build-system) + (home-page + "https://github.com/vlasovskikh/funcparserlib") + (synopsis + "Recursive descent parsing library based on functional combinators") + (description + "This package is a recurisve descent parsing library for Python based on +functional combinators. Parser combinators are just higher-order functions +that take parsers as their arguments and return them as result values.") + (license license:expat))) -- cgit v1.2.3 From c215051dcf30b11c755aea4e2527b4d3d91c34bb Mon Sep 17 00:00:00 2001 From: Jesse Gibbons Date: Wed, 25 Dec 2019 01:23:09 -0600 Subject: gnu: python-hy: Update to 0.17.0. * gnu/packages/python-xyz.scm (python-hy): Update to 0.17.0. [propagated-inputs]: Add python-fastentrypoints and python-funcparserlib. Signed-off-by: Brett Gilio --- gnu/packages/python-xyz.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0f682db504..c06c2199de 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8513,13 +8513,13 @@ with a new public API, and RPython support.") (define-public python-hy (package (name "python-hy") - (version "0.13.0") + (version "0.17.0") (source (origin (method url-fetch) (uri (pypi-uri "hy" version)) (sha256 (base32 - "19sfymaksx9jhksfnb15ahid46mzrhdfzz6yy2craz2qnzvpmky8")))) + "1gdbqsirsdxj320wnp7my5awzs1kfs6m4fqmkzbd1zd47qzj0zfi")))) (build-system python-build-system) (arguments '(#:phases @@ -8538,7 +8538,11 @@ with a new public API, and RPython support.") (propagated-inputs `(("python-astor" ,python-astor) ("python-clint" ,python-clint) - ("python-rply" ,python-rply))) + ("python-rply" ,python-rply) + ("python-fastentrypoints" + ,python-fastentrypoints) + ("python-funcparserlib" + ,python-funcparserlib))) (home-page "http://hylang.org/") (synopsis "Lisp frontend to Python") (description -- cgit v1.2.3 From 7e476ae819a156315e3fdf8f8118c287c1ed8aa4 Mon Sep 17 00:00:00 2001 From: Mădălin Ionel Patrașcu Date: Tue, 17 Dec 2019 18:24:37 +0100 Subject: gnu: Add python-pathos. * gnu/packages/python-xyz.scm (python-pathos): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c06c2199de..0f9afe66be 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16987,6 +16987,34 @@ discovery of what has been installed on an operating system, and where the essential tools are located.") (license license:bsd-3))) +(define-public python-pathos + (package + (name "python-pathos") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pathos" version)) + (sha256 + (base32 + "0in8hxdz7k081ijn6q94gr39ycy7363sx4zysmbwyvd7snqjrbi1")))) + (build-system python-build-system) + (propagated-inputs + `(("python-dill" ,python-dill) + ("python-multiprocess" ,python-multiprocess) + ("python-pox" ,python-pox) + ("python-ppft" ,python-ppft))) + (home-page "https://pypi.org/project/pathos/") + (synopsis + "Parallel graph management and execution in heterogeneous computing") + (description + "Python-pathos is a framework for heterogenous computing. It provides a +consistent high-level interface for configuring and launching parallel +computations across heterogenous resources. Python-pathos provides configurable +launchers for parallel and distributed computing, where each launcher contains +the syntactic logic to configure and launch jobs in an execution environment.") + (license license:bsd-3))) + (define-public python-flit (package (name "python-flit") -- cgit v1.2.3 From 8f82e7e3dc234693afbaa0375726dbd44a19a0f8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 26 Dec 2019 09:38:37 +0200 Subject: gnu: python-pathos: Run test suite. * gnu/packages/python-xyz.scm (python-pathos)[arguments]: Use custom 'check phase. [native-inputs]: Add python-pytest. --- gnu/packages/python-xyz.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0f9afe66be..5b8f377017 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16999,11 +16999,21 @@ essential tools are located.") (base32 "0in8hxdz7k081ijn6q94gr39ycy7363sx4zysmbwyvd7snqjrbi1")))) (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (setenv "PYTHONPATH" + (string-append (getcwd) ":" (getenv "PYTHONPATH"))) + (invoke "python" "./tests/__main__.py")))))) (propagated-inputs `(("python-dill" ,python-dill) ("python-multiprocess" ,python-multiprocess) ("python-pox" ,python-pox) ("python-ppft" ,python-ppft))) + (native-inputs + `(("python-pytest" ,python-pytest))) (home-page "https://pypi.org/project/pathos/") (synopsis "Parallel graph management and execution in heterogeneous computing") -- cgit v1.2.3 From 11140cf19467c3492c8e7293ef336984c52c7595 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 26 Dec 2019 09:17:50 +0100 Subject: gnu: python-funcparserlib: Fix typo. * gnu/packages/python-xyz.scm (python-funcparserlib): Fix typo in description. --- gnu/packages/python-xyz.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5b8f377017..2077d6d12a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17115,7 +17115,7 @@ scripts to load entry points more quickly.") (synopsis "Recursive descent parsing library based on functional combinators") (description - "This package is a recurisve descent parsing library for Python based on + "This package is a recursive descent parsing library for Python based on functional combinators. Parser combinators are just higher-order functions that take parsers as their arguments and return them as result values.") (license license:expat))) -- cgit v1.2.3 From 00d81f9866726f85241f08e444ba3932fcb38842 Mon Sep 17 00:00:00 2001 From: Björn Höfling Date: Thu, 26 Dec 2019 12:28:19 +0100 Subject: gnu: python-pyserial: Update to 3.4. * gnu/packages/python-xyz.scm (python-pyserial): Update to 3.4. --- 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 2077d6d12a..331b80e9a6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11006,14 +11006,14 @@ relays publish about themselves.") (define-public python-pyserial (package (name "python-pyserial") - (version "3.1.1") + (version "3.4") (source (origin (method url-fetch) (uri (pypi-uri "pyserial" version)) (sha256 (base32 - "0k1nfdrxxkdlv4zgaqsdv8li0pj3gbh2pyxw8q2bsg6f9490amyn")))) + "09y68bczw324a4jb9a1cfwrbjhq179vnfkkkrybbksp0vqgl0bbf")))) (build-system python-build-system) (arguments '(#:tests? #f)) ; FIXME: 3/49 tests are failing. -- cgit v1.2.3 From 9d25a4548cc16da83d4a28badd5db5104dd2264e Mon Sep 17 00:00:00 2001 From: Riku Viitanen Date: Wed, 25 Dec 2019 14:39:07 +0000 Subject: gnu: python-fonttools: Update home-page. https://github.com/behdad/fonttools permanently redirects to https://github.com/fonttools/fonttools. * gnu/packages/python-xyz.scm (python-fonttools)[home-page]: Change to current. Signed-off-by: Marius Bakke --- gnu/packages/python-xyz.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 331b80e9a6..33a97282e5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6818,7 +6818,7 @@ add functionality and customization to your projects with their own plugins.") `(("unzip" ,unzip) ("python-pytest" ,python-pytest) ("python-pytest-runner" ,python-pytest-runner))) - (home-page "https://github.com/behdad/fonttools") + (home-page "https://github.com/fonttools/fonttools") (synopsis "Tools to manipulate font files") (description "FontTools/TTX is a library to manipulate font files from Python. It -- cgit v1.2.3 From 6c2c11fa103ff1990adcad8f1b8e6caaebeb304d Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sat, 28 Dec 2019 16:37:37 +0100 Subject: gnu: python-waf: Update to 2.0.19. * gnu/packages/python-xyz.scm (python-waf): Update to 2.0.19. --- 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 33a97282e5..c6b0645376 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6332,14 +6332,14 @@ so it might be a tiny bit slower.") (define-public python-waf (package (name "python-waf") - (version "2.0.11") + (version "2.0.19") (source (origin (method url-fetch) (uri (string-append "https://waf.io/" "waf-" version ".tar.bz2")) (sha256 (base32 - "13zrniwkmfqgsgzi9v5m1367fppp9yzrz6z2ny6hy8dmpb8mj4z4")))) + "19dvqbsvxz7ch03dh1v0znklrwxlz6yzddc3k9smzrrgny4jch6q")))) (build-system python-build-system) (arguments '(#:phases -- cgit v1.2.3 From 633c8b719913121f269fc654cd52be4870b5337e Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sat, 28 Dec 2019 16:37:49 +0100 Subject: gnu: python-waf: Add some extra tools. * gnu/packages/python-xyz.scm (python-waf): Add gccdeps and clang_compilation_database tools that are needed by ardupilot. --- gnu/packages/python-xyz.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c6b0645376..37fc53536a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6346,7 +6346,12 @@ so it might be a tiny bit slower.") (modify-phases %standard-phases (replace 'build (lambda _ - (invoke "python" "waf-light" "configure" "build"))) + ;; XXX: Find a way to add all extra tools. + (let ((tools '("gccdeps" + "clang_compilation_database"))) + (invoke "python" "waf-light" "configure" "build" + (string-append "--tools=" + (string-join tools ",")))))) (replace 'check (lambda _ (invoke "python" "waf" "--version"))) -- cgit v1.2.3 From fa9e3b5ed2a16747d719ce49f114ce74d2e8678d Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Thu, 26 Dec 2019 17:41:27 +0000 Subject: gnu: pelican: Update to 4.2. * gnu/packages/python-xyz (pelican): Update to 4.2. [propagated-inputs]: Alphabetize. [arguments]: Remove adjust-requires phase. --- gnu/packages/python-xyz.scm | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 37fc53536a..f41e59c047 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3146,42 +3146,30 @@ interested parties to subscribe to events, or \"signals\".") (define-public pelican (package (name "pelican") - (version "4.0.1") + (version "4.2.0") (source (origin (method url-fetch) (uri (pypi-uri "pelican" version)) (sha256 (base32 - "05yda7n6r0ll18fpdjzkzyr0ls8hbb86fnjyb33k9jvv5avah2lr")))) + "0mp7hjyhs38ag1hyfcy882g400z0babqi72pnli46dqijfhajzmy")))) (build-system python-build-system) (propagated-inputs - `(("python-feedgenerator" ,python-feedgenerator) + `(("python-blinker" ,python-blinker) + ("python-dateutil" ,python-dateutil) + ("python-docutils" ,python-docutils) + ("python-feedgenerator" ,python-feedgenerator) ("python-jinja2" ,python-jinja2) + ("python-markdown" ,python-markdown) ("python-pygments" ,python-pygments) - ("python-docutils" ,python-docutils) ("python-pytz" ,python-pytz) - ("python-blinker" ,python-blinker) - ("python-unidecode" ,python-unidecode) ("python-six" ,python-six) - ("python-dateutil" ,python-dateutil) - ("python-markdown" ,python-markdown))) + ("python-unidecode" ,python-unidecode))) (home-page "https://getpelican.com/") (arguments `(;; XXX Requires a lot more packages to do unit tests :P - #:tests? #f - #:phases (modify-phases %standard-phases - (add-before - 'install 'adjust-requires - ;; Since feedgenerator is installed from git, it doesn't - ;; conform to the version requirements. - ;; - ;; We *do have* "feedgenerator >= 1.6", but strip off the - ;; version requirement so setuptools doesn't get confused. - (lambda _ - (substitute* "setup.py" - (("['\"]feedgenerator.*?['\"]") - "'feedgenerator'"))))))) + #:tests? #f)) (synopsis "Python-based static site publishing system") (description "Pelican is a tool to generate a static blog from reStructuredText, -- cgit v1.2.3 From d3bc1ea9afaa6209885bf328a363644c9abdd071 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 30 Dec 2019 21:40:14 +0100 Subject: gnu: python-folium: Update to 0.10.1. * gnu/packages/python-xyz.scm (python-folium): Update to 0.10.1. --- 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 f41e59c047..9b71982c3a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16534,14 +16534,14 @@ time-or-computationally-expensive properties quick and easy and works in Python (define-public python-folium (package (name "python-folium") - (version "0.10.0") + (version "0.10.1") (source (origin (method url-fetch) (uri (pypi-uri "folium" version)) (sha256 (base32 - "18fzxijsgrb95r0a8anc9ba5ijyw3nlnv3rpavfbkqa5v878x84f")))) + "0gcc267wxwxr57ry86pqpbiyfvl0g48hfvgy0f2mz9s58g87kgzd")))) (build-system python-build-system) (propagated-inputs `(("python-branca" ,python-branca) -- cgit v1.2.3