mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 03:21:49 +02:00
gnu: python-incremental: Improve packaging.
* gnu/packages/python-xyz.scm (python-incremental)[arguments] <build-backend>: Use it instead of patching pyproject.toml. <phases>: Remove 'patch-build-system. [propagated-inputs]: Remove python-tomli. [native-inputs]: Remove python-pytest and python-wheel. Change-Id: Ie80d4bf324e7a52a6aa2ae127f0248dd131ee97a
This commit is contained in:
@@ -25325,21 +25325,11 @@ manipulation and interaction with formal grammars.")
|
|||||||
"1jb4skmy8awix345jk2pnar0sxmrf1gvn3kg9xyyivv0xr3iskzv"))))
|
"1jb4skmy8awix345jk2pnar0sxmrf1gvn3kg9xyyivv0xr3iskzv"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
;; Tests require twisted, which needs this package.
|
||||||
;; Tests require twisted, which needs this package.
|
(list #:tests? #false
|
||||||
#:tests? #false
|
#:build-backend "setuptools.build_meta"))
|
||||||
#:phases
|
(native-inputs
|
||||||
'(modify-phases %standard-phases
|
(list python-setuptools))
|
||||||
(add-after 'unpack 'patch-build-system
|
|
||||||
(lambda _
|
|
||||||
(substitute* "pyproject.toml"
|
|
||||||
(("^backend-path.*") "")
|
|
||||||
(("^build-backend.*")
|
|
||||||
"build-backend = 'setuptools.build_meta'\n")))))))
|
|
||||||
(native-inputs (list python-pytest
|
|
||||||
python-setuptools
|
|
||||||
python-wheel))
|
|
||||||
(propagated-inputs (list python-tomli))
|
|
||||||
(home-page "https://github.com/hawkowl/incremental")
|
(home-page "https://github.com/hawkowl/incremental")
|
||||||
(synopsis "Library for versioning Python projects")
|
(synopsis "Library for versioning Python projects")
|
||||||
(description "Incremental is a small library that versions your Python
|
(description "Incremental is a small library that versions your Python
|
||||||
|
|||||||
Reference in New Issue
Block a user