mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-orange-widget-base: Update to 4.25.1.
* gnu/packages/orange.scm (python-orange-widget-base): Update to 4.25.1. Use G-Expressions, fix build. [srouce]: Adjust URI as PyPI archive name has been changed. [build-system]: Swap to pyproject-build-system. [arguments] <tests?>: Enable them. <test-flags>: Skipp 3 failing tests. <phases>: Remove 'check-setup, add 'pre-check. [native-inputs]: Add python-pytest, python-setuptools, python-trubar, and python-wheel. Change-Id: I20db769c92ec67263984c79ee77e430fd35712ae
This commit is contained in:
parent
ad595936b6
commit
69d657f9c4
1 changed files with 31 additions and 15 deletions
|
@ -99,27 +99,43 @@ data-mining application.")
|
||||||
(define-public python-orange-widget-base
|
(define-public python-orange-widget-base
|
||||||
(package
|
(package
|
||||||
(name "python-orange-widget-base")
|
(name "python-orange-widget-base")
|
||||||
(version "4.16.1")
|
(version "4.25.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "orange-widget-base" version))
|
(uri (pypi-uri "orange_widget_base" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0a0sijsvzijj71sxq8ckpgz59z1cq9sxn4fya3z23ibdzjzwrsi7"))))
|
(base32 "1vms6bf96dnx5ban30xd0r0ipc318iq9q2wwgnazphf4hic8vxzi"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(;; unittest fails to load one test, all other tests are passing:
|
(list
|
||||||
;; AttributeError: module 'orangewidget' has no attribute 'version'.
|
#:test-flags
|
||||||
#:tests? #f
|
#~(list "-k" (string-join
|
||||||
#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
;; KeyError: 'HTML (*.html)'
|
||||||
(add-before 'check 'check-setup
|
"not test_save_report_html"
|
||||||
(lambda _
|
;; KeyError: 'PDF (*.pdf)'
|
||||||
(setenv "HOME" "/tmp")
|
"test_save_report_pdf"
|
||||||
(setenv "QT_QPA_PLATFORM" "offscreen"))))))
|
;; AssertionError: False is not true
|
||||||
|
"test_menu")
|
||||||
|
" and not "))
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'pre-check
|
||||||
|
(lambda _
|
||||||
|
(setenv "HOME" "/tmp")
|
||||||
|
(setenv "QT_QPA_PLATFORM" "offscreen"))))))
|
||||||
|
(native-inputs
|
||||||
|
(list python-pytest
|
||||||
|
python-setuptools
|
||||||
|
python-trubar
|
||||||
|
python-wheel))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-anyqt python-matplotlib python-orange-canvas-core
|
(list python-anyqt
|
||||||
python-pyqtgraph python-typing-extensions))
|
python-matplotlib
|
||||||
|
python-orange-canvas-core
|
||||||
|
python-pyqtgraph
|
||||||
|
python-typing-extensions))
|
||||||
(home-page "https://github.com/biolab/orange-widget-base")
|
(home-page "https://github.com/biolab/orange-widget-base")
|
||||||
(synopsis "Base Widget for Orange Canvas")
|
(synopsis "Base Widget for Orange Canvas")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue