From unknown Fri Jun 20 07:20:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#68358 <68358@debbugs.gnu.org> To: bug#68358 <68358@debbugs.gnu.org> Subject: Status: [PATCH] guix: import: cpan: add recursive Reply-To: bug#68358 <68358@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:20:32 +0000 retitle 68358 [PATCH] guix: import: cpan: add recursive reassign 68358 guix-patches submitter 68358 "zero@fedora" severity 68358 normal tag 68358 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 09 19:43:18 2024 Received: (at submit) by debbugs.gnu.org; 10 Jan 2024 00:43:18 +0000 Received: from localhost ([127.0.0.1]:41369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNMgg-0007dG-5C for submit@debbugs.gnu.org; Tue, 09 Jan 2024 19:43:18 -0500 Received: from lists.gnu.org ([2001:470:142::17]:57368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNMgd-0007d0-Rr for submit@debbugs.gnu.org; Tue, 09 Jan 2024 19:43:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNMgP-0001tC-Px for guix-patches@gnu.org; Tue, 09 Jan 2024 19:43:02 -0500 Received: from tilde.club ([142.44.150.184]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNMgN-0005Cb-5L for guix-patches@gnu.org; Tue, 09 Jan 2024 19:43:00 -0500 Received: from fedora.. (unknown [87.117.56.99]) by tilde.club (Postfix) with ESMTPA id 976472266734F; Wed, 10 Jan 2024 00:42:57 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club 976472266734F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail; t=1704847378; bh=hNicNdtsaUvFYFliWsocLebv6t5eyptM0pRyOnuHOpY=; h=From:To:Cc:Subject:Date:From; b=BfgKABsDI2DFMmlpylysxwA+XcQ8GdQ4BFl68sybnNp3YOLev2oZDclLuioY7inBW 9bpPBp5IRFBmqpiObxHhYr+Xio31DXi58j7wKwYdiQhw8HCayBh7Pd5RtLBwgZybuL +0Bn0UTIQEY0cQGopcKx3UMAJaq9shEBFOf7Fuos= From: "zero@fedora" To: guix-patches@gnu.org Subject: [PATCH] guix: import: cpan: add recursive Date: Wed, 10 Jan 2024 03:41:53 +0300 Message-ID: <1607241d782b7dc97cc5775903c50a81ef3b39ec.1704847312.git.shinyzero0@tilde.club> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Debbugs-Cc: Christopher Baines , Josselin Poiret , Ludovic Courtès , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=142.44.150.184; envelope-from=shinyzero0@tilde.club; helo=tilde.club X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: "zero@fedora" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Change-Id: Id167c7ddd079f4e04650ce7cc1692a9de36cd8fe --- guix/import/cpan.scm | 63 ++++++++++++++++++++++-------------- guix/scripts/import/cpan.scm | 25 +++++++++++--- 2 files changed, 58 insertions(+), 30 deletions(-) diff --git a/guix/import/cpan.scm b/guix/import/cpan.scm index b87736eef6..2090da275d 100644 --- a/guix/import/cpan.scm +++ b/guix/import/cpan.scm @@ -37,12 +37,13 @@ (define-module (guix import cpan) #:use-module (guix utils) #:use-module (guix base32) #:use-module ((guix download) #:select (download-to-store url-fetch)) - #:use-module ((guix import utils) #:select (factorize-uri)) + #:use-module (guix import utils) #:use-module (guix import json) #:use-module (guix packages) #:use-module (guix upstream) #:use-module (guix derivations) #:export (cpan->guix-package + cpan-recursive-import metacpan-url->mirror-url %cpan-updater @@ -284,35 +285,42 @@ (define (cpan-module->sexp release) upstream-input-downstream-name) inputs))))))) - (let ((tarball (with-store store + (let* ((tarball (with-store store (download-to-store store source-url))) - (inputs (cpan-module-inputs release))) - `(package - (name ,(cpan-name->downstream-name name)) - (version ,version) - (source (origin - (method url-fetch) - (uri (string-append ,@(factorize-uri source-url version))) - (sha256 - (base32 - ,(bytevector->nix-base32-string (file-sha256 tarball)))))) - (build-system perl-build-system) - ,@(maybe-inputs 'native-inputs - (filter (upstream-input-type-predicate 'native) - inputs)) - ,@(maybe-inputs 'propagated-inputs - (filter (upstream-input-type-predicate 'propagated) - inputs)) - (home-page ,(cpan-home name)) - (synopsis ,(cpan-release-abstract release)) - (description fill-in-yourself!) - (license ,(string->license (cpan-release-license release)))))) + (inputs (cpan-module-inputs release)) + (sexp + `(package + (name ,(cpan-name->downstream-name name)) + (version ,version) + (source (origin + (method url-fetch) + (uri (string-append ,@(factorize-uri source-url version))) + (sha256 + (base32 + ,(bytevector->nix-base32-string (file-sha256 tarball)))))) + (build-system perl-build-system) + ,@(maybe-inputs 'native-inputs + (filter (upstream-input-type-predicate 'native) + inputs)) + ,@(maybe-inputs 'propagated-inputs + (filter (upstream-input-type-predicate 'propagated) + inputs)) + (home-page ,(cpan-home name)) + (synopsis ,(cpan-release-abstract release)) + (description fill-in-yourself!) + (license ,(string->license (cpan-release-license release)))))) + (values + sexp + (map upstream-input-name inputs)) + )) -(define (cpan->guix-package module-name) +(define* (cpan->guix-package module-name #:key version #:allow-other-keys) "Fetch the metadata for PACKAGE-NAME from metacpan.org, and return the `package' s-expression corresponding to that package, or #f on failure." (let ((release (cpan-fetch (module->name module-name)))) - (and=> release cpan-module->sexp))) + (if release + (cpan-module->sexp release) + (values #f '())))) (define cpan-package? (let ((cpan-rx (make-regexp (string-append "(" @@ -357,6 +365,11 @@ (define* (latest-release package #:key (version #f)) (urls (list url)) (inputs (cpan-module-inputs release))))))) +(define* (cpan-recursive-import package-name) + (recursive-import package-name + #:repo->guix-package cpan->guix-package + #:guix-name (compose cpan-name->downstream-name module->name))) + (define %cpan-updater (upstream-updater (name 'cpan) diff --git a/guix/scripts/import/cpan.scm b/guix/scripts/import/cpan.scm index bdf5a1e423..cab6424068 100644 --- a/guix/scripts/import/cpan.scm +++ b/guix/scripts/import/cpan.scm @@ -43,6 +43,9 @@ (define (show-help) Import and convert the CPAN package for PACKAGE-NAME.\n")) (display (G_ " -h, --help display this help and exit")) + (display (G_ " + -r, --recursive generate package expressions for all Gem packages\ + that are not yet in Guix")) (display (G_ " -V, --version display version information and exit")) (newline) @@ -54,6 +57,9 @@ (define %options (lambda args (show-help) (exit 0))) + (option '(#\r "recursive") #f #f + (lambda (opt name arg result) + (alist-cons 'recursive #t result))) (option '(#\V "version") #f #f (lambda args (show-version-and-exit "guix import cpan"))) @@ -78,11 +84,20 @@ (define (guix-import-cpan . args) (reverse opts)))) (match args ((package-name) - (let ((sexp (cpan->guix-package package-name))) - (unless sexp - (leave (G_ "failed to download meta-data for package '~a'~%") - package-name)) - sexp)) + (let ((sexp + (if (assoc-ref opts 'recursive) + (map (match-lambda + ((and ('package ('name name) . rest) pkg) + `(define-public ,(string->symbol name) + ,pkg)) + (_ #f)) + (cpan-recursive-import package-name)) + (let ((sexp (cpan->guix-package package-name))) + sexp)))) + (unless sexp + (leave (G_ "failed to download meta-data for package '~a'~%") + package-name)) + sexp)) (() (leave (G_ "too few arguments~%"))) ((many ...) base-commit: 931d893c550128591018587c90d2491fd66a11a4 -- 2.43.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 09 20:30:23 2024 Received: (at 68358) by debbugs.gnu.org; 10 Jan 2024 01:30:23 +0000 Received: from localhost ([127.0.0.1]:41408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNNQF-0000yO-3b for submit@debbugs.gnu.org; Tue, 09 Jan 2024 20:30:23 -0500 Received: from tilde.club ([142.44.150.184]:49406 ident=postfix) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNNQD-0000sf-5c for 68358@debbugs.gnu.org; Tue, 09 Jan 2024 20:30:22 -0500 Received: from fedora.. (unknown [87.117.56.99]) by tilde.club (Postfix) with ESMTPA id F35B022559F04; Wed, 10 Jan 2024 01:30:11 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club F35B022559F04 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail; t=1704850212; bh=/bABb7eOMTNKiWwIePSkKmV0p4NXfZyx1vRNfBT2TuQ=; h=From:To:Cc:Subject:Date:From; b=vIF5zPZrEVTjf3Zww+Rh/L2raAvrLfbSufGfASBTHRvm/4EoQvuIoob+lPpe5JH04 X7clTPQoM5Y1pxFDb334C/qt9bKxk9TnZG62GqdxZ1TaIMmCxp/sXrvKYczL+hJ/m8 F+Vyw9BwDjwUe5JonR/Z1/9X5Hj0GHC70urIusy4= From: "zero@fedora" To: 68358@debbugs.gnu.org Subject: [PATCH] guix: import: cpan: add recursive Date: Wed, 10 Jan 2024 04:29:56 +0300 Message-ID: <7a6b50a5af6f276034ffffcd24ad824fd52df35c.1704850195.git.shinyzero0@tilde.club> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Debbugs-Cc: Christopher Baines , Josselin Poiret , Ludovic Courtès , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68358 Cc: "zero@fedora" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * guix/import/cpan.scm: new function, some changes to make recursive import possible * guix/scripts/import/cpan.scm: add recursive import Change-Id: Id167c7ddd079f4e04650ce7cc1692a9de36cd8fe --- guix/import/cpan.scm | 63 ++++++++++++++++++++++-------------- guix/scripts/import/cpan.scm | 25 +++++++++++--- 2 files changed, 58 insertions(+), 30 deletions(-) diff --git a/guix/import/cpan.scm b/guix/import/cpan.scm index b87736eef6..2090da275d 100644 --- a/guix/import/cpan.scm +++ b/guix/import/cpan.scm @@ -37,12 +37,13 @@ (define-module (guix import cpan) #:use-module (guix utils) #:use-module (guix base32) #:use-module ((guix download) #:select (download-to-store url-fetch)) - #:use-module ((guix import utils) #:select (factorize-uri)) + #:use-module (guix import utils) #:use-module (guix import json) #:use-module (guix packages) #:use-module (guix upstream) #:use-module (guix derivations) #:export (cpan->guix-package + cpan-recursive-import metacpan-url->mirror-url %cpan-updater @@ -284,35 +285,42 @@ (define (cpan-module->sexp release) upstream-input-downstream-name) inputs))))))) - (let ((tarball (with-store store + (let* ((tarball (with-store store (download-to-store store source-url))) - (inputs (cpan-module-inputs release))) - `(package - (name ,(cpan-name->downstream-name name)) - (version ,version) - (source (origin - (method url-fetch) - (uri (string-append ,@(factorize-uri source-url version))) - (sha256 - (base32 - ,(bytevector->nix-base32-string (file-sha256 tarball)))))) - (build-system perl-build-system) - ,@(maybe-inputs 'native-inputs - (filter (upstream-input-type-predicate 'native) - inputs)) - ,@(maybe-inputs 'propagated-inputs - (filter (upstream-input-type-predicate 'propagated) - inputs)) - (home-page ,(cpan-home name)) - (synopsis ,(cpan-release-abstract release)) - (description fill-in-yourself!) - (license ,(string->license (cpan-release-license release)))))) + (inputs (cpan-module-inputs release)) + (sexp + `(package + (name ,(cpan-name->downstream-name name)) + (version ,version) + (source (origin + (method url-fetch) + (uri (string-append ,@(factorize-uri source-url version))) + (sha256 + (base32 + ,(bytevector->nix-base32-string (file-sha256 tarball)))))) + (build-system perl-build-system) + ,@(maybe-inputs 'native-inputs + (filter (upstream-input-type-predicate 'native) + inputs)) + ,@(maybe-inputs 'propagated-inputs + (filter (upstream-input-type-predicate 'propagated) + inputs)) + (home-page ,(cpan-home name)) + (synopsis ,(cpan-release-abstract release)) + (description fill-in-yourself!) + (license ,(string->license (cpan-release-license release)))))) + (values + sexp + (map upstream-input-name inputs)) + )) -(define (cpan->guix-package module-name) +(define* (cpan->guix-package module-name #:key version #:allow-other-keys) "Fetch the metadata for PACKAGE-NAME from metacpan.org, and return the `package' s-expression corresponding to that package, or #f on failure." (let ((release (cpan-fetch (module->name module-name)))) - (and=> release cpan-module->sexp))) + (if release + (cpan-module->sexp release) + (values #f '())))) (define cpan-package? (let ((cpan-rx (make-regexp (string-append "(" @@ -357,6 +365,11 @@ (define* (latest-release package #:key (version #f)) (urls (list url)) (inputs (cpan-module-inputs release))))))) +(define* (cpan-recursive-import package-name) + (recursive-import package-name + #:repo->guix-package cpan->guix-package + #:guix-name (compose cpan-name->downstream-name module->name))) + (define %cpan-updater (upstream-updater (name 'cpan) diff --git a/guix/scripts/import/cpan.scm b/guix/scripts/import/cpan.scm index bdf5a1e423..cab6424068 100644 --- a/guix/scripts/import/cpan.scm +++ b/guix/scripts/import/cpan.scm @@ -43,6 +43,9 @@ (define (show-help) Import and convert the CPAN package for PACKAGE-NAME.\n")) (display (G_ " -h, --help display this help and exit")) + (display (G_ " + -r, --recursive generate package expressions for all Gem packages\ + that are not yet in Guix")) (display (G_ " -V, --version display version information and exit")) (newline) @@ -54,6 +57,9 @@ (define %options (lambda args (show-help) (exit 0))) + (option '(#\r "recursive") #f #f + (lambda (opt name arg result) + (alist-cons 'recursive #t result))) (option '(#\V "version") #f #f (lambda args (show-version-and-exit "guix import cpan"))) @@ -78,11 +84,20 @@ (define (guix-import-cpan . args) (reverse opts)))) (match args ((package-name) - (let ((sexp (cpan->guix-package package-name))) - (unless sexp - (leave (G_ "failed to download meta-data for package '~a'~%") - package-name)) - sexp)) + (let ((sexp + (if (assoc-ref opts 'recursive) + (map (match-lambda + ((and ('package ('name name) . rest) pkg) + `(define-public ,(string->symbol name) + ,pkg)) + (_ #f)) + (cpan-recursive-import package-name)) + (let ((sexp (cpan->guix-package package-name))) + sexp)))) + (unless sexp + (leave (G_ "failed to download meta-data for package '~a'~%") + package-name)) + sexp)) (() (leave (G_ "too few arguments~%"))) ((many ...) base-commit: 931d893c550128591018587c90d2491fd66a11a4 -- 2.43.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 23 10:23:16 2024 Received: (at 68358-done) by debbugs.gnu.org; 23 Nov 2024 15:23:16 +0000 Received: from localhost ([127.0.0.1]:58649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEryd-0004Ny-PF for submit@debbugs.gnu.org; Sat, 23 Nov 2024 10:23:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEryb-0004Nm-Fv for 68358-done@debbugs.gnu.org; Sat, 23 Nov 2024 10:23:14 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEryQ-0007Ba-GI; Sat, 23 Nov 2024 10:23:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=AofvwDQouRDxSY0IwpWMEZi35aDK36ftL2UkqMOchFY=; b=lS7LQTR2ZYIiVPOuvA+P 2XoX1CUThuD+kfz0BVBs/WYhV+oMR69c8dPlwLfixDIpOwmMl+NaKCz0yE12HBef6MZnd/WJ2GeQG bDnDRBpvPz9RupErzMqUA+hR+7SBZn8hDlndZyV0Cr7lFPkTkaipF26GhZz1PPmxNAxUaGM1R161n AmPhqE3PkXKxzxrufKk1pq+i8dw7mFJdxPUq0pjCBPdOYIC83rqWAJM4sU7QhNYs5OWT0AfJSaWx1 7O3s1+VjM1/c5sdTkiaMU52DcMurp7PGAKtvm820T72tTvPKKqOvsQZu97vvCVRmlpA1VhKDuZJKV 5J0K9QSB7YioCQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "zero@fedora" Subject: Re: [bug#68358] [PATCH] guix: import: cpan: add recursive In-Reply-To: <7a6b50a5af6f276034ffffcd24ad824fd52df35c.1704850195.git.shinyzero0@tilde.club> (shinyzero0@tilde.club's message of "Wed, 10 Jan 2024 04:29:56 +0300") References: <1607241d782b7dc97cc5775903c50a81ef3b39ec.1704847312.git.shinyzero0@tilde.club> <7a6b50a5af6f276034ffffcd24ad824fd52df35c.1704850195.git.shinyzero0@tilde.club> Date: Sat, 23 Nov 2024 16:22:57 +0100 Message-ID: <87zflqotym.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68358-done Cc: Josselin Poiret , 68358-done@debbugs.gnu.org, Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Ricardo Wurmus , Christopher Baines X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, "zero@fedora" skribis: > * guix/import/cpan.scm: new function, some changes to make recursive impo= rt possible > * guix/scripts/import/cpan.scm: add recursive import > > Change-Id: Id167c7ddd079f4e04650ce7cc1692a9de36cd8fe Applied with the cosmetic changes below and tweaks to the commit log. Thank you, and apologies for the long delay! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/doc/guix.texi b/doc/guix.texi index 454dd66c18..8297ad2ca6 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -14207,6 +14207,17 @@ Invoking guix import guix import cpan Acme::Boolean @end example +Like many other importers, the @code{cpan} importer supports recursive +imports: + +@table @code +@item --recursive +@itemx -r +Traverse the dependency graph of the given upstream package recursively +and generate package expressions for all those packages that are not yet +in Guix. +@end table + @item cran @cindex CRAN @cindex Bioconductor diff --git a/guix/import/cpan.scm b/guix/import/cpan.scm index 2090da275d..85e5e69098 100644 --- a/guix/import/cpan.scm +++ b/guix/import/cpan.scm @@ -37,7 +37,8 @@ (define-module (guix import cpan) #:use-module (guix utils) #:use-module (guix base32) #:use-module ((guix download) #:select (download-to-store url-fetch)) - #:use-module (guix import utils) + #:use-module ((guix import utils) + #:select (factorize-uri recursive-import)) #:use-module (guix import json) #:use-module (guix packages) #:use-module (guix upstream) @@ -309,18 +310,15 @@ (define (cpan-module->sexp release) (synopsis ,(cpan-release-abstract release)) (description fill-in-yourself!) (license ,(string->license (cpan-release-license release)))))) - (values - sexp - (map upstream-input-name inputs)) - )) + (values sexp (map upstream-input-name inputs)))) (define* (cpan->guix-package module-name #:key version #:allow-other-keys) "Fetch the metadata for PACKAGE-NAME from metacpan.org, and return the `package' s-expression corresponding to that package, or #f on failure." (let ((release (cpan-fetch (module->name module-name)))) (if release - (cpan-module->sexp release) - (values #f '())))) + (cpan-module->sexp release) + (values #f '())))) (define cpan-package? (let ((cpan-rx (make-regexp (string-append "(" diff --git a/guix/scripts/import/cpan.scm b/guix/scripts/import/cpan.scm index cab6424068..4ddd85ee57 100644 --- a/guix/scripts/import/cpan.scm +++ b/guix/scripts/import/cpan.scm @@ -44,8 +44,7 @@ (define (show-help) (display (G_ " -h, --help display this help and exit")) (display (G_ " - -r, --recursive generate package expressions for all Gem packages\ - that are not yet in Guix")) + -r, --recursive import missing packages recursively")) (display (G_ " -V, --version display version information and exit")) (newline) --=-=-=-- From unknown Fri Jun 20 07:20:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 22 Dec 2024 12:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator