guix_mirror_bot pushed a commit to branch r-team
in repository guix.

commit 2a50016316e5adb7c1c50b38dc6615a9d3c1b862
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Sat Feb 21 23:33:59 2026 +0100

    gnu: Add python-setuptools-79.
    
    We restore this previously removed package for python-pytorch-for-r-torch.
    
    * gnu/packages/python-build.scm (python-setuptools-79): New variable.
    
    Change-Id: I9855e2ad1597613a18878d70bb7a530a544821f1
---
 gnu/packages/python-build.scm | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 31b21bb57c..a6b67d0730 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -49,7 +49,8 @@
   #:use-module (guix deprecation)
   #:use-module (guix download)
   #:use-module (guix git-download)
-  #:use-module (guix packages))
+  #:use-module (guix packages)
+  #:use-module (guix utils))
 
 ;;; Commentary:
 ;;;
@@ -868,6 +869,25 @@ facilitate packaging Python projects, where packaging 
includes:
                               'python-wrapper)))
     (propagated-inputs (list))))
 
+(define-public python-setuptools-79
+  (package
+    (inherit python-setuptools)
+    (name "python-setuptools")
+    (version "79.0.1")
+    (source
+     (origin
+       (inherit (package-source python-setuptools))
+       (method url-fetch)
+       (uri (pypi-uri "setuptools" version))
+       (sha256
+        (base32 "127svm8cdpvmq37gcrbvdr9fhrhs0nscnzh63gypjc1wyfwfg30j"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments python-setuptools)
+       ((#:tests? tests #f) #f)
+       ((#:phases phases #f)
+        #~(modify-phases #$phases
+            (delete 'drop-platformdirs-requirement)))))))
+
 (define-public python-wheel
   (package
     (name "python-wheel")

Reply via email to