[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: |
Mon, 13 Dec 2021 18:16:03 -0500 (EST) |
rekado pushed a commit to branch core-updates-frozen
in repository guix.
commit d5031946d3fab7627e88803034be8599556b3860
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 e13c47f..4ba7c92 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
+ `(("python2-configparser" ,python2-configparser)))))
(define-public python-epc
(package