guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

410/420: gnu: Add python-installer.


From: guix-commits
Subject: 410/420: gnu: Add python-installer.
Date: Tue, 26 Nov 2024 16:29:45 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit b36d1f3b57c66d214a874a8bec745716e7cd38e8
Author: Antero Mejr <mail@antr.me>
AuthorDate: Fri Jun 14 20:41:58 2024 +0000

    gnu: Add python-installer.
    
    * gnu/packages/python-xyz.scm (python-installer): New variable.
    
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/python-build.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index aa58a08a5c..7e959a3630 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
 ;;; Copyright © 2024 David Elsing <david.elsing@posteo.net>
 ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2024 Antero Mejr <mail@antr.me>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -837,6 +838,28 @@ parts of files defined using cut-off points or regular 
expressions.")
 version control system (like Git) to determine project versions.")
     (license license:expat)))
 
+(define-public python-installer
+  (package
+    (name "python-installer")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "installer" version))
+       (sha256
+        (base32 "0cdnqh3a3amw8k4s1pzfjh0hpvzw4pczgl702s1b16r82qqkwvd2"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f))      ;avoid extra test dependencies
+    (native-inputs
+     (list python-flit-core))
+    (home-page "https://installer.rtfd.io/";)
+    (synopsis "Installer library for Python wheels")
+    (description
+     "This package provides a low-level library for installing a Python
+package from a wheel distribution.  It provides basic functionality and
+abstractions for handling wheels and installing packages from wheels.")
+    (license license:expat)))
+
 (define-public python-pdm-backend
   (package
     (name "python-pdm-backend")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]