diff options
| -rw-r--r-- | guix-science/packages/python-xyz.scm | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/guix-science/packages/python-xyz.scm b/guix-science/packages/python-xyz.scm index 00eac42..da6a464 100644 --- a/guix-science/packages/python-xyz.scm +++ b/guix-science/packages/python-xyz.scm | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; SPDX-License-Identifier: GPL-3.0-or-later | 1 | ;;; SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | 2 | ||
| 3 | (define-module (guix-science packages python-xyz) | 3 | (define-module (guix-science packages python-xyz) |
| 4 | #:use-module (gnu packages build-tools) | ||
| 4 | #:use-module (gnu packages check) | 5 | #:use-module (gnu packages check) |
| 5 | #:use-module (gnu packages image-processing) | 6 | #:use-module (gnu packages image-processing) |
| 6 | #:use-module (gnu packages iso-codes) | 7 | #:use-module (gnu packages iso-codes) |
| @@ -588,7 +589,7 @@ notification. | |||
| 588 | (define-public python-envisage | 589 | (define-public python-envisage |
| 589 | (package | 590 | (package |
| 590 | (name "python-envisage") | 591 | (name "python-envisage") |
| 591 | (version "7.0.4") | 592 | (version "8.0.1") |
| 592 | (source | 593 | (source |
| 593 | (origin | 594 | (origin |
| 594 | (method git-fetch) | 595 | (method git-fetch) |
| @@ -597,13 +598,20 @@ notification. | |||
| 597 | (commit version))) | 598 | (commit version))) |
| 598 | (file-name (git-file-name name version)) | 599 | (file-name (git-file-name name version)) |
| 599 | (sha256 | 600 | (sha256 |
| 600 | (base32 "1dhyb9s7nm4skimjknp4nfzj6x9wqgwg2swva3gdb65rg35kwscl")))) | 601 | (base32 "05ax59jw5rqvz00dywrcd5r508rls9l9bp2z7rvh56i2lyi6fjyh")))) |
| 601 | (build-system pyproject-build-system) | 602 | (build-system pyproject-build-system) |
| 602 | (arguments | 603 | (arguments |
| 603 | (list | 604 | (list |
| 604 | #:phases | 605 | #:phases |
| 605 | #~(modify-phases %standard-phases | 606 | #~(modify-phases %standard-phases |
| 606 | (add-before 'check 'before-check | 607 | ;; Testing requires a writable home location. |
| 608 | (add-before 'check 'set-home | ||
| 609 | (lambda _ | ||
| 610 | (setenv "HOME" | ||
| 611 | (getcwd)))) | ||
| 612 | |||
| 613 | ;; Testing requires a running X server. | ||
| 614 | (add-before 'check 'start-xorg-server | ||
| 607 | (lambda _ | 615 | (lambda _ |
| 608 | ;; Testing requires a running X server. | 616 | ;; Testing requires a running X server. |
| 609 | (system "Xvfb :99 -screen 0 1024x768x24 &") | 617 | (system "Xvfb :99 -screen 0 1024x768x24 &") |
| @@ -614,7 +622,7 @@ notification. | |||
| 614 | python-pyface | 622 | python-pyface |
| 615 | python-traits | 623 | python-traits |
| 616 | python-traitsui)) | 624 | python-traitsui)) |
| 617 | (native-inputs (list python-pyqt python-pytest python-setuptools | 625 | (native-inputs (list python-pyside-6 python-pytest python-uv-build |
| 618 | xorg-server)) | 626 | xorg-server)) |
| 619 | (home-page "http://docs.enthought.com/envisage") | 627 | (home-page "http://docs.enthought.com/envisage") |
| 620 | (synopsis "Extensible application framework") | 628 | (synopsis "Extensible application framework") |
