all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72101] [PATCH 0/2] Add perl-minimumversion.
@ 2024-07-14  2:57 gemmaro
  2024-07-14  3:10 ` [bug#72101] [PATCH 1/2] gnu: Add perl-ppix-utils gemmaro
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: gemmaro @ 2024-07-14  2:57 UTC (permalink / raw)
  To: 72101; +Cc: gemmaro

gemmaro (2):
  gnu: Add perl-ppix-utils.
  gnu: Add perl-minimumversion.

 gnu/packages/perl.scm | 64 ++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 63 insertions(+), 1 deletion(-)


base-commit: c1d367f57e89c3f2efd964e6d638bd89b0b1df97
prerequisite-patch-id: 62fc54ed554df985530503c8e8c5b718c16b709b
prerequisite-patch-id: c22785847e70bf2f4c94547dd7851ad7de06b92a
prerequisite-patch-id: 36850492cd3b84d7f353cc8c923a667c1b0271bc
prerequisite-patch-id: 4cf00e93b12f66ef5e385a693bfdb81e4b558388
-- 
2.45.2





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#72101] [PATCH 1/2] gnu: Add perl-ppix-utils.
  2024-07-14  2:57 [bug#72101] [PATCH 0/2] Add perl-minimumversion gemmaro
@ 2024-07-14  3:10 ` gemmaro
  2024-07-14  3:10 ` [bug#72101] [PATCH 2/2] gnu: Add perl-minimumversion gemmaro
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: gemmaro @ 2024-07-14  3:10 UTC (permalink / raw)
  To: 72101; +Cc: gemmaro

* gnu/packages/perl.scm (perl-ppix-utils): New variable.

Change-Id: Idaa31e9eb628d5175a2b20ee6fac67427e6cf425
---
 gnu/packages/perl.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 0abf3f7fd1..fe75ffa4c4 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -33,7 +33,7 @@
 ;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;; Copyright © 2022, 2023 Evgeny Pisemsky <evgeny@pisemsky.com>
-;;; Copyright © 2022, 2023 gemmaro <gemmaro.dev@gmail.com>
+;;; Copyright © 2022, 2023, 2024 gemmaro <gemmaro.dev@gmail.com>
 ;;; Copyright © 2023 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
 ;;; Copyright © 2023 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2023 Jake Leporte <jakeleporte@outlook.com>
@@ -9148,6 +9148,28 @@ (define-public perl-ppix-utilities
 in @code{PPIx::Utilities::Node}.")
     (license license:perl-license)))
 
+(define-public perl-ppix-utils
+  (package
+    (name "perl-ppix-utils")
+    (version "0.003")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DB/DBOOK/PPIx-Utils-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "04dszlp7yas3yi7gm1l2g47h88i52n7gwj3jnq0vw0xdivycr6ra"))))
+    (build-system perl-build-system)
+    (propagated-inputs (list perl-b-keywords perl-ppi))
+    (home-page "https://metacpan.org/release/PPIx-Utils")
+    (synopsis "Utility functions for Perl PPI")
+    (description
+     "@samp{PPIx::Utils} is a collection of utility functions for working
+with @samp{PPI} documents.  The functions are organized into
+submodules, and may be imported from the appropriate submodules or via
+this module.")
+    (license license:perl-license)))
+
 (define-public perl-probe-perl
   (package
     (name "perl-probe-perl")
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#72101] [PATCH 2/2] gnu: Add perl-minimumversion.
  2024-07-14  2:57 [bug#72101] [PATCH 0/2] Add perl-minimumversion gemmaro
  2024-07-14  3:10 ` [bug#72101] [PATCH 1/2] gnu: Add perl-ppix-utils gemmaro
@ 2024-07-14  3:10 ` gemmaro
  2024-08-15 13:48 ` [bug#72101] QA review for 72101 Nicolas Graves via Guix-patches via
  2024-08-21 11:59 ` [bug#72101] [PATCH v2 1/2] gnu: Add perl-ppix-utils gemmaro
  3 siblings, 0 replies; 7+ messages in thread
From: gemmaro @ 2024-07-14  3:10 UTC (permalink / raw)
  To: 72101; +Cc: gemmaro

* gnu/packages/perl.scm (perl-minimumversion): New variable.

Change-Id: I731567f257d8415b4cf834ab22c7e64699a8b28f
---
 gnu/packages/perl.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index fe75ffa4c4..bbc06d320c 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -6877,6 +6877,46 @@ (define-public perl-mime-types
 knowledge of Apache.")
     (license (package-license perl))))
 
+(define-public perl-minimumversion
+  (package
+    (name "perl-minimumversion")
+    (version "1.40")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/D/DB/DBOOK/Perl-MinimumVersion-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "145yl4qv14xcrr74w1qvdb6s0h5lj8smnfawfnj0rmv0rdwab2bm"))))
+    (build-system perl-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'install 'wrap-programs
+                     (lambda _
+                       (wrap-program (string-append #$output "/bin/perlver")
+                         (list "PERL5LIB" ":"
+                               'prefix
+                               (list (string-append (getenv "PERL5LIB") ":"
+                                                    #$output
+                                                    "/lib/perl5/site_perl")))))))))
+    (inputs (list bash-minimal))
+    (propagated-inputs (list perl-file-find-rule
+                             perl-file-find-rule-perl
+                             perl-params-util
+                             perl-ppi
+                             perl-ppix-regexp
+                             perl-ppix-utils))
+    (home-page "https://metacpan.org/release/Perl-MinimumVersion")
+    (synopsis "Find a minimum required version of perl for Perl code")
+    (description
+     "@samp{Perl::MinimumVersion} takes Perl source code and calculates the
+minimum version of perl required to be able to run it.  Because it is
+based on @samp{PPI}, it can do this without having to actually load
+the code.  The distribution comes with a script called @samp{perlver}.")
+    (license license:perl-license)))
+
 (define-public perl-mixin-linewise
   (package
     (name "perl-mixin-linewise")
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#72101] QA review for 72101
  2024-07-14  2:57 [bug#72101] [PATCH 0/2] Add perl-minimumversion gemmaro
  2024-07-14  3:10 ` [bug#72101] [PATCH 1/2] gnu: Add perl-ppix-utils gemmaro
  2024-07-14  3:10 ` [bug#72101] [PATCH 2/2] gnu: Add perl-minimumversion gemmaro
@ 2024-08-15 13:48 ` Nicolas Graves via Guix-patches via
  2024-08-21 11:59 ` [bug#72101] [PATCH v2 1/2] gnu: Add perl-ppix-utils gemmaro
  3 siblings, 0 replies; 7+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-08-15 13:48 UTC (permalink / raw)
  To: control, 72101

user guix
usertag 72101 + reviewed-looks-good
thanks

Guix QA review form submission:
Looks good to me. 
A nitpick: Maybe you can use also use &quot;PPI documents&quot; in the description of perl-minimumversion to make that a bit clearer. 

Items marked as checked: Lint warnings, Package builds, Commit messages, New package licenses, New package tests, New package synopsis and descriptions

-- 
Best regards,
Nicolas Graves




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#72101] [PATCH v2 1/2] gnu: Add perl-ppix-utils.
  2024-07-14  2:57 [bug#72101] [PATCH 0/2] Add perl-minimumversion gemmaro
                   ` (2 preceding siblings ...)
  2024-08-15 13:48 ` [bug#72101] QA review for 72101 Nicolas Graves via Guix-patches via
@ 2024-08-21 11:59 ` gemmaro
  2024-08-21 11:59   ` [bug#72101] [PATCH v2 2/2] gnu: Add perl-minimumversion gemmaro
  2024-08-21 17:00   ` bug#72101: [PATCH v2 1/2] gnu: Add perl-ppix-utils Ludovic Courtès
  3 siblings, 2 replies; 7+ messages in thread
From: gemmaro @ 2024-08-21 11:59 UTC (permalink / raw)
  To: 72101; +Cc: gemmaro, gemmaro, Nicolas Graves

* gnu/packages/perl.scm (perl-ppix-utils): New variable.

Change-Id: I9548c693aa6f54bd53662374f77b2fbd1ca3f485
---
 gnu/packages/perl.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index a0eec2baed..46de612234 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -33,7 +33,7 @@
 ;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
 ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
 ;;; Copyright © 2022, 2023 Evgeny Pisemsky <mail@pisemsky.site>
-;;; Copyright © 2022, 2023 gemmaro <gemmaro.dev@gmail.com>
+;;; Copyright © 2022, 2023, 2024 gemmaro <gemmaro.dev@gmail.com>
 ;;; Copyright © 2023 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
 ;;; Copyright © 2023 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2023 Jake Leporte <jakeleporte@outlook.com>
@@ -9148,6 +9148,28 @@ (define-public perl-ppix-utilities
 in @code{PPIx::Utilities::Node}.")
     (license license:perl-license)))
 
+(define-public perl-ppix-utils
+  (package
+    (name "perl-ppix-utils")
+    (version "0.003")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DB/DBOOK/PPIx-Utils-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "04dszlp7yas3yi7gm1l2g47h88i52n7gwj3jnq0vw0xdivycr6ra"))))
+    (build-system perl-build-system)
+    (propagated-inputs (list perl-b-keywords perl-ppi))
+    (home-page "https://metacpan.org/release/PPIx-Utils")
+    (synopsis "Utility functions for Perl PPI")
+    (description
+     "@samp{PPIx::Utils} is a collection of utility functions for working
+with @samp{PPI} documents.  The functions are organized into
+submodules, and may be imported from the appropriate submodules or via
+this module.")
+    (license license:perl-license)))
+
 (define-public perl-probe-perl
   (package
     (name "perl-probe-perl")

base-commit: 127592bc0fd7f5deb79ea05dd9e7d3bfdb3c2a1d
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#72101] [PATCH v2 2/2] gnu: Add perl-minimumversion.
  2024-08-21 11:59 ` [bug#72101] [PATCH v2 1/2] gnu: Add perl-ppix-utils gemmaro
@ 2024-08-21 11:59   ` gemmaro
  2024-08-21 17:00   ` bug#72101: [PATCH v2 1/2] gnu: Add perl-ppix-utils Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: gemmaro @ 2024-08-21 11:59 UTC (permalink / raw)
  To: 72101; +Cc: gemmaro, gemmaro, Nicolas Graves

* gnu/packages/perl.scm (perl-minimumversion): New variable.

Change-Id: Iad3c22936c07b7430525ad9827b6703d4ea9ce9c
---
I added "Perl Parsing Interface"[1] in the description to make it clearer.

[1] https://metacpan.org/pod/PPI#What-Does-PPI-Stand-For?

 gnu/packages/perl.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 46de612234..816aca2d59 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -6877,6 +6877,46 @@ (define-public perl-mime-types
 knowledge of Apache.")
     (license (package-license perl))))
 
+(define-public perl-minimumversion
+  (package
+    (name "perl-minimumversion")
+    (version "1.40")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/D/DB/DBOOK/Perl-MinimumVersion-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "145yl4qv14xcrr74w1qvdb6s0h5lj8smnfawfnj0rmv0rdwab2bm"))))
+    (build-system perl-build-system)
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'install 'wrap-programs
+                     (lambda _
+                       (wrap-program (string-append #$output "/bin/perlver")
+                         (list "PERL5LIB" ":"
+                               'prefix
+                               (list (string-append (getenv "PERL5LIB") ":"
+                                                    #$output
+                                                    "/lib/perl5/site_perl")))))))))
+    (inputs (list bash-minimal))
+    (propagated-inputs (list perl-file-find-rule
+                             perl-file-find-rule-perl
+                             perl-params-util
+                             perl-ppi
+                             perl-ppix-regexp
+                             perl-ppix-utils))
+    (home-page "https://metacpan.org/release/Perl-MinimumVersion")
+    (synopsis "Find a minimum required version of perl for Perl code")
+    (description
+     "@samp{Perl::MinimumVersion} takes Perl source code and calculates the minimum
+version of perl required to be able to run it.  Because it is based on the @samp{PPI}
+(Perl Parsing Interface), it can do this without loading the code.  The distribution
+comes with a script called @samp{perlver}.")
+    (license license:perl-license)))
+
 (define-public perl-mixin-linewise
   (package
     (name "perl-mixin-linewise")
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#72101: [PATCH v2 1/2] gnu: Add perl-ppix-utils.
  2024-08-21 11:59 ` [bug#72101] [PATCH v2 1/2] gnu: Add perl-ppix-utils gemmaro
  2024-08-21 11:59   ` [bug#72101] [PATCH v2 2/2] gnu: Add perl-minimumversion gemmaro
@ 2024-08-21 17:00   ` Ludovic Courtès
  1 sibling, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2024-08-21 17:00 UTC (permalink / raw)
  To: gemmaro; +Cc: 72101-done, Nicolas Graves

gemmaro <gemmaro.dev@gmail.com> skribis:

> * gnu/packages/perl.scm (perl-ppix-utils): New variable.
>
> Change-Id: I9548c693aa6f54bd53662374f77b2fbd1ca3f485

[...]

> * gnu/packages/perl.scm (perl-minimumversion): New variable.
>
> Change-Id: Iad3c22936c07b7430525ad9827b6703d4ea9ce9c

Applied!  Thank you, and thanks Nicolas.

Ludo’.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-21 17:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-14  2:57 [bug#72101] [PATCH 0/2] Add perl-minimumversion gemmaro
2024-07-14  3:10 ` [bug#72101] [PATCH 1/2] gnu: Add perl-ppix-utils gemmaro
2024-07-14  3:10 ` [bug#72101] [PATCH 2/2] gnu: Add perl-minimumversion gemmaro
2024-08-15 13:48 ` [bug#72101] QA review for 72101 Nicolas Graves via Guix-patches via
2024-08-21 11:59 ` [bug#72101] [PATCH v2 1/2] gnu: Add perl-ppix-utils gemmaro
2024-08-21 11:59   ` [bug#72101] [PATCH v2 2/2] gnu: Add perl-minimumversion gemmaro
2024-08-21 17:00   ` bug#72101: [PATCH v2 1/2] gnu: Add perl-ppix-utils Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.