mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-20 01:33:18 -05:00
import: pypi: Remove leftover 'pk' call.
This is a followup to 7b75f90c5b
.
* guix/import/pypi.scm (make-pypi-sexp)[maybe-upstream-name]: Remove
leftover 'pk' call.
This commit is contained in:
parent
50d2900e76
commit
7770016402
1 changed files with 1 additions and 1 deletions
|
@ -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))))
|
||||
'()))
|
||||
|
||||
|
|
Loading…
Reference in a new issue