diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-31 02:13:18 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:22 +0100 |
| commit | e53af3c80173f68b09d65956e660daab61d8eda6 (patch) | |
| tree | f812d05e6510aad477bcd59562297bff2da2f760 /gnu/packages/python-build.scm | |
| parent | f8e42bff04c9a6b2ee1e7eed684b18bb7ed1c69a (diff) | |
gnu: python-pyproject-hooks: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-pyproject-hooks): Move from here…
* gnu/packages/python-build.scm (python-pyproject-hooks): …to here.
[native-inputs]: Replace python-pytest by python-pytest-bootstrap.
Change-Id: Iafcf2b6c9e6e4c82f566e994819a39636738ae32
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-build.scm')
| -rw-r--r-- | gnu/packages/python-build.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index 77d24d2ea74..d0c33e905da 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm | |||
| @@ -787,6 +787,29 @@ or doubles. Basically, a stub is an object that returns pre-canned responses, | |||
| 787 | rather than doing any computation.") | 787 | rather than doing any computation.") |
| 788 | (license license:bsd-3))) | 788 | (license license:bsd-3))) |
| 789 | 789 | ||
| 790 | (define-public python-pyproject-hooks | ||
| 791 | (package | ||
| 792 | (name "python-pyproject-hooks") | ||
| 793 | (version "1.2.0") | ||
| 794 | (source | ||
| 795 | (origin | ||
| 796 | (method url-fetch) | ||
| 797 | (uri (pypi-uri "pyproject_hooks" version)) | ||
| 798 | (sha256 | ||
| 799 | (base32 "1y511nblr0lslz1d5s46844f5raryjnp3n1dci499bhgqkarp18y")))) | ||
| 800 | (build-system pyproject-build-system) | ||
| 801 | (native-inputs | ||
| 802 | (list python-flit-core | ||
| 803 | python-pytest-bootstrap | ||
| 804 | python-testpath)) | ||
| 805 | (home-page "https://github.com/pypa/pyproject-hooks") | ||
| 806 | (synopsis "Low-level library for calling @file{pyproject.toml} backends") | ||
| 807 | (description | ||
| 808 | "@code{pyproject-hooks} is a low-level library for calling build backends | ||
| 809 | in @file{pyproject.toml}-based projects. It provides basic functionality to | ||
| 810 | write tooling that generates distribution files from Python projects.") | ||
| 811 | (license license:expat))) | ||
| 812 | |||
| 790 | ;;; The name 'python-pypa-build' is chosen rather than 'python-build' to avoid | 813 | ;;; The name 'python-pypa-build' is chosen rather than 'python-build' to avoid |
| 791 | ;;; a name clash with python-build from (guix build-system python). | 814 | ;;; a name clash with python-build from (guix build-system python). |
| 792 | (define-public python-pypa-build | 815 | (define-public python-pypa-build |
