diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-05-06 15:07:45 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-24 10:19:27 +0100 |
| commit | e519066d01e8365ff286223e8469a21bb76fbba7 (patch) | |
| tree | dffe34110a2dd6a87cad9ef8ef5fd7d748b28ad2 /gnu/packages | |
| parent | a2914f185f78266397a50a16730efc8cde946cce (diff) | |
gnu: python-svgelements: Fix build on Python@3.12.
* gnu/packages/python-xyz.scm (python-svgelements)
[source]: Switch to git-fetch.
[arguments]: Add phase 'fix-python-incompatibilities.
[native-inputs]: Drop python-wheel.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0732d56856b..bce04d45971 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm | |||
| @@ -36784,19 +36784,30 @@ a port of the chalk package for javascript.") | |||
| 36784 | (version "1.9.6") | 36784 | (version "1.9.6") |
| 36785 | (source | 36785 | (source |
| 36786 | (origin | 36786 | (origin |
| 36787 | (method url-fetch) | 36787 | (method git-fetch) |
| 36788 | (uri (pypi-uri "svgelements" version)) | 36788 | (uri (git-reference |
| 36789 | (url "https://github.com/meerk40t/svgelements") | ||
| 36790 | (commit version))) | ||
| 36791 | (file-name (git-file-name name version)) | ||
| 36789 | (sha256 | 36792 | (sha256 |
| 36790 | (base32 "1xrp7yxg65dqdrmghriljf9hh2smq2zhzr2hzmqifgfd0ijas0kw")))) | 36793 | (base32 "0bpddyy4klmkkv6w06hqrv2m5ds1kxc0rl9pxnsw91wyfwcsq7cz")))) |
| 36791 | (build-system pyproject-build-system) | 36794 | (build-system pyproject-build-system) |
| 36795 | (arguments | ||
| 36796 | (list | ||
| 36797 | #:phases | ||
| 36798 | #~(modify-phases %standard-phases | ||
| 36799 | (add-after 'unpack 'fix-python-incompatibilities | ||
| 36800 | (lambda _ | ||
| 36801 | (substitute* (find-files "test" "\\.py$") | ||
| 36802 | (("(assert(|NotAlmost)Equal)s" all out in) | ||
| 36803 | out))))))) | ||
| 36792 | (native-inputs | 36804 | (native-inputs |
| 36793 | (list python-anyio | 36805 | (list python-anyio |
| 36794 | python-pytest | 36806 | python-pytest |
| 36795 | python-numpy | 36807 | python-numpy |
| 36796 | python-pillow | 36808 | python-pillow |
| 36797 | python-scipy | 36809 | python-scipy |
| 36798 | python-setuptools | 36810 | python-setuptools)) |
| 36799 | python-wheel)) | ||
| 36800 | (home-page "https://github.com/meerk40t/svgelements") | 36811 | (home-page "https://github.com/meerk40t/svgelements") |
| 36801 | (synopsis "SVG parsing for elements, paths, and other SVG objects") | 36812 | (synopsis "SVG parsing for elements, paths, and other SVG objects") |
| 36802 | (description | 36813 | (description |
