diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-11 22:48:25 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:35:39 +0100 |
| commit | 959d1674841e2ae618ae0622af6f2729d65b11bb (patch) | |
| tree | a653e38600e7bd63e48d1712cdf76006ab0b4e23 /gnu/packages/python-build.scm | |
| parent | 6562b22172104357bd1f0d24034db7c4ee59ca12 (diff) | |
gnu: python-pypa-build: Update to 0.9.0
* gnu/packages/python-build.scm (python-pypa-build): Update to 0.9.0.
[build-system]: Use pyproject.
[arguments] <phases>: Remove 'use-toml-instead-of-tomli.
[native-inputs]: Add python-setuptools.
Change-Id: Id1f9fea2b4d933fdf5ade8d8d5888345a1ae7b40
Diffstat (limited to 'gnu/packages/python-build.scm')
| -rw-r--r-- | gnu/packages/python-build.scm | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index a68b92977e4..3c0636aca3a 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm | |||
| @@ -500,27 +500,22 @@ information.") | |||
| 500 | (define-public python-pypa-build | 500 | (define-public python-pypa-build |
| 501 | (package | 501 | (package |
| 502 | (name "python-pypa-build") | 502 | (name "python-pypa-build") |
| 503 | (version "0.7.0") | 503 | ;; Newer version needs more inputs, consider to move to python-xyz. |
| 504 | (source (origin | 504 | (version "0.9.0") |
| 505 | (method url-fetch) | 505 | (source |
| 506 | (uri (pypi-uri "build" version)) | 506 | (origin |
| 507 | (sha256 | 507 | (method url-fetch) |
| 508 | (base32 | 508 | (uri (pypi-uri "build" version)) |
| 509 | "17xqija27x4my1yrnk6q2vwln60r39g2dhby9zg2l99qjgbdrahs")))) | 509 | (sha256 |
| 510 | (build-system python-build-system) | 510 | (base32 "0g5w28ban6k9qywqwdqiqms3crg75rsvfphl4f4qkg8wi57741qs")))) |
| 511 | (arguments | 511 | (build-system pyproject-build-system) |
| 512 | `(#:tests? #f ;to tests in the PyPI release | 512 | (arguments `(#:tests? #f)) ;disabled to avoid extra dependencies |
| 513 | #:phases (modify-phases %standard-phases | 513 | (native-inputs |
| 514 | (add-after 'unpack 'use-toml-instead-of-tomli | 514 | (list python-setuptools)) |
| 515 | ;; Using toml instead of tomli eases bootstrapping. | ||
| 516 | (lambda _ | ||
| 517 | (substitute* "setup.cfg" | ||
| 518 | (("tomli>=.*") | ||
| 519 | "toml\n"))))))) | ||
| 520 | (propagated-inputs | 515 | (propagated-inputs |
| 521 | `(("python-packaging" ,python-packaging-bootstrap) | 516 | (list python-packaging-bootstrap |
| 522 | ("python-pep517", python-pep517-bootstrap) | 517 | python-pep517-bootstrap |
| 523 | ("python-toml" ,python-toml))) | 518 | python-toml)) |
| 524 | (home-page "https://pypa-build.readthedocs.io/en/latest/") | 519 | (home-page "https://pypa-build.readthedocs.io/en/latest/") |
| 525 | (synopsis "Simple Python PEP 517 package builder") | 520 | (synopsis "Simple Python PEP 517 package builder") |
| 526 | (description "The @command{build} command invokes the PEP 517 hooks to | 521 | (description "The @command{build} command invokes the PEP 517 hooks to |
