mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pypng: Update to 0.20220715.0.
* gnu/packages/python-xyz.scm (python-pypng): Update to 0.20220715.0. [build-system]: Use pyproject-build-system. [arguments]: Add 'pre-check phase. [native-inputs]: Add python-pytest. Change-Id: Ic47c653f94a688048383eba216f01d7987625680
This commit is contained in:
parent
e2c76bdd83
commit
2057f778a4
1 changed files with 13 additions and 3 deletions
|
@ -28937,14 +28937,24 @@ lowercase.")
|
||||||
(define-public python-pypng
|
(define-public python-pypng
|
||||||
(package
|
(package
|
||||||
(name "python-pypng")
|
(name "python-pypng")
|
||||||
(version "0.0.20")
|
(version "0.20220715.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pypng" version))
|
(uri (pypi-uri "pypng" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "02qpa22ls41vwsrzw9r9qhj1nhq05p03hb5473pay6y980s86chh"))))
|
(base32 "1hg24zja235bkbny82hx7sy7qlzfbabxph2lvqaq61vgm4xl773k"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
'(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'pre-check
|
||||||
|
(lambda _
|
||||||
|
(setenv "PYTHONPATH"
|
||||||
|
(string-append (getcwd) "/code:"
|
||||||
|
(getenv "GUIX_PYTHONPATH"))))))))
|
||||||
|
(native-inputs (list python-pytest))
|
||||||
(home-page "https://github.com/drj11/pypng")
|
(home-page "https://github.com/drj11/pypng")
|
||||||
(synopsis "Pure Python PNG image encoder/decoder")
|
(synopsis "Pure Python PNG image encoder/decoder")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue