rekado pushed a commit to branch master
in repository guix.

commit 4627e596ef8244dd10cc6088b6b618d4465f733c
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Mon Dec 16 20:38:39 2024 +0100

    gnu: Add python-packaging-legacy.
    
    * gnu/packages/python-xyz.scm (python-packaging-legacy): New variable.
    
    Change-Id: Ibdb6505baf77e9e9ed93c8b21413f876ada05f5a
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cf6236d58b..70c2a735e7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25927,6 +25927,29 @@ manipulation, or @code{stdout}.")
     ;; licenses.
     (license (list license:asl2.0 license:bsd-2))))
 
+(define-public python-packaging-legacy
+  (package
+    (name "python-packaging-legacy")
+    (version "23.0.post0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "packaging_legacy" version))
+       (sha256
+        (base32 "1nyryxlc7fd4c0jmfp99az1s61vfv5xbi6017wqi4wd7j4ia8x69"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-packaging))
+    (native-inputs
+     (list python-pretend
+           python-pytest
+           python-setuptools
+           python-wheel))
+    (home-page "https://pypi.org/project/packaging-legacy/";)
+    (synopsis "Core utilities for legacy Python packages")
+    (description "This library provides support for legacy Python Packaging
+functionality removed from @code{packaging}.")
+    (license license:asl2.0)))
+
 (define-public python-relatorio
   (package
     (name "python-relatorio")

Reply via email to