From 7770016402ef7864cc8e0a88c0428848f3ea7678 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 15 Oct 2021 23:05:16 +0200 Subject: 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(-) (limited to 'guix/import') 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 @@ (define (make-pypi-sexp name version source-url wheel-url home-page synopsis "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)))) '())) -- cgit v1.2.3