summaryrefslogtreecommitdiff
path: root/guix/import
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-10-15 23:05:16 +0200
committerLudovic Courtès <ludo@gnu.org>2021-10-15 23:16:28 +0200
commit7770016402ef7864cc8e0a88c0428848f3ea7678 (patch)
treeb85a3314f31f78a8fe92f1c51569fdda9e9b9063 /guix/import
parent50d2900e7621aed7aea99884b6d9b41c389167d9 (diff)
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.
Diffstat (limited to 'guix/import')
-rw-r--r--guix/import/pypi.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index 56854ff96c..f908136481 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))))
'()))