guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: python2-entrypoints: Add missing input.


From: guix-commits
Subject: 01/03: gnu: python2-entrypoints: Add missing input.
Date: Tue, 14 Dec 2021 09:36:05 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit d6fa2381da42892fdbd0a02e03e3e2c0602e9a21
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Dec 13 12:02:37 2021 +0100

    gnu: python2-entrypoints: Add missing input.
    
    * gnu/packages/python-xyz.scm (python2-entrypoints)[propagated-inputs]: Add
    python2-configparser.
    (python-entrypoints)[properties]: Add python2-variant.
---
 gnu/packages/python-xyz.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 270d665..8d3b582 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11814,10 +11814,15 @@ objects with some common interface.  The most common 
examples are
 @code{console_scripts} entry points, which define shell commands by
 identifying a Python function to run.  The @code{entrypoints} module contains
 functions to find and load entry points.")
-    (license license:expat)))
+    (license license:expat)
+    (properties `((python2-variant . ,(delay python2-entrypoints))))))
 
 (define-public python2-entrypoints
-  (package-with-python2 python-entrypoints))
+  (package
+    (inherit (package-with-python2
+              (strip-python2-variant python-entrypoints)))
+    (propagated-inputs
+     (list python2-configparser))))
 
 (define-public python-epc
   (package



reply via email to

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