[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63571] [PATCH 11/14] import: cpan: Remove unary 'string-append' cal
From: |
Ludovic Courtès |
Subject: |
[bug#63571] [PATCH 11/14] import: cpan: Remove unary 'string-append' call. |
Date: |
Thu, 18 May 2023 17:16:19 +0200 |
* guix/import/cpan.scm (package->upstream-name): Remove useless
'string-append'.
---
guix/import/cpan.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/import/cpan.scm b/guix/import/cpan.scm
index da47018c35..d7f300777e 100644
--- a/guix/import/cpan.scm
+++ b/guix/import/cpan.scm
@@ -154,7 +154,7 @@ (define (package->upstream-name package)
((? origin? origin)
(match (origin-uri origin)
((or (? string? url) (url _ ...))
- (match (string-match (string-append "([^/]*)-v?[0-9\\.]+") url)
+ (match (string-match "([^/]*)-v?[0-9\\.]+" url)
(#f #f)
(m (match:substring m 1))))
(_ #f)))
--
2.40.1
- [bug#63571] [PATCH 04/14] import: utils: 'call-with-networking-exception-handler' doesn't unwind., (continued)
- [bug#63571] [PATCH 04/14] import: utils: 'call-with-networking-exception-handler' doesn't unwind., Ludovic Courtès, 2023/05/18
- [bug#63571] [PATCH 05/14] import: json: Add #:timeout to 'json-fetch'., Ludovic Courtès, 2023/05/18
- [bug#63571] [PATCH 08/14] upstream: 'update-package-source' edits input fields., Ludovic Courtès, 2023/05/18
- [bug#63571] [PATCH 10/14] tests: upstream: Restore test that was skipped., Ludovic Courtès, 2023/05/18
- [bug#63571] [PATCH 03/14] tests: pypi: Rewrite tests using a local HTTP server., Ludovic Courtès, 2023/05/18
- [bug#63571] [PATCH 09/14] upstream: Remove <upstream-input-change> and related code., Ludovic Courtès, 2023/05/18
- [bug#63571] [PATCH 07/14] diagnostics: Factorize 'absolute-location'., Ludovic Courtès, 2023/05/18
- [bug#63571] [PATCH 02/14] tests: http: Allow responses to specify a path., Ludovic Courtès, 2023/05/18
- [bug#63571] [PATCH 01/14] tests: pypi: Factorize tarball and wheel file creation., Ludovic Courtès, 2023/05/18
- [bug#63571] [PATCH 13/14] import: cpan: Updater provides input list., Ludovic Courtès, 2023/05/18
- [bug#63571] [PATCH 11/14] import: cpan: Remove unary 'string-append' call.,
Ludovic Courtès <=
- [bug#63571] [PATCH 14/14] import: elpa: Updater provides input list., Ludovic Courtès, 2023/05/18
- [bug#63571] [PATCH 12/14] import: cpan: Represent dependencies as <upstream-input> records., Ludovic Courtès, 2023/05/18
- [bug#63571] [PATCH 06/14] upstream: Replace 'input-changes' field by 'inputs'., Ludovic Courtès, 2023/05/18
- [bug#63571] [PATCH 00/14] 'guix refresh -u' updates input fields, Liliana Marie Prikler, 2023/05/18
- [bug#63571] [PATCH 00/14] 'guix refresh -u' updates input fields, Ludovic Courtès, 2023/05/29