From 9ba50085a0904d29b7b350a6a26a8604c682312b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 7 Jan 2025 21:13:13 +0000 Subject: 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] : Disable all test for now as failed upstream. : Add 'set-env-version. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I37b5c82e27c9414415f023768c49da3fbaf7b9d4 --- gnu/packages/astronomy.scm | 29 ++++++++++++++++++++--------- 1 file 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 @@ (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 . + #: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.") -- cgit v1.2.3