diff options
author | Sharlatan Hellseher <[email protected]> | 2025-01-07 21:13:13 +0000 |
---|---|---|
committer | Sharlatan Hellseher <[email protected]> | 2025-01-07 23:17:20 +0000 |
commit | 9ba50085a0904d29b7b350a6a26a8604c682312b (patch) | |
tree | 11052dac394b0c26898a6eed091c7e2717d47cec | |
parent | 11a9e3f417170b40ce4d39e0f3c997369bb6d1cc (diff) |
gnu: python-glue-qt: Update to 0.3.2.
* gnu/packages/astronomy.scm (python-glue-qt): Update to 0.3.2. Fix build.
[source]: Swap to git checkout, as no fresh release reached PyPI.
[arguments] <tests?>: Disable all test for now as failed upstream.
<phases>: Add 'set-env-version.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: I37b5c82e27c9414415f023768c49da3fbaf7b9d4
-rw-r--r-- | gnu/packages/astronomy.scm | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 32991ec59b..b9ea930679 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2642,23 +2642,39 @@ across many files.") (define-public python-glue-qt (package (name "python-glue-qt") - (version "0.3.1") + (version "0.3.2") (source (origin - (method url-fetch) - (uri (pypi-uri "glue-qt" version)) + (method git-fetch) ; no fresh release PyPI + (uri (git-reference + (url "https://github.com/glue-viz/glue-qt") + ;(commit (string-append "v" version)))) + (commit "8a1d6ab34a7016747690c3ce596a5204c36e0b93"))) + (file-name (git-file-name name version)) (sha256 - (base32 "15ycykhg02xmsrlyv90qxckssmrq355qaqmz7p8nnqygm0gyrnx1")))) + (base32 "1zh25y8c98lzsnha4pxm17s6bkkab97rzw9zaik8asrxhc0kgypd")))) (build-system pyproject-build-system) (arguments (list + ;; Broken upstram, see <https://github.com/glue-viz/glue-qt/issues/23>. + #:tests? #f #:phases #~(modify-phases %standard-phases + (add-before 'build 'set-env-version + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))) (add-before 'check 'prepare-x (lambda _ (system "Xvfb &") (setenv "DISPLAY" ":0") (setenv "HOME" "/tmp")))))) + (native-inputs + (list python-objgraph + python-pytest + python-setuptools + python-setuptools-scm + python-wheel + xorg-server-for-tests)) (propagated-inputs (list python-astropy python-echo @@ -2671,11 +2687,6 @@ across many files.") python-qtconsole python-qtpy python-scipy)) - (native-inputs - (list python-objgraph - python-pytest - python-setuptools-scm - xorg-server-for-tests)) (home-page "http://glueviz.org") (synopsis "Multidimensional data visualization across files") (description "Multidimensional data visualization across files.") |