guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 53e38ac740f6147d6ace0ecb985d4c1fa9be83f8
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Oct 31 02:13:18 2025 +0100
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 <[email protected]>
---
gnu/packages/python-build.scm | 23 +++++++++++++++++++++++
gnu/packages/python-xyz.scm | 23 -----------------------
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 8dbb401122..9d8c37c8d3 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -743,6 +743,29 @@ or doubles. Basically, a stub is an object that returns
pre-canned responses,
rather than doing any computation.")
(license license:bsd-3)))
+(define-public python-pyproject-hooks
+ (package
+ (name "python-pyproject-hooks")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyproject_hooks" version))
+ (sha256
+ (base32 "1y511nblr0lslz1d5s46844f5raryjnp3n1dci499bhgqkarp18y"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-flit-core
+ python-pytest-bootstrap
+ python-testpath))
+ (home-page "https://github.com/pypa/pyproject-hooks")
+ (synopsis "Low-level library for calling @file{pyproject.toml} backends")
+ (description
+ "@code{pyproject-hooks} is a low-level library for calling build backends
+in @file{pyproject.toml}-based projects. It provides basic functionality to
+write tooling that generates distribution files from Python projects.")
+ (license license:expat)))
+
;;; The name 'python-pypa-build' is chosen rather than 'python-build' to avoid
;;; a name clash with python-build from (guix build-system python).
(define-public python-pypa-build
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 773b24e7c4..74fbf8663e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22267,29 +22267,6 @@ database, file, dict stores. Cachy supports python
versions 2.7+ and 3.2+.")
@code{pyproject.toml} style projects in a flexible way.")
(license license:expat)))
-(define-public python-pyproject-hooks
- (package
- (name "python-pyproject-hooks")
- (version "1.2.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "pyproject_hooks" version))
- (sha256
- (base32 "1y511nblr0lslz1d5s46844f5raryjnp3n1dci499bhgqkarp18y"))))
- (build-system pyproject-build-system)
- (native-inputs
- (list python-flit-core
- python-pytest
- python-testpath))
- (home-page "https://github.com/pypa/pyproject-hooks")
- (synopsis "Low-level library for calling @file{pyproject.toml} backends")
- (description
- "@code{pyproject-hooks} is a low-level library for calling build backends
-in @file{pyproject.toml}-based projects. It provides basic functionality to
-write tooling that generates distribution files from Python projects.")
- (license license:expat)))
-
(define-public python-lark
(package
(name "python-lark")