guix-commits
[Top][All Lists]
Advanced

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

321/361: gnu: python-py: Improve package style.


From: guix-commits
Subject: 321/361: gnu: python-py: Improve package style.
Date: Thu, 21 Nov 2024 06:29:43 -0500 (EST)

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

commit 6e529898b3c8ed695d640d1958a24ae7adc5a7d3
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Nov 11 22:04:06 2024 +0000

    gnu: python-py: Improve package style.
    
    * gnu/packages/python-xyz.scm (python-py): Add maintenance note.
    [build-system]: Swap to pyproject-build-system.
    [native-inputs]: Add python-setuptools and python-wheel.
    
    Change-Id: I8e14c2607d186e689461882fe4ac1b7f4c7ce84c
---
 gnu/packages/python-xyz.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3353c9e4c8..21391d43ac 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5577,6 +5577,8 @@ port forwards using @acronym{UPnP, Universal Plug and 
Play}.")
     (home-page "http://miniupnp.free.fr";)
     (license license:bsd-3)))
 
+;; NOTE: As taken from upstram: "this library is in maintenance mode and
+;; should not be used in new code."
 (define-public python-py
   (package
     (name "python-py")
@@ -5588,15 +5590,13 @@ port forwards using @acronym{UPnP, Universal Plug and 
Play}.")
        (sha256
         (base32
          "06c7m7sfcn7587xd4s2bng8m6q1gsfd3j93afhplfjq74r0mrisi"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
-     ;; FIXME: "ImportError: 'test' module incorrectly imported from
-     ;; 
'/gnu/store/...-python-pytest-mimimal-3.0.5/lib/python3.5/site-packages'.
-     ;; Expected '/tmp/guix-build-python-py-1.4.31.drv-0/py-1.4.31/py'.
-     ;; Is this module globally installed?"
-     '(#:tests? #f))
+     '(#:tests? #f)) ;cycle with python-pytest
     (native-inputs
-     (list python-setuptools-scm))
+     (list python-setuptools
+           python-setuptools-scm
+           python-wheel))
     (home-page "https://github.com/pytest-dev/py";)
     (synopsis "Python library for parsing, I/O, instrospection, and logging")
     (description



reply via email to

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