guix-commits
[Top][All Lists]
Advanced

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

05/06: import: pypi: Remove leftover 'pk' call.


From: guix-commits
Subject: 05/06: import: pypi: Remove leftover 'pk' call.
Date: Fri, 15 Oct 2021 17:20:14 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 7770016402ef7864cc8e0a88c0428848f3ea7678
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Oct 15 23:05:16 2021 +0200

    import: pypi: Remove leftover 'pk' call.
    
    This is a followup to 7b75f90c5b0da896c486cae23d19d43e2a03bb56.
    
    * guix/import/pypi.scm (make-pypi-sexp)[maybe-upstream-name]: Remove
    leftover 'pk' call.
---
 guix/import/pypi.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index 56854ff..f908136 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -426,7 +426,7 @@ return the unaltered list of upstream dependency names."
   "Return the `package' s-expression for a python package with the given NAME,
 VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION, and LICENSE."
   (define (maybe-upstream-name name)
-    (if (string-match ".*\\-[0-9]+" (pk name))
+    (if (string-match ".*\\-[0-9]+" name)
         `((properties ,`'(("upstream-name" . ,name))))
         '()))
   



reply via email to

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