From eef8e2ec46c4155980815e00a394428c0c3de075 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 19 Jul 2022 16:52:05 -0400 Subject: gnu: qttools: Rename to qttools-5. Automated with: git grep -l qttools | xargs sed 's/\bqttools\b/\0-5/g' -i git checkout NEWS --- 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 ac7c0d6066..216970ace9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25034,7 +25034,7 @@ (define-public offlate python-translation-finder python-watchdog)) (native-inputs - (list qttools fontforge)) + (list qttools-5 fontforge)) (home-page "https://framagit.org/tyreunom/offlate") (synopsis "Offline translation interface for online translation tools") (description "Offlate offers a unified interface for different translation -- cgit v1.2.3 From d1b60cb65b6cb31e814bbbe19c5ece6b1edd21cc Mon Sep 17 00:00:00 2001 From: "Paul A. Patience" Date: Sun, 24 Jul 2022 12:19:41 +0000 Subject: gnu: Add comma after “i.e.” in descriptions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/bioconductor.scm (r-anota)[description]: Add comma after “i.e.”. * gnu/packages/code.scm (xenon)[description]: Same. * gnu/packages/cran.scm (r-crosstalk)[description]: Same. * gnu/packages/python-xyz.scm (python-radon)[description]: Same. * gnu/packages/statistics.scm (r-logspline)[description]: Same. * gnu/packages/suckless.scm (tabbed)[description]: Same. Signed-off-by: Ludovic Courtès --- gnu/packages/bioconductor.scm | 2 +- gnu/packages/code.scm | 2 +- gnu/packages/cran.scm | 2 +- gnu/packages/python-xyz.scm | 2 +- gnu/packages/statistics.scm | 2 +- gnu/packages/suckless.scm | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 31484799b2..8a3a38b36f 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -8834,7 +8834,7 @@ (define-public r-anota the mRNA level (e.g. cytosolic mRNA level) and the level of mRNA actively involved in translation (the actively translating mRNA level) for each mRNA. The standard analysis of such data strives towards identifying differential -translational between two or more sample classes - i.e. differences in +translational between two or more sample classes - i.e., differences in actively translated mRNA levels that are independent of underlying differences in cytosolic mRNA levels. This package allows for such analysis using partial variances and the random variance model. As 10s of thousands of mRNAs are diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index 64040270eb..11df6fd4b2 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm @@ -1067,7 +1067,7 @@ (define-public xenon "Xenon is a monitoring tool based on Radon. It monitors code complexity. Ideally, @code{xenon} is run every time code is committed. Through command line options, various thresholds can be set for the complexity of code. It -will fail (i.e. it will exit with a non-zero exit code) when any of these +will fail (i.e., it will exit with a non-zero exit code) when any of these requirements is not met.") (license license:expat))) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 731facb4e5..a677360700 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -3315,7 +3315,7 @@ (define-public r-crosstalk (synopsis "Inter-widget interactivity for HTML widgets") (description "This package provides building blocks for allowing HTML widgets to -communicate with each other, with Shiny or without (i.e. static @code{.html} +communicate with each other, with Shiny or without (i.e., static @code{.html} files). It currently supports linked brushing and filtering.") (license license:expat))) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 216970ace9..8f409a4b7d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19659,7 +19659,7 @@ (define-public python-radon Supported metrics are: @itemize @bullet @item raw metrics: SLOC, comment lines, blank lines, &c. - @item Cyclomatic Complexity (i.e. McCabe’s Complexity) + @item Cyclomatic Complexity (i.e., McCabe’s Complexity) @item Halstead metrics (all of them) @item the Maintainability Index (a Visual Studio metric) @end itemize") diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 0e977698d7..1ef7efe266 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -6624,7 +6624,7 @@ (define-public r-logspline (description "Contains routines for logspline density estimation. The function @code{oldlogspline()} uses the same algorithm as the logspline package version -1.0.x; i.e. the Kooperberg and Stone (1992) algorithm (with an improved +1.0.x; i.e., the Kooperberg and Stone (1992) algorithm (with an improved interface). The recommended routine @code{logspline()} uses an algorithm from @url{doi:10.1214/aos/1031594728,Stone et al (1997)}.") (license license:asl2.0))) diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm index 8dd8f76143..460e8bfc0f 100644 --- a/gnu/packages/suckless.scm +++ b/gnu/packages/suckless.scm @@ -122,7 +122,7 @@ (define-public tabbed (synopsis "Tab interface for application supporting Xembed") (description "Tabbed is a generic tabbed frontend to xembed-aware applications. It was originally designed for surf but also usable with many -other applications, i.e. st, uzbl, urxvt and xterm.") +other applications, i.e., st, uzbl, urxvt and xterm.") (license ;; Dual-licensed. (list -- cgit v1.2.3 From d7ab54cdb1021e003bb335baa2aee9cc32d747c7 Mon Sep 17 00:00:00 2001 From: Philip McGrath Date: Mon, 25 Jul 2022 08:39:23 -0400 Subject: gnu: Add python-biblib. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-biblib): New variable. Signed-off-by: Ludovic Courtès --- 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 8f409a4b7d..6fd18bfa35 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -124,6 +124,7 @@ ;;; Copyright © 2022 Artyom V. Poptsov ;;; Copyright © 2022 Paul A. Patience ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ +;;; Copyright © 2022 Philip McGrath ;;; ;;; This file is part of GNU Guix. ;;; @@ -30203,3 +30204,32 @@ (define-public python-bsdiff4 binary diff utility. It also provides two command-line tools, @code{bsdiff4} and @code{bspatch4}.") (license license:bsd-2))) + +(define-public python-biblib + (let ((upstream-version "0.1.0") + (commit "ab0e857b9198fe425ec9b02fcc293b5d9fd0c406") + (revision "1")) + (package + (name "python-biblib") + (version (git-version upstream-version revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/aclements/biblib") + (commit commit))) + (sha256 + (base32 "1ym1gwxys9gl5a7fjs6xh5z9w50pnq4z3rs6fx7kpv78hlrbjlip")) + (file-name (git-file-name name version)))) + (build-system python-build-system) + (home-page "https://github.com/aclements/biblib") + (synopsis "BibTeX parsing and transformation library") + (description + "Biblib provides a simple, standalone Python 3 package for parsing +BibTeX bibliographic databases, as well as algorithms for manipulating BibTeX +entries in BibTeX-y ways. Biblib's parser is derived directly from the WEB +source code for BibTeX and hence (barring bugs in translation) should be fully +compatible with BibTeX's own parser.") + ;; N.B. It seems the parser was translated from WEB by hand: this + ;; package does not contain any generated files. + (license license:expat)))) -- cgit v1.2.3 From 94f801a4269a774e1d4bafb4ea2db75f5d68504a Mon Sep 17 00:00:00 2001 From: FELŠÖCI Marek Date: Fri, 29 Jul 2022 15:45:02 +0200 Subject: gnu: python-dill: Update to 0.3.5.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-dill): Update to 0.3.5.1. Signed-off-by: 宋文武 --- gnu/packages/python-xyz.scm | 5 +++-- 1 file changed, 3 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 6fd18bfa35..b53609ebb3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -125,6 +125,7 @@ ;;; Copyright © 2022 Paul A. Patience ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ ;;; Copyright © 2022 Philip McGrath +;;; Copyright © 2022 Marek Felšöci ;;; ;;; This file is part of GNU Guix. ;;; @@ -22653,13 +22654,13 @@ (define-public python-anndata (define-public python-dill (package (name "python-dill") - (version "0.3.1.1") + (version "0.3.5.1") (source (origin (method url-fetch) (uri (pypi-uri "dill" version)) (sha256 - (base32 "1704g8z70d210ksgbccs2v545v9w0wc6lx15m296alb7jf0yzn22")))) + (base32 "11lc40x37cx2i8qqbc5qklifm65dyjl6prrqsycybvpixzrl2pnp")))) (build-system python-build-system) (arguments `(#:phases -- cgit v1.2.3 From 933d3cf7f7fe7ed6eae130ae8275176573af1638 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Thu, 4 Aug 2022 11:38:43 +0200 Subject: gnu: python-shapely: Update to 1.8.2. * gnu/packages/python-xyz.scm (python-shapely): Update to 1.8.2. [source]: Remove snippet. --- gnu/packages/python-xyz.scm | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b53609ebb3..cf1f009a7f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -59,7 +59,7 @@ ;;; Copyright © 2019, 2020 Brett Gilio ;;; Copyright © 2019 Sam ;;; Copyright © 2019 Jack Hill -;;; Copyright © 2019, 2020, 2021 Guillaume Le Vaillant +;;; Copyright © 2019, 2020, 2021, 2022 Guillaume Le Vaillant ;;; Copyright © 2019, 2020 Alex Griffin ;;; Copyright © 2019, 2020, 2021, 2022 Pierre Langlois ;;; Copyright © 2019 Jacob MacDonald @@ -1184,20 +1184,13 @@ (define-public python-psutil (define-public python-shapely (package (name "python-shapely") - (version "1.7.1") + (version "1.8.2") (source (origin (method url-fetch) (uri (pypi-uri "Shapely" version)) (sha256 - (base32 - "0adiz4jwmwxk7k1awqifb1a9bj5x4nx4gglb5dz9liam21674h8n")) - (modules '((guix build utils))) - (snippet - '(begin - (delete-file "shapely/speedups/_speedups.c") - (delete-file "shapely/vectorized/_vectorized.c") - #t)))) + (base32 "1dpbjw0w2l1r9s5drmi4cyr1yd5h2a4m9vip7qhy7mbg03azjajp")))) (build-system python-build-system) (native-inputs (list python-cython python-matplotlib python-pytest -- cgit v1.2.3 From 18e00988176162ac736c873dc6cb06169b0aaa3b Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Thu, 10 Mar 2022 18:28:08 +0100 Subject: gnu: python-args: Patch reference to basestring. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Maxime, I **totally** forgot about this one! Seems like no one is using it. `python2-args` also builds. But no package seems to depend on it anyway. Regards, Tanguy * gnu/packages/python-xyz.scm (python-args)[source]: Use the latest version from the git repository to get the test suite. [home-page]: Update URL. [native-inputs]: Add python-nose. [arguments]: Replace reference to basestring with str. Invoke nosetests. Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 45 ++++++++++++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 15 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cf1f009a7f..1be295b140 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14056,21 +14056,36 @@ (define-public python-icalendar (license license:bsd-2))) (define-public python-args - (package - (name "python-args") - (version "0.1.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "args" version)) - (sha256 - (base32 - "057qzi46h5dmxdqknsbrssn78lmqjlnm624iqdhrnpk26zcbi1d7")))) - (build-system python-build-system) - (home-page "https://github.com/kennethreitz/args") - (synopsis "Command-line argument parser") - (description - "This library provides a Python module to parse command-line arguments.") - (license license:bsd-3))) + (let ((commit "9460f1a35eb3055e9e4de1f0a6932e0883c72d65") (revision "0")) + (package + (name "python-args") + (version (git-version "0.1.0" revision commit)) + (home-page "https://github.com/kennethreitz-archive/args") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1zfxpbp9vldqdrjmd0c6y3wisl35mx5v8zlyp3nhwpy1730wrc9j")))) + (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-args.py + (lambda _ + (substitute* "args.py" + (("basestring") "str")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "nosetests" "-v"))))))) + (native-inputs (list python-nose)) + (synopsis "Command-line argument parser") + (description + "This library provides a Python module to parse command-line arguments.") + (license license:bsd-3)))) (define-public python-clint (package -- cgit v1.2.3 From 58d196866a3766480a79a935264b761df1524daf Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 22 Jul 2022 12:34:36 +0100 Subject: gnu: python-netcdf4: Update to 1.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm: (python-netcdf4): Update to 1.6.0. Signed-off-by: Ludovic Courtès --- 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 1be295b140..f9266e4281 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1641,14 +1641,14 @@ (define-public python-cftime (define-public python-netcdf4 (package (name "python-netcdf4") - (version "1.5.3") + (version "1.6.0") (source (origin (method url-fetch) (uri (pypi-uri "netCDF4" version)) (sha256 (base32 - "1gn35mb2yc263pci720aik8ymz41lrvxlrn3z83vyjwghiashg1a")))) + "0qxs8r1qmsmg760wm5q0wqlcm7hdd3k7cghryw6wvqd3v5rs7vwm")))) (build-system python-build-system) (arguments '(#:phases -- cgit v1.2.3 From 3bd2b1b544c45e5e341010e48bcedcb0ba593480 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 22 Jul 2022 12:44:37 +0100 Subject: gnu: Add python-h5netcdf. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm: (python-h5netcdf): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f9266e4281..d02501684f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1476,6 +1476,37 @@ (define-public python-hdf4 @url{http://hdfeos.org/software/pyhdf.php,pyhdf}.") (license license:expat))) +(define-public python-h5netcdf + (package + (name "python-h5netcdf") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "h5netcdf" version)) + (sha256 + (base32 "1b2dcgf5rwy7pb7hr4prkc5vgcw9qc2was20dmnj90lbrpx08rvp")))) + (build-system python-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv" "h5netcdf/tests"))))))) + (native-inputs + (list python-netcdf4 + python-pytest + python-setuptools-scm)) + (propagated-inputs + (list python-h5py python-packaging)) + (home-page "https://h5netcdf.org") + (synopsis "Python interface for the netCDF4 file-format based on h5py") + (description "This package provides Python interface for the netCDF4 +file-format that reads and writes local or remote HDF5 files directly via h5py +or h5pyd, without relying on the Unidata netCDF library") + (license license:bsd-3))) + (define-public python-h5py (package (name "python-h5py") -- cgit v1.2.3 From 94776d73d8c157cca226a1c3c8e32fa625ce844b Mon Sep 17 00:00:00 2001 From: jgart via Guix-patches via Date: Thu, 21 Jul 2022 20:36:11 -0500 Subject: gnu: python-pudb: Update to 2022.1.2. * gnu/packages/python-xyz.scm (python-pudb): Update to 2022.1.2. Signed-off-by: Efraim Flashner --- 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 d02501684f..622a356bf1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28837,13 +28837,13 @@ (define-public dynaconf (define-public python-pudb (package (name "python-pudb") - (version "2022.1.1") + (version "2022.1.2") (source (origin (method url-fetch) (uri (pypi-uri "pudb" version)) (sha256 (base32 - "0gq82hwnibby9qdyv7ri11phvg94nby4jb0w9h3jk79w89kdsfyv")))) + "03a7zalgdxfd2z2k6050ng087gwqgqis544n2083gdfxbf0ap0vb")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases -- cgit v1.2.3 From b12da85668c40be322204e1ca04fb70b4d709411 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 29 Jul 2022 17:50:56 +0100 Subject: gnu: Add python-posix-ipc. * gnu/packages/python-xyz.scm: (python-posix-ipc): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 622a356bf1..95467f4d52 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29631,6 +29631,38 @@ (define-public python-queuelib fashion.") (license license:bsd-3))) +(define-public python-posix-ipc + (package + (name "python-posix-ipc") + (version "1.0.5") + (source + (origin + ;; The source distributed on PyPI is prebuild. + (method git-fetch) + (uri (git-reference + (url "https://github.com/osvenskan/posix_ipc") + (commit (string-append "rel" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17y4d0pmvp199c5hbs602ailhlh9f9zv89kmpbd8jhyl6rgaxsvs")))) + (build-system python-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-cc-path + (lambda _ + (substitute* "prober.py" + (("cmd = .cc") + (string-append "cmd = \"" #$(cc-for-target))))))))) + (native-inputs + (list python-unittest2)) + (home-page "http://semanchuk.com/philip/posix_ipc/") + (synopsis "POSIX IPC primitives for Python") + (description + "This package provides POSIX IPC primitives - semaphores, shared memory and +message queues for Python.") + (license license:bsd-3))) ; BSD like Copyright (c) 2018, Philip Semanchuk + (define-public python-itemadapter (package (name "python-itemadapter") -- cgit v1.2.3 From 86da72fb5b3a35a30660e81084ed0c90ec5af08f Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 23 Jul 2022 20:46:53 +0800 Subject: gnu: Add python-i3ipc. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-i3ipc): New variable. Signed-off-by: Ludovic Courtès --- 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 95467f4d52..affc4772dd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -126,6 +126,7 @@ ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ ;;; Copyright © 2022 Philip McGrath ;;; Copyright © 2022 Marek Felšöci +;;; Copyright © 2022 Hilton Chain ;;; ;;; This file is part of GNU Guix. ;;; @@ -30305,3 +30306,26 @@ (define-public python-biblib ;; N.B. It seems the parser was translated from WEB by hand: this ;; package does not contain any generated files. (license license:expat)))) + +(define-public python-i3ipc + (package + (name "python-i3ipc") + (version "2.2.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/altdesktop/i3ipc-python") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13bzs9dcv27czpnnbgz7a037lm8h991c8gk0qzzk5mq5yak24715")))) + (build-system python-build-system) + (arguments (list #:tests? #f)) ;FIXME: some tests are unable to run + (propagated-inputs (list python-xlib)) + (home-page "https://github.com/altdesktop/i3ipc-python") + (synopsis "Python library for controlling i3 and Sway") + (description + "This package provides a Python library for controlling the i3 and Sway +window managers.") + (license license:bsd-3))) -- cgit v1.2.3 From 515288874ff12c00ca8d1d22a94ef4b4903fec76 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 23 Jul 2022 20:48:19 +0800 Subject: gnu: Add i3-autotiling. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (i3-autotiling): New variable. Signed-off-by: Hilton Chain Signed-off-by: Ludovic Courtès --- 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 affc4772dd..b6ca32a757 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30329,3 +30329,27 @@ (define-public python-i3ipc "This package provides a Python library for controlling the i3 and Sway window managers.") (license license:bsd-3))) + +(define-public i3-autotiling + (package + (name "i3-autotiling") + (version "1.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nwg-piotr/autotiling") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hjlvg7095s322gb43r9g7mqlsy3pj13l827jpnbn5x0918rq9rr")))) + (build-system python-build-system) + (arguments (list #:tests? #f)) ;no tests + (native-inputs (list python-wheel)) + (propagated-inputs (list python-i3ipc)) + (home-page "https://github.com/nwg-piotr/autotiling") + (synopsis "Automatically tile windows in i3 and Sway") + (description + "Script for Sway and i3 to automatically switch the horizontal/vertical + window split orientation.") + (license license:gpl3))) -- cgit v1.2.3 From 38d024dc58ec7d7fc951bf96da0143e7ce3d145b Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Mon, 8 Aug 2022 21:24:41 +0200 Subject: gnu: python-symengine: Update to 0.9.2. * gnu/packages/python-xyz.scm (python-symengine): Update to 0.9.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 b6ca32a757..e5326274c0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14575,13 +14575,13 @@ (define-public python-jmespath (define-public python-symengine (package (name "python-symengine") - (version "0.6.1") + (version "0.9.2") (source (origin (method url-fetch) (uri (pypi-uri "symengine" version)) (sha256 - (base32 "1kn1w4dp9mrsq6kzmhf4pjmx3wicxc3dw1mwa924q8g48g77lr4c")))) + (base32 "0qjgdbnb10kfk7jdhxnzfl8cpaps81k8vap7gm7q9ym3pgslazhg")))) (build-system python-build-system) (native-inputs (list cmake python-cython)) -- cgit v1.2.3 From e3fc94576ec0fac00ffd1e3f79f2a5c7ad8e2265 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 9 Aug 2022 22:18:47 +0200 Subject: gnu: python-tlsh: Update to 4.11.2. * gnu/packages/python-xyz.scm (python-tlsh): Update to 4.11.2. [source](uri): Remove "v" prefix from version. [arguments]: Add custom check phase. Use G-expression. [inputs]: Remove label. --- gnu/packages/python-xyz.scm | 45 +++++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 18 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e5326274c0..d18959889e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12455,32 +12455,41 @@ (define-public python-pip-run (define-public python-tlsh (package (name "python-tlsh") - (version "3.4.5") + (version "4.11.2") (home-page "https://github.com/trendmicro/tlsh") (source (origin (method git-fetch) - (uri (git-reference - (url "https://github.com/trendmicro/tlsh") - (commit (string-append "v" version)))) + (uri (git-reference (url home-page) (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1ydliir308xn4ywy705mmsh7863ldlixdvpqwdhbipzq9vfpmvll")))) + (base32 "1gb5j73nw3nmx030rf8pm75rns5syxhv44zxr6i74kjicyly1i9w")))) (build-system cmake-build-system) (arguments - '(#:out-of-source? #f - #:phases (modify-phases %standard-phases - (replace - 'install - (lambda* (#:key outputs #:allow-other-keys) - ;; Build and install the Python bindings. The underlying - ;; C++ library is apparently not meant to be installed. - (let ((out (assoc-ref outputs "out"))) - (with-directory-excursion "py_ext" - (and (system* "python" "setup.py" "build") - (system* "python" "setup.py" "install" - (string-append "--prefix=" out)))))))))) - (inputs `(("python" ,python-wrapper))) ;for the bindings + (list #:out-of-source? #f + #:phases + #~(modify-phases %standard-phases + (replace 'install + (lambda _ + ;; Build and install the Python bindings. The underlying + ;; C++ library is apparently not meant to be installed. + (with-directory-excursion "py_ext" + (and (system* "python" "setup.py" "build") + (system* "python" "setup.py" "install" + (string-append "--prefix=" #$output)))))) + ;; Delay tests until the phase above has run. + (delete 'check) + (add-after 'install 'check + (lambda* (#:key tests? #:allow-other-keys) + (substitute* "Testing/python_test.sh" + ;; The script sets up a working PYTHONPATH, but does not + ;; export it for all subsequent test commands. Fix that. + (("^PYTHONPATH=\".*" all) + (string-append all "\nexport PYTHONPATH\n"))) + (when tests? + (with-directory-excursion "Testing" + (invoke "./python_test.sh")))))))) + (inputs (list python-wrapper)) ;for the bindings (synopsis "Fuzzy matching library for Python") (description "Trend Micro Locality Sensitive Hash (TLSH) is a fuzzy matching library. -- cgit v1.2.3 From cffb9967fe5037bba4da52438d4d2f57409db637 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Thu, 21 Jul 2022 20:33:56 +0200 Subject: gnu: python-munch: Update to 2.5.0. * gnu/packages/python-xyz.scm (python-munch): Update to 2.5.0. [propagated-inputs]: Add python-six. [native-inputs]: Add python-pbr and python-pytest. --- gnu/packages/python-xyz.scm | 6 ++++-- 1 file changed, 4 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 d18959889e..6270fee9b9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5742,15 +5742,17 @@ (define-public python-numpy-documentation (define-public python-munch (package (name "python-munch") - (version "2.0.4") + (version "2.5.0") (source (origin (method url-fetch) (uri (pypi-uri "munch" version)) (sha256 (base32 - "1cmqg91xnqx8gvnh4pmp0bfl1dfcm65d5p9mg73zz8pkjhx6h80l")))) + "1lnvlic9g68hcmgdnv5bzp0nx2bf1kjclj54gx0s7nyl4ipmywrd")))) (build-system python-build-system) + (native-inputs (list python-pbr python-pytest)) + (propagated-inputs (list python-six)) (home-page "https://github.com/Infinidat/munch") (synopsis "Dot-accessible dictionary") (description "Munch is a dot-accessible dictionary similar to JavaScript -- cgit v1.2.3 From 6937cea1996a21321b6cc041c37e4c0381c9b6a0 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Wed, 20 Jul 2022 08:20:35 +0200 Subject: gnu: python-pyjwt: Update to 2.4.0. * gnu/packages/python-xyz.scm (python-pyjwt): Update to 2.4.0. [source]: Remove snippet. [arguments]{check}: Remove now unused parts, honor '#:tests?'. (native-inputs]: Remove python-pytest-cov, add python-cryptography. --- gnu/packages/python-xyz.scm | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6270fee9b9..c430b99600 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3763,34 +3763,23 @@ (define-public python-text-unidecode (define-public python-pyjwt (package (name "python-pyjwt") - (version "1.7.1") + (version "2.4.0") (source (origin (method url-fetch) (uri (pypi-uri "PyJWT" version)) (sha256 (base32 - "15hflax5qkw1v6nssk1r0wkj83jgghskcmn875m3wgvpzdvajncd")) - (modules '((guix build utils))) - (snippet - '(begin - (for-each delete-file-recursively - (find-files "." "\\.pyc$")) - #t)))) + "1fmbcwfw1463wjzwbcgg3s16rad6kfb1mc5y7jbkp6v9ihh0hafl")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - ;; Mimic upstream commit 3a20892442b34c7 to get - ;; rid of dependency on pytest-runner < 5.0. - ;; Remove substitution for PyJWT > 1.7.1. - (substitute* "setup.py" - ((".*pytest-runner.*") - "")) - (invoke "pytest" "-vv")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) (native-inputs - (list python-pytest python-pytest-cov)) + (list python-cryptography python-pytest)) (home-page "https://github.com/progrium/pyjwt") (synopsis "JSON Web Token implementation in Python") (description -- cgit v1.2.3 From 84de0e317511515d310ca54d90bbd7996babe0fc Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Thu, 21 Jul 2022 22:08:43 +0200 Subject: gnu: python-pygithub: Update to 1.55. * gnu/packages/python-xyz.scm (python-pygithub): Update to 1.55. [propagated-inputs]: Add python-pynacl. --- 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 c430b99600..1822eeea36 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4589,7 +4589,7 @@ (define-public python-deprecated (define-public python-pygithub (package (name "python-pygithub") - (version "1.54.1") + (version "1.55") (source ;; We fetch from the Git repo because there are no tests in the PyPI ;; archive. @@ -4600,7 +4600,7 @@ (define-public python-pygithub (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1nl74bp5ikdnrc8xq0qr25ryl1mvarf0xi43k8w5jzlrllhq0nkq")))) + (base32 "082bxffpy4h97dsay3l75cpgfjj10kywkvicnm6xscwvah285q9y")))) (build-system python-build-system) (arguments `(#:phases @@ -4612,7 +4612,7 @@ (define-public python-pygithub #t))))) (propagated-inputs (list python-cryptography python-deprecated python-pyjwt - python-requests)) + python-pynacl python-requests)) (native-inputs (list python-httpretty python-pytest)) (home-page "https://pygithub.readthedocs.io/en/latest/") -- cgit v1.2.3 From 357a4c1870992a71f64033a90a09a1a8cb32c210 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 24 Jul 2022 13:09:35 +0200 Subject: gnu: Add python-mkdocs-markdownextradata-plugin. * gnu/packages/python-xyz.scm (python-mkdocs-markdownextradata-plugin): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1822eeea36..808ca1c8db 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -693,6 +693,32 @@ (define-public python-mkdocs configured with a single YAML configuration file.") (license license:bsd-3))) +(define-public python-mkdocs-markdownextradata-plugin + (package + (name "python-mkdocs-markdownextradata-plugin") + (version "0.2.5") + (source (origin + ;; Use git, as there are some test files missing from the PyPI release, + ;; see https://github.com/rosscdh/mkdocs-markdownextradata-plugin/issues/41. + (method git-fetch) + (uri (git-reference + (url "https://github.com/rosscdh/mkdocs-markdownextradata-plugin") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1a3868s9m7pzyfncpjbjsa9vw5nihssl2v47pxj7h6qa67kvlk3g")))) + (build-system python-build-system) + (native-inputs (list python-pytest)) + (propagated-inputs (list python-mkdocs python-pyyaml)) + (home-page "https://github.com/rosscdh/mkdocs-markdownextradata-plugin/") + (synopsis "Inject mkdocs.yml extra variables into the MkDocs markdown +template") + (description + "This package provides a MkDocs plugin that injects the mkdocs.yml extra +variables into the markdown template") + (license license:expat))) + (define-public python-pymdown-extensions (package (name "python-pymdown-extensions") -- cgit v1.2.3 From cf2327ecc0e92ec28e8863bb35ff38d9ffaa0615 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 24 Jul 2022 13:29:31 +0200 Subject: gnu: Add python-cyclic. * gnu/packages/python-xyz.scm (python-cyclic): New variable. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 808ca1c8db..1e4d04e069 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30379,3 +30379,26 @@ (define-public i3-autotiling "Script for Sway and i3 to automatically switch the horizontal/vertical window split orientation.") (license license:gpl3))) + +(define-public python-cyclic + (package + (name "python-cyclic") + (version "1.0.0") + (source (origin + ;; Use git, as there are some test files missing from the PyPI + ;; release, see https://github.com/neurobin/cyclic/issues/1 + (method git-fetch) + (uri (git-reference + (url "https://github.com/neurobin/cyclic") + ;; Release is not tagged on github, see + ;; https://github.com/neurobin/cyclic/issues/2 + (commit "bf616c47ea49a43500ea55a1e6f4890323be0679"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0r8zzjdv70fpxssxps62rlgpii8fr9gh8gykdygqn6mkdnfjwgjc")))) + (build-system python-build-system) + (home-page "https://github.com/neurobin/cyclic") + (synopsis "Handle cyclic relations") + (description "This package handles cyclic relations compared by value.") + (license license:bsd-3))) -- cgit v1.2.3 From 0f9e0abd4fd15afb498ec8aa3ca10fdb8a9bc1c4 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 24 Jul 2022 13:30:13 +0200 Subject: gnu: Add python-rcslice. * gnu/packages/python-xyz.scm (python-rcslice): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1e4d04e069..c22718efaf 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30402,3 +30402,29 @@ (define-public python-cyclic (synopsis "Handle cyclic relations") (description "This package handles cyclic relations compared by value.") (license license:bsd-3))) + +(define-public python-rcslice + (package + (name "python-rcslice") + (version "1.1.0") + (source (origin + ;; Use git, as there are some test files missing from the PyPI + ;; release, see https://github.com/neurobin/rcslice/issues/1 + (method git-fetch) + (uri (git-reference + (url "https://github.com/neurobin/rcslice") + ;; Releases are not tagged on github, see + ;; https://github.com/neurobin/rcslice/issues/2 + (commit "1e1ef42cd262db76b67ded430630d5b499790f42"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lmhcgghh60kvdlx0cin1phhgfy9jivc6l0mb4ibnpa1x1md0zvv")))) + (build-system python-build-system) + (home-page "https://github.com/neurobin/rcslice") + (synopsis "Slice a list of sliceables") + (description "This package provides Python module to slice a list of +sliceables (1 indexed, both start and end index are inclusive). Helps to +slice file content line by line or column by column or a combination of +both.") + (license license:bsd-3))) -- cgit v1.2.3 From da7e6028c8147266590aabb380755a2d9a974889 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 24 Jul 2022 13:28:05 +0200 Subject: gnu: Add python-mdx-include. * gnu/packages/python-xyz.scm (python-mdx-include): New variable. --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c22718efaf..5eac85affe 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10900,6 +10900,42 @@ (define-public python-markdown markdown_py is also provided to convert Markdown files to HTML.") (license license:bsd-3))) +(define-public python-mdx-include + (package + (name "python-mdx-include") + (version "1.4.1") + (source (origin + ;; Use git, as there are some test files missing from the PyPI + ;; release, see https://github.com/neurobin/mdx_include/issues/9 + (method git-fetch) + (uri (git-reference + (url "https://github.com/neurobin/mdx_include") + ;; Releases are not tagged on github, see + ;; https://github.com/neurobin/mdx_include/issues/10 + (commit "683e6be7a00a1ef4d673ad0294458fa61bc97286"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qpzgln4ybd7pl0m9s19dv60aq9cvwrk7x3yz96kjhcywaa5w386")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'check 'disable-test-requiring-network + (lambda _ + (substitute* "mdx_include/test/test.py" + (("(\\s+def )test_(cache|config|default)\\(" _ pre post) + (string-append pre "__off__test_" post "(")))))))) + (propagated-inputs (list python-cyclic python-markdown python-rcslice)) + (home-page "https://github.com/neurobin/mdx_include") + (synopsis "Python Markdown extension to include local or remote files") + (description "Include extension for Python Markdown. It lets you include +local or remote (downloadable) files into your markdown at arbitrary +positions. + +This project is motivated by markdown-include and provides the same +functionalities with some extras.") + (license license:bsd-3))) (define-public python-ptyprocess (package -- cgit v1.2.3 From 6ff0e43d4ef80b81599cb66432f80784deefc704 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 24 Jul 2022 13:30:24 +0200 Subject: gnu: Add python-types-orjson. * gnu/packages/python-xyz.scm (python-types-orjson): New variable. --- 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 5eac85affe..60f2df85f1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30464,3 +30464,21 @@ (define-public python-rcslice slice file content line by line or column by column or a combination of both.") (license license:bsd-3))) + +(define-public python-types-orjson + (package + (name "python-types-orjson") + (version "3.6.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "types-orjson" version)) + (sha256 + (base32 + "0f66lf2qrl9d4vad42db3dmnzv89h4rr05r5zxx5qcl6kb3zr6ng")))) + (build-system python-build-system) + (home-page "https://github.com/python/typeshed") + (synopsis "Typing stubs for orjson") + (description "This is a PEP 561 type stub package for the @code{orjson} +package. It can be used by type-checking tools like mypy, PyCharm, pytype +etc. to check code that uses @code{orjson}.") + (license license:asl2.0))) -- cgit v1.2.3 From 00d3fb23ff88fbd2292c4b19cec85f244bfed684 Mon Sep 17 00:00:00 2001 From: vicvbcun Date: Mon, 8 Aug 2022 17:45:45 +0200 Subject: gnu: python-sympy: Update to 1.10.1. * gnu/packages/python-xyz.scm (python-sympy): Update to 1.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 60f2df85f1..b062b4c013 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9957,13 +9957,13 @@ (define-public python-yte (define-public python-sympy (package (name "python-sympy") - (version "1.7.1") + (version "1.10.1") (source (origin (method url-fetch) (uri (pypi-uri "sympy" version)) (sha256 - (base32 "0bkb4jf24yv5i4kjpsmg1xjjccfhqyi0syv0p0xvhdbmx5hr5pm3")))) + (base32 "0yvqb2fhrm81skl8s9znbkkjfb1a09n64qqlc1r225cyvzzywfar")))) (build-system python-build-system) (arguments `(#:phases -- cgit v1.2.3 From ea6b2d52e03295e570354494de534e74b7e9293d Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Tue, 19 Jul 2022 15:46:35 +0200 Subject: gnu: Add python-pycountry@20.7.3. This old version is required by Tryton. * gnu/packages/python-xyz.scm (python-pycountry@20.7.3): New variable. --- gnu/packages/python-xyz.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b062b4c013..0ea9b9b25f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18923,6 +18923,18 @@ (define-public python-pycountry through a Python API.") (license license:lgpl2.1+))) +(define-public python-pycountry@20.7.3 + (package + (inherit python-pycountry) + (name "python-pycountry") + (version "20.7.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pycountry" version)) + (sha256 + (base32 "0hnbabsmqimx5hqh0jbd2f64i8fhzhhbrvid57048hs5sd9ll241")))))) + (define-public python-pycosat (package (name "python-pycosat") -- cgit v1.2.3 From 4c846ba9eb3fc97d2204d123f5ff92a979da47ba Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Thu, 11 Aug 2022 15:32:34 +0800 Subject: gnu: python-symengine: Fix tests. This fixes . * gnu/packages/python-xyz.scm (python-symengine): [native-inputs]: Add python-nose. [arguments]: Run tests with 'nosetests'. --- gnu/packages/python-xyz.scm | 13 ++++++++++++- 1 file changed, 12 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 0ea9b9b25f..c21fe67f20 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14645,8 +14645,19 @@ (define-public python-symengine (sha256 (base32 "0qjgdbnb10kfk7jdhxnzfl8cpaps81k8vap7gm7q9ym3pgslazhg")))) (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + ;; Run tests against installed package. + (with-directory-excursion "/tmp" + (invoke "nosetests" "-v" "symengine.tests")) + (format #t "test suite not run~%"))))))) (native-inputs - (list cmake python-cython)) + (list cmake python-cython python-nose)) (inputs (list symengine)) (home-page "https://github.com/symengine/symengine.py") -- cgit v1.2.3 From 38069657818acc7974f67ae3d79460c540d51f89 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 11 Aug 2022 11:34:45 +0200 Subject: gnu: python-pyicu: Update home page. * gnu/packages/python-xyz.scm (python-pyicu)[home-page]: Change to current. --- 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 c21fe67f20..b02bbfc2c9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2820,7 +2820,7 @@ (define-public python-pyicu (list icu4c)) (native-inputs (list python-pytest python-six)) - (home-page "https://github.com/ovalhub/pyicu") + (home-page "https://gitlab.pyicu.org/main/pyicu") (synopsis "Python extension wrapping the ICU C++ API") (description "PyICU is a python extension wrapping the ICU C++ API.") -- cgit v1.2.3 From e3e678000d53fc85fcbed305f92aa0a17df414bb Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 11 Aug 2022 11:35:14 +0200 Subject: gnu: python-pyicu: Update to 2.9. * gnu/packages/python-xyz.scm (python-pyicu): Update to 2.9. --- 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 b02bbfc2c9..d262cf37fc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2807,14 +2807,14 @@ (define-public python-simplejson (define-public python-pyicu (package (name "python-pyicu") - (version "2.7.4") + (version "2.9") (source (origin (method url-fetch) (uri (pypi-uri "PyICU" version)) (sha256 (base32 - "0mkz1673qxldxs4mrqg9882xgmz5fhpia17yrsd6z8dfw8156rf0")))) + "0y2qhh443vydi3y7kmhyb6kz3z6d7qq7ld0sg88mfqalcp7dca9w")))) (build-system python-build-system) (inputs (list icu4c)) -- cgit v1.2.3