From 28191bdcdec8c58ca5999f519d8ae4372784bff2 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 18 Jan 2020 21:27:57 +0100 Subject: gnu: python2-numpy-documentation: Update home page. * gnu/packages/python-xyz.scm (python2-numpy-documentation)[home-page]: Follow (HTTPS) redirection. --- 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 4ea09b756e..c5791fd22a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3464,7 +3464,7 @@ include_dirs = ~a/include (with-directory-excursion "/tmp" (invoke "python" "-c" "import numpy; numpy.test(verbose=2)"))))))) - (home-page "http://www.numpy.org/") + (home-page "https://numpy.org") (synopsis "Fundamental package for scientific computing with Python") (description "NumPy is the fundamental package for scientific computing with Python. It contains among other things: a powerful N-dimensional array -- cgit v1.2.3 From e6daf515ed0db8f738aa039167865cc8c612b773 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 29 Feb 2020 20:12:01 +0200 Subject: gnu: python-bleach: Update to 3.1.1 [fixes CVE-2020-6802]. * gnu/packages/python-xyz.scm (python-bleach): Update to 3.1.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 c5791fd22a..cdd61d9c39 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7686,14 +7686,14 @@ Jupyter Notebook format and Python APIs for working with notebooks.") (define-public python-bleach (package (name "python-bleach") - (version "3.1.0") + (version "3.1.1") (source (origin (method url-fetch) (uri (pypi-uri "bleach" version)) (sha256 (base32 - "1yhrgrhkln8bd6gn3imj69g1h4xqah9gaz9q26crqr6gmmvpzprz")))) + "0j4xlnw99m1xy0s7wxz9fk5f3c1n8r296fh75jn5p5j61w6qg2xa")))) (build-system python-build-system) (propagated-inputs `(("python-webencodings" ,python-webencodings) -- cgit v1.2.3 From 9b9ab657cc9df579cdb2ff9282a7117a86212d31 Mon Sep 17 00:00:00 2001 From: Jakub Kądziołka Date: Sun, 1 Mar 2020 14:09:42 +0100 Subject: gnu: python-binwalk: Switch to a release. When the package was last modified, the version wasn't released; an unreleased commit was used. This is no longer necessary. The tag only differs in the version number from the commit that was being used before. * gnu/packages/python-xyz.scm (python-binwalk): Use a released tag (v2.2.0). Co-authored-by: Vincent Legoll --- gnu/packages/python-xyz.scm | 67 ++++++++++++++++++++++----------------------- 1 file changed, 33 insertions(+), 34 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cdd61d9c39..c921d241ee 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11191,40 +11191,39 @@ binary or text.") ,@(package-propagated-inputs base)))))) (define-public python-binwalk - (let ((commit "64201acfb5b0a9cdd9faa58c40a36dcff8612e29") - (revision "0")) - (package - (name "python-binwalk") - (version (git-version "2.1.1" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ReFirmLabs/binwalk") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1z7ca6rfp887hw5jc3sb45mm4fa0xid4lsp2z8g4r590dr7k7w15")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'set-pythonpath - (lambda _ - (setenv "PYTHONPATH" - (string-append - (getcwd) "/src/" - ":" (getenv "PYTHONPATH"))) - (setenv "HOME" "") - #t))))) - (native-inputs - `(("python-coverage" ,python-coverage) - ("python-nose" ,python-nose))) - (home-page "https://github.com/ReFirmLabs/binwalk") - (synopsis "Firmware analysis tool") - (description "Binwalk is a tool for analyzing, reverse engineering, and extracting firmware images") - (license license:expat)))) + (package + (name "python-binwalk") + (version "2.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ReFirmLabs/binwalk") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bxgj569fzwv6jhcbl864nmlsi9x1k1r20aywjxc8b9b1zgqrlvc")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'set-pythonpath + (lambda _ + (setenv "PYTHONPATH" + (string-append + (getcwd) "/src/" + ":" (getenv "PYTHONPATH"))) + (setenv "HOME" "") + #t))))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-nose" ,python-nose))) + (home-page "https://github.com/ReFirmLabs/binwalk") + (synopsis "Firmware analysis tool") + (description "Binwalk is a tool for analyzing, reverse engineering, and +extracting firmware images") + (license license:expat))) (define-public python-nltk (package -- cgit v1.2.3 From 3dd74c8dc5192c3ffae5c991aa63aa6154a1bc7d Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 18 Jan 2020 21:37:54 +0100 Subject: gnu: python-graphene: Use HTTPS home page. * gnu/packages/python-xyz.scm (python-graphene)[home-page]: Use HTTPS. --- 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 c921d241ee..a6873bccdc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11551,7 +11551,7 @@ from Facebook.") ("python-six" ,python-six))) (arguments `(#:tests? #f)) ; no tests/ in the PyPI tarball - (home-page "http://graphene-python.org/") + (home-page "https://graphene-python.org/") (synopsis "GraphQL Framework for Python") (description "Graphene is a Python library for building GraphQL schemas/types. -- cgit v1.2.3 From efc0a5878a34ffc0cffda6838c1ac8e44f327586 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 18 Jan 2020 21:38:40 +0100 Subject: gnu: python-h5py: Use HTTPS home page. * gnu/packages/python-xyz.scm (python-h5py)[home-page]: Use HTTPS. --- 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 a6873bccdc..55c0e1a568 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -508,7 +508,7 @@ NetCDF files can also be read and modified. Python-HDF4 is a fork of (native-inputs `(("python-cython" ,python-cython) ("python-pkgconfig" ,python-pkgconfig))) - (home-page "http://www.h5py.org/") + (home-page "https://www.h5py.org/") (synopsis "Read and write HDF5 files from Python") (description "The h5py package provides both a high- and low-level interface to the -- cgit v1.2.3 From aabc895402626898cfc08e7d6d8775893e92e708 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 18 Jan 2020 21:45:55 +0100 Subject: gnu: python-construct: Use HTTPS home page. * gnu/packages/python-xyz.scm (python-construct)[home-page]: Use HTTPS. --- 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 55c0e1a568..446eccd10f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16381,7 +16381,7 @@ class in a @acronym{DRY, Don't Repeat Yourself} way.") ("python-arrow" ,python-arrow) ("python-numpy" ,python-numpy) ("python-ruamel.yaml" ,python-ruamel.yaml))) - (home-page "http://construct.readthedocs.io") + (home-page "https://construct.readthedocs.io") (synopsis "Declarative and symmetrical parser and builder for binary data") (description "This package provides both simple, atomic constructs (such as -- cgit v1.2.3 From 9c9704a9d73ef2002d792b1dd463e65dc68823ba Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 2 Mar 2020 10:52:42 -0500 Subject: gnu: Add python-wget. * gnu/packages/python-xyz.scm (python-wget): 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 446eccd10f..8484600b6b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17475,6 +17475,25 @@ such as a file modification and trigger an action. This is similar to inotify, but portable.") (license license:asl2.0))) +(define-public python-wget + (package + (name "python-wget") + (version "3.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "wget" version ".zip")) + (sha256 + (base32 + "0qb0y7ipby42m4m7h0ipazpdyc3bn9xi46lvifcwwl5albn31rim")))) + (build-system python-build-system) + (native-inputs `(("unzip" ,unzip))) + (home-page "https://bitbucket.org/techtonik/python-wget/") + (synopsis "Pure Python download utility") + (description "The python-wget library provides an API to download files +with features similar to the @command{wget} utility.") + (license license:unlicense))) + (define-public offlate (package (name "offlate") -- cgit v1.2.3 From bd137055400d34eb5184990b278c4f50cc6f665d Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 2 Mar 2020 13:45:05 -0500 Subject: gnu: python-colorama: Update to 0.4.3. * gnu/packages/python-xyz.scm (python-colorama): Update to 0.4.3. --- gnu/packages/python-xyz.scm | 6 +++--- 1 file changed, 3 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 8484600b6b..6a58a04740 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -54,7 +54,7 @@ ;;; Copyright © 2018, 2019, 2020 Nicolas Goaziou ;;; Copyright © 2018 Oleg Pykhalov ;;; Copyright © 2018, 2019 Clément Lassieur -;;; Copyright © 2018, 2019 Maxim Cournoyer +;;; Copyright © 2018, 2019, 2020 Maxim Cournoyer ;;; Copyright © 2018 Luther Thompson ;;; Copyright © 2018 Vagrant Cascadian ;;; Copyright © 2019, 2020 Brett Gilio @@ -8768,14 +8768,14 @@ for the module to work under Python 3.3.") (define-public python-colorama (package (name "python-colorama") - (version "0.3.9") + (version "0.4.3") (source (origin (method url-fetch) (uri (pypi-uri "colorama" version)) (sha256 (base32 - "1wd1szk0z3073ghx26ynw43gnc140ibln1safgsis6s6z3s25ss8")))) + "189n8hpijy14jfan4ha9f5n06mnl33cxz7ay92wjqgkr639s0vg9")))) (build-system python-build-system) (synopsis "Colored terminal text rendering for Python") (description "Colorama is a Python library for rendering colored terminal -- cgit v1.2.3 From f675ab4faf22d0f7ba8dec131b2e58ed3c1f34e0 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 2 Mar 2020 13:45:25 -0500 Subject: gnu: python-radon: Update to 4.1.0. * gnu/packages/python-xyz.scm (python-radon): Update to 4.1.0. --- 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 6a58a04740..2192d7802b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13204,14 +13204,14 @@ for more filetypes can be easily added by creating plugins for them.") (define-public python-radon (package (name "python-radon") - (version "2.2.0") + (version "4.1.0") (source (origin (method url-fetch) (uri (pypi-uri "radon" version)) (sha256 (base32 - "07gq5hq4nrffxnlnksws9hrx7fd001gam63j62i82gyfr23gvdym")))) + "0vfxxzbnz5lxfvp0yxp35g6c8qqnnbhi4dm7shkm1d3d4192q22n")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases -- cgit v1.2.3 From 8c06d6d8cedcab1c239c5cf24b4cf600e20e35b4 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 2 Mar 2020 14:13:17 -0500 Subject: gnu: python-xenon: Update to 0.7.0. * gnu/packages/python-xyz.scm (python-xenon): Update to 0.7.0. [arguments]: Set #:tests? to #f to disable test suite. --- gnu/packages/python-xyz.scm | 7 ++++--- 1 file changed, 4 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 2192d7802b..d6cebca99f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13866,14 +13866,14 @@ pure Python module.") (define-public python-xenon (package (name "python-xenon") - (version "0.5.4") + (version "0.7.0") (source (origin (method url-fetch) (uri (pypi-uri "xenon" version)) (sha256 (base32 - "029cbhysg2vr5n4jz8gpg2793f8wkwnqpr1qgv6c1dn685vy31mc")))) + "0nv207ql2wmh9q62503np056c4vf1c1hlsi5cvv5p5kx574k6r2y")))) (build-system python-build-system) (native-inputs `(("python-pyyaml" ,python-pyyaml) @@ -13882,7 +13882,8 @@ pure Python module.") ("python-flake8" ,python-flake8) ("python-tox" ,python-tox))) (arguments - `(#:phases + `(#:tests? #f ;test suite not shipped with the PyPI archive + #:phases (modify-phases %standard-phases (add-before 'build 'patch-test-requirements (lambda _ -- cgit v1.2.3 From 357af7f28372f680ef4e2e040eef98a4cad3ea8d Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 2 Mar 2020 14:19:27 -0500 Subject: gnu: python-pyyaml: Update to 5.3. * gnu/packages/python-xyz.scm (python-pyyaml): Update to 5.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 d6cebca99f..1bd1ef9e44 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2326,14 +2326,14 @@ environments and back.") (define-public python-pyyaml (package (name "python-pyyaml") - (version "3.13") + (version "5.3") (source (origin (method url-fetch) (uri (pypi-uri "PyYAML" version)) (sha256 (base32 - "1gx603g484z46cb74j9rzr6sjlh2vndxayicvlyhxdz98lhhkwry")))) + "058nd4p8f25wwzy2aiwh18wcrdm6663cqbfdkgjp8y9cp7ampx79")))) (build-system python-build-system) (inputs `(("libyaml" ,libyaml))) -- cgit v1.2.3 From 1639e0b7b60389cf74548544a5e28f9a0b6757c7 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 2 Mar 2020 15:33:35 -0500 Subject: gnu: python-smmap: Update to version 3.0.1, deprecate python-smmap2. * gnu/packages/python-xyz.scm (python-smmap): Rename from python-smmap2, and update to version 3.0.1. (python-smmap2, python2-smmap2): Preserve original bindings, marked as deprecated. * gnu/packages/version-control.scm (python-gitdb)[propagated-inputs]: Depend on the new python-smmap package. --- gnu/packages/python-xyz.scm | 20 +++++++++++++------- gnu/packages/version-control.scm | 2 +- 2 files changed, 14 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 1bd1ef9e44..27af30c488 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13743,27 +13743,33 @@ many of the popular cloud service providers using a unified API.") (define-public python2-apache-libcloud (package-with-python2 python-apache-libcloud)) -(define-public python-smmap2 +(define-public python-smmap (package - (name "python-smmap2") - (version "2.0.5") + (name "python-smmap") + (version "3.0.1") (source (origin (method url-fetch) - (uri (pypi-uri "smmap2" version)) + (uri (pypi-uri "smmap" version)) (sha256 - (base32 "16k03pcnxd3lgzwgbd7nl4jwzm1wmahirvd09kljnzvy96hgza99")))) + (base32 "0ijlnv60y8f41py1wnn5n1a1i81cxd9dfpdhr0k3cgkrcbz8850p")))) (build-system python-build-system) (native-inputs `(("python-nosexcover" ,python-nosexcover))) (home-page "https://github.com/Byron/smmap") (synopsis "Python sliding window memory map manager") - (description "@code{smmap2} is a pure Python implementation of a sliding + (description "@code{smmap} is a pure Python implementation of a sliding window memory map manager.") (license license:bsd-3))) +(define-public python-smmap2 + (deprecated-package "python-smmap2" python-smmap)) + +(define-public python2-smmap + (package-with-python2 python-smmap)) + (define-public python2-smmap2 - (package-with-python2 python-smmap2)) + (deprecated-package "python2-smmap2" python2-smmap)) (define-public python-regex (package diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index cc866ec888..6597844a9b 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -918,7 +918,7 @@ default) of the repository.") (setenv "TRAVIS" "1") (invoke "nosetests" "-v")))))) (propagated-inputs - `(("python-smmap2" ,python-smmap2))) + `(("python-smmap" ,python-smmap))) (native-inputs `(("git" ,git) ("python-nose" ,python-nose))) -- cgit v1.2.3