mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: mygnuhealth: Switch to pyproject.
* gnu/packages/medical.scm (mygnuhealth): [build-system]: Switch to pyproject-build-system. [arguments]<#:tests>: Disable them. <#:imported-modules, #:modules>: Refresh them. <#:phases>: Run guix style. [native-inputs]: Add python-setuptools. Change-Id: Ieec8cbd7c1c87f1482a8dc8049fcb8ad1aae4f9e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
c1344744d1
commit
b972e487a5
1 changed files with 24 additions and 20 deletions
|
@ -65,28 +65,32 @@
|
||||||
(package
|
(package
|
||||||
(name "mygnuhealth")
|
(name "mygnuhealth")
|
||||||
(version "2.2.1")
|
(version "2.2.1")
|
||||||
(source (origin
|
(source
|
||||||
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "MyGNUHealth" version))
|
(uri (pypi-uri "MyGNUHealth" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1jcrriccqzb4jx7zayhiqmpvi3cvfy3bbf9zr3m83878f94yww8j"))))
|
||||||
"1jcrriccqzb4jx7zayhiqmpvi3cvfy3bbf9zr3m83878f94yww8j"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:imported-modules `(,@%python-build-system-modules
|
#:tests? #f ; no tests.
|
||||||
|
#:imported-modules
|
||||||
|
`(,@%pyproject-build-system-modules
|
||||||
,@%qt-build-system-modules)
|
,@%qt-build-system-modules)
|
||||||
#:modules `(((guix build qt-build-system) #:prefix qt:)
|
#:modules
|
||||||
(guix build python-build-system)
|
`(((guix build qt-build-system) #:prefix qt:)
|
||||||
|
(guix build pyproject-build-system)
|
||||||
(guix build utils))
|
(guix build utils))
|
||||||
#:phases #~(modify-phases %standard-phases
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'qt-wrap
|
(add-after 'install 'qt-wrap
|
||||||
(assoc-ref qt:%standard-phases 'qt-wrap))
|
(assoc-ref qt:%standard-phases 'qt-wrap))
|
||||||
(add-before 'check 'env-setup
|
(add-before 'check 'env-setup
|
||||||
(lambda _
|
(lambda _
|
||||||
(mkdir-p "/tmp/mygh/")
|
(mkdir-p "/tmp/mygh/")
|
||||||
(setenv "HOME" "/tmp"))))))
|
(setenv "HOME" "/tmp"))))))
|
||||||
(native-inputs (list python-pyside-2))
|
(native-inputs (list python-pyside-2 python-setuptools))
|
||||||
(inputs (list bash-minimal
|
(inputs (list bash-minimal
|
||||||
kirigami-5
|
kirigami-5
|
||||||
python
|
python
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue