[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/28: gnu: python-upsetplot: Update to 0.6.0.
From: |
guix-commits |
Subject: |
13/28: gnu: python-upsetplot: Update to 0.6.0. |
Date: |
Sat, 22 Jan 2022 04:23:45 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit b2faad4bd084eb6dd88316f83543a43c982051ab
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Jan 21 22:40:47 2022 +0100
gnu: python-upsetplot: Update to 0.6.0.
* gnu/packages/python-science.scm (python-upsetplot): Update to 0.6.0.
[source](modules, snippet): New fields.
[arguments]: Remove obsolete phase. Respect TESTS? in check phase.
---
gnu/packages/python-science.scm | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 1966d72e09..8df311baea 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -675,26 +675,31 @@ annotations on an existing boxplots and barplots
generated by seaborn.")
(define-public python-upsetplot
(package
(name "python-upsetplot")
- (version "0.4.1")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "UpSetPlot" version))
(sha256
(base32
- "0kwljcmsvrxm33y3ssham2bwv4a5m31mv96y9h18va0cv7s3mqn1"))))
+ "11zrykwnb00w5spx4mnsnm0f9gwrphdczainpmwkyyi50vipaa2l"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Patch for compatibility with newer setuptools:
+ ;; https://github.com/jnothman/UpSetPlot/pull/178
+ '(substitute* "upsetplot/data.py"
+ (("import distutils")
+ "from distutils.version import LooseVersion")
+ (("if distutils\\.version\\.LooseVersion")
+ "if LooseVersion")))))
(build-system python-build-system)
(arguments
- `(#:phases
+ '(#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'fix-versioning
- (lambda _
- (substitute* "setup.py"
- (("pytest-cov<2.6") "pytest-cov"))))
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-v" "--doctest-modules"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-v" "--doctest-modules")))))))
(propagated-inputs
(list python-matplotlib python-pandas))
(native-inputs
- 18/28: gnu: python-flask-session: Update to 0.4.0., (continued)
- 18/28: gnu: python-flask-session: Update to 0.4.0., guix-commits, 2022/01/22
- 22/28: gnu: Add python-pytest-metadata., guix-commits, 2022/01/22
- 25/28: gnu: cwltool: Update to 3.1.20220119140128., guix-commits, 2022/01/22
- 26/28: gnu: python-flask-oidc: Update to 1.4.0., guix-commits, 2022/01/22
- 27/28: gnu: python-watchdog: Remove unused input., guix-commits, 2022/01/22
- 15/28: gnu: python-louvain: Build with older setuptools., guix-commits, 2022/01/22
- 16/28: gnu: python-werkzeug: Update to 2.0.2., guix-commits, 2022/01/22
- 19/28: gnu: python-sqlalchemy: Update to 1.4.31., guix-commits, 2022/01/22
- 23/28: gnu: Add python-cucumber-tag-expressions., guix-commits, 2022/01/22
- 28/28: gnu: python-sphinx-autobuild: Update to 2021.3.14., guix-commits, 2022/01/22
- 13/28: gnu: python-upsetplot: Update to 0.6.0.,
guix-commits <=
- 21/28: gnu: python-pyvcf: Build with old setuptools., guix-commits, 2022/01/22