diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-01 16:50:31 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:22 +0100 |
| commit | 3d169ca4463a9aabf288a411cc08b8fa6f8c17db (patch) | |
| tree | 5d9aca4ac0246b0a228519fb6294158923dde077 /gnu/packages/python-build.scm | |
| parent | aa8d1bb55ecc2fded97b45618d6f1148262997f0 (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.scm | 24 |
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 | |||
| 657 | that client code uses to construct the grammar directly in Python code.") | 657 | that client code uses to construct the grammar directly in Python code.") |
| 658 | (license license:expat))) | 658 | (license license:expat))) |
| 659 | 659 | ||
| 660 | (define-public python-packaging-bootstrap | 660 | (define-public python-packaging |
| 661 | (package | 661 | (package |
| 662 | (name "python-packaging-bootstrap") | 662 | (name "python-packaging") |
| 663 | (version "25.0") | 663 | (version "25.0") |
| 664 | (source | 664 | (source |
| 665 | (origin | 665 | (origin |
| @@ -668,20 +668,32 @@ that client code uses to construct the grammar directly in Python code.") | |||
| 668 | (sha256 | 668 | (sha256 |
| 669 | (base32 "0kzwn2ar4ndm90qrvgyjcbkqz3klrg0ziwm1yrhbyxynk0n8fhyl")))) | 669 | (base32 "0kzwn2ar4ndm90qrvgyjcbkqz3klrg0ziwm1yrhbyxynk0n8fhyl")))) |
| 670 | (build-system pyproject-build-system) | 670 | (build-system pyproject-build-system) |
| 671 | (arguments `(#:tests? #f)) ;disabled to avoid extra dependencies | ||
| 672 | (native-inputs | 671 | (native-inputs |
| 673 | (list python-flit-core)) | 672 | (list python-flit-core |
| 673 | python-pretend | ||
| 674 | python-pytest-bootstrap)) | ||
| 675 | (propagated-inputs (list python-pyparsing python-six)) | ||
| 674 | (home-page "https://github.com/pypa/packaging") | 676 | (home-page "https://github.com/pypa/packaging") |
| 675 | (synopsis "Core utilities for Python packages") | 677 | (synopsis "Core utilities for Python packages") |
| 676 | (description "Packaging is a Python module for dealing with Python packages. | 678 | (description "Packaging is a Python module for dealing with Python packages. |
| 677 | It offers an interface for working with package versions, names, and dependency | 679 | It offers an interface for working with package versions, names, and dependency |
| 678 | information.") | 680 | information.") |
| 679 | ;; From 'LICENSE': This software is made available under the terms of | 681 | ;; From 'LICENSE': This software is made available under the terms of |
| 680 | ;; *either* of the licenses found in LICENSE.APACHE or LICENSE.BSD. | 682 | ;; *either* of the licenses found in LICENSE.APACHE or LICENSE.BSD. |
| 681 | ;; Contributions to this software is made under the terms of *both* these | 683 | ;; Contributions to this software is made under the terms of *both* these |
| 682 | ;; licenses. | 684 | ;; licenses. |
| 683 | (license (list license:asl2.0 license:bsd-2)))) | 685 | (license (list license:asl2.0 license:bsd-2)))) |
| 684 | 686 | ||
| 687 | (define-public python-packaging-bootstrap | ||
| 688 | (package/inherit python-packaging | ||
| 689 | (name "python-packaging-bootstrap") | ||
| 690 | (arguments | ||
| 691 | ;; XXX: disabled to avoid extra dependencies | ||
| 692 | (list | ||
| 693 | #:tests? #f)) | ||
| 694 | (native-inputs (list python-flit-core)) | ||
| 695 | (propagated-inputs '()))) | ||
| 696 | |||
| 685 | (define-public python-pretend | 697 | (define-public python-pretend |
| 686 | (package | 698 | (package |
| 687 | (name "python-pretend") | 699 | (name "python-pretend") |
