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
This commit is contained in:
Sharlatan Hellseher 2025-01-07 21:13:13 +00:00
parent 11a9e3f417
commit 9ba50085a0
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2642,23 +2642,39 @@ (define-public python-glue-core
(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 @@ (define-public python-glue-qt
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.")