summaryrefslogtreecommitdiff
path: root/gnu/packages/python-build.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-01 16:50:31 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:22 +0100
commit3d169ca4463a9aabf288a411cc08b8fa6f8c17db (patch)
tree5d9aca4ac0246b0a228519fb6294158923dde077 /gnu/packages/python-build.scm
parentaa8d1bb55ecc2fded97b45618d6f1148262997f0 (diff)
gnu: python-packaging: Move to (gnu packages python-build).
* gnu/packages/python-xyz.scm (python-packaging): Move from here ... * gnu/packages/python-build.scm (python-packaging): ... to here. Overwrite original python-packaging-bootstrap and swap inheritance. Change-Id: If244d390b7ec3e526dccba28023f6f5350346f01 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-build.scm')
-rw-r--r--gnu/packages/python-build.scm24
1 files changed, 18 insertions, 6 deletions
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 261b52a9d75..df66b1bafe3 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -657,9 +657,9 @@ of regular expressions. The pyparsing module provides a library of classes
that client code uses to construct the grammar directly in Python code.")
(license license:expat)))
-(define-public python-packaging-bootstrap
+(define-public python-packaging
(package
- (name "python-packaging-bootstrap")
+ (name "python-packaging")
(version "25.0")
(source
(origin
@@ -668,20 +668,32 @@ that client code uses to construct the grammar directly in Python code.")
(sha256
(base32 "0kzwn2ar4ndm90qrvgyjcbkqz3klrg0ziwm1yrhbyxynk0n8fhyl"))))
(build-system pyproject-build-system)
- (arguments `(#:tests? #f)) ;disabled to avoid extra dependencies
(native-inputs
- (list python-flit-core))
+ (list python-flit-core
+ python-pretend
+ python-pytest-bootstrap))
+ (propagated-inputs (list python-pyparsing python-six))
(home-page "https://github.com/pypa/packaging")
(synopsis "Core utilities for Python packages")
(description "Packaging is a Python module for dealing with Python packages.
-It offers an interface for working with package versions, names, and dependency
-information.")
+ It offers an interface for working with package versions, names, and dependency
+ information.")
;; From 'LICENSE': This software is made available under the terms of
;; *either* of the licenses found in LICENSE.APACHE or LICENSE.BSD.
;; Contributions to this software is made under the terms of *both* these
;; licenses.
(license (list license:asl2.0 license:bsd-2))))
+(define-public python-packaging-bootstrap
+ (package/inherit python-packaging
+ (name "python-packaging-bootstrap")
+ (arguments
+ ;; XXX: disabled to avoid extra dependencies
+ (list
+ #:tests? #f))
+ (native-inputs (list python-flit-core))
+ (propagated-inputs '())))
+
(define-public python-pretend
(package
(name "python-pretend")