GNU bug report logs -
#78475
[PATCH 0/3] gnu: Add perl-pod-site
Previous Next
Reported by: gemmaro <gemmaro.dev <at> gmail.com>
Date: Sun, 18 May 2025 02:10:02 UTC
Severity: normal
Tags: patch
Done: Andreas Enge <andreas <at> enge.fr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 78475 in the body.
You can then email your comments to 78475 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#78475
; Package
guix-patches
.
(Sun, 18 May 2025 02:10:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
gemmaro <gemmaro.dev <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 18 May 2025 02:10:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This adds Pod::Site package and its dependencies.
gemmaro (3):
gnu: Add perl-object-tiny.
gnu: Add perl-test-xpath.
gnu: Add perl-pod-site.
gnu/packages/perl-check.scm | 21 ++++++++++++++
gnu/packages/perl.scm | 56 +++++++++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
base-commit: 452126f16a2058d10c884f23bfcd5e7775f0f249
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78475
; Package
guix-patches
.
(Sun, 18 May 2025 02:15:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 78475 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/perl.scm (perl-object-tiny): New variable.
Change-Id: Idfc18e4fd471eb677b276de9363d949ba43386b0
---
gnu/packages/perl.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 6858322c34..a5ff266645 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -9290,6 +9290,24 @@ (define-public perl-object-signature
signatures.")
(license (package-license perl))))
+(define-public perl-object-tiny
+ (package
+ (name "perl-object-tiny")
+ (version "1.09")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/Object-Tiny-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "1gf6r99ipll1an9044rl6hpkzgh49r70h336rvjv067f33fwq6bq"))))
+ (build-system perl-build-system)
+ (home-page "https://metacpan.org/release/Object-Tiny")
+ (synopsis "Class building library for Perl")
+ (description "This is a minimalist Perl module for building simple classes
+with read-only accessors.")
+ (license (package-license perl))))
+
(define-public perl-ole-storage-lite
(package
(name "perl-ole-storage-lite")
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78475
; Package
guix-patches
.
(Sun, 18 May 2025 02:15:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 78475 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/perl-check.scm (perl-test-xpath): New variable.
Change-Id: I2cd4d70401bc8cad1727ab10739e0be609c18314
---
gnu/packages/perl-check.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/perl-check.scm b/gnu/packages/perl-check.scm
index 5de8a76973..7de087c8b0 100644
--- a/gnu/packages/perl-check.scm
+++ b/gnu/packages/perl-check.scm
@@ -39,6 +39,7 @@ (define-module (gnu packages perl-check)
#:use-module (gnu packages)
#:use-module (gnu packages valgrind)
#:use-module (gnu packages web)
+ #:use-module (gnu packages xml)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
@@ -1730,6 +1731,26 @@ (define-public perl-test-writevariants
generation of tests in nested combinations of contexts.")
(license perl-license))) ; see LICENSE
+(define-public perl-test-xpath
+ (package
+ (name "perl-test-xpath")
+ (version "0.20")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/Test-XPath-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "0f90i66i8flk1fj8grzp5lvvhxlrjj4gdg5md6brrba6f4g63anz"))))
+ (build-system perl-build-system)
+ (propagated-inputs (list perl-html-selector-xpath perl-xml-libxml))
+ (home-page "https://metacpan.org/release/Test-XPath")
+ (synopsis "Test XML and HTML content and structure with XPath expressions")
+ (description
+ "This Perl testing library focuses on testing and working with
+XPath expressions, most likely in the context of XML document processing.")
+ (license perl-license)))
+
(define-public perl-test-yaml
(package
(name "perl-test-yaml")
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78475
; Package
guix-patches
.
(Sun, 18 May 2025 02:15:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 78475 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/perl.scm (perl-pod-site): New variable.
Change-Id: Ic94700895b65b8f3726efea9bb6c45635c409d91
---
gnu/packages/perl.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index a5ff266645..d87e5c53ba 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -9909,6 +9909,44 @@ (define-public perl-pod-simple
used for writing documentation for Perl and for Perl modules.")
(license (package-license perl))))
+(define-public perl-pod-site
+ (package
+ (name "perl-pod-site")
+ (version "0.56")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/Pod-Site-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "0imi2sjrjnkc0p8j2g5alw492f5zgi1ryhw1izdwbvl85gabigmd"))
+ (modules '((guix build utils)))
+ (snippet '(begin
+ (delete-file "t/build.t"))))) ;requires internet access
+ (build-system perl-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'wrap-podsite
+ (lambda _
+ (wrap-program (string-append #$output "/bin/podsite")
+ `("PERL5LIB" ":" prefix
+ (,(getenv "PERL5LIB") ,(string-append #$output
+ "/lib/perl5/site_perl")))))))))
+ (native-inputs (list perl-module-build perl-test-file perl-test-mockmodule
+ perl-test-xpath))
+ (inputs (list bash-minimal))
+ (propagated-inputs (list perl-html-parser perl-object-tiny perl-test-pod
+ perl-test-pod-coverage))
+ (home-page "https://metacpan.org/release/Pod-Site")
+ (synopsis "Build browsable HTML documentation for Perl program")
+ (description
+ "This is a Perl package designed to generate browsable HTML
+documentation from the POD (Plain Old Documentation) embedded in Perl source
+code.")
+ (license (package-license perl))))
+
(define-public perl-pod-spell
(package
(name "perl-pod-spell")
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78475
; Package
guix-patches
.
(Sat, 14 Jun 2025 19:19:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 78475 <at> debbugs.gnu.org (full text, mbox):
Hello,
I have pushed the first two patches, but I am confused by the input
types of the third one. Have you not swapped inputs and native-inputs?
(And in that case, there is no need for the perl-... packages as inputs,
since they are already in propagated-inputs.)
Andreas
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78475
; Package
guix-patches
.
(Sat, 14 Jun 2025 23:32:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 78475 <at> debbugs.gnu.org (full text, mbox):
Andreas Enge <andreas <at> enge.fr> writes:
> Hello,
>
> I have pushed the first two patches, but I am confused by the input
> types of the third one. Have you not swapped inputs and native-inputs?
> (And in that case, there is no need for the perl-... packages as inputs,
> since they are already in propagated-inputs.)
>
> Andreas
I noticed that some packages listed under propagated-inputs were
actually meant to be in native-inputs. I'll correct that.
-- gemmaro
Information forwarded
to
gemmaro.dev <at> gmail.com, andreas <at> enge.fr, guix-patches <at> gnu.org
:
bug#78475
; Package
guix-patches
.
(Sat, 14 Jun 2025 23:36:03 GMT)
Full text and
rfc822 format available.
Message #23 received at 78475 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/perl.scm (perl-pod-site): New variable.
Change-Id: I4db66a75860b03fdfbc1b1f16c57aff103fc6f45
---
gnu/packages/perl.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 8c89009cc0..12dbbf7781 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -9909,6 +9909,48 @@ (define-public perl-pod-simple
used for writing documentation for Perl and for Perl modules.")
(license (package-license perl))))
+(define-public perl-pod-site
+ (package
+ (name "perl-pod-site")
+ (version "0.56")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/Pod-Site-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "0imi2sjrjnkc0p8j2g5alw492f5zgi1ryhw1izdwbvl85gabigmd"))
+ (modules '((guix build utils)))
+ (snippet '(begin
+ (delete-file "t/build.t"))))) ;requires internet access
+ (build-system perl-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'wrap-podsite
+ (lambda _
+ (wrap-program (string-append #$output "/bin/podsite")
+ `("PERL5LIB" ":" prefix
+ (,(getenv "PERL5LIB") ,(string-append #$output
+ "/lib/perl5/site_perl")))))))))
+ (native-inputs (list perl-module-build
+ perl-test-file
+ perl-test-mockmodule
+ perl-test-pod
+ perl-test-pod-coverage
+ perl-test-xpath))
+ (inputs (list bash-minimal))
+ (propagated-inputs (list perl-html-parser ;for HTML::Entities
+ perl-object-tiny))
+ (home-page "https://metacpan.org/release/Pod-Site")
+ (synopsis "Build browsable HTML documentation for Perl program")
+ (description
+ "This is a Perl package designed to generate browsable HTML
+documentation from the POD (Plain Old Documentation) embedded in Perl source
+code.")
+ (license (package-license perl))))
+
(define-public perl-pod-spell
(package
(name "perl-pod-spell")
base-commit: 6c980300f485953bb4935abc2ea0047118e07466
prerequisite-patch-id: 5b7e99ce7175fbd361a467e44e44201cf3acf8e3
prerequisite-patch-id: e9f8963e688df1bfaa05e2122f8b093670bdeee2
--
2.49.0
Reply sent
to
Andreas Enge <andreas <at> enge.fr>
:
You have taken responsibility.
(Sun, 15 Jun 2025 14:46:10 GMT)
Full text and
rfc822 format available.
Notification sent
to
gemmaro <gemmaro.dev <at> gmail.com>
:
bug acknowledged by developer.
(Sun, 15 Jun 2025 14:46:11 GMT)
Full text and
rfc822 format available.
Message #28 received at 78475-done <at> debbugs.gnu.org (full text, mbox):
Hello,
I did not quite see why bash-minimal would be needed, so tried to
compile the package without it; this works, but bash-minimal is still
among the references of the resulting package. So I suppose it is pulled
in by propagation. In any case, I have pushed without this input.
If you notice any problem, please do not hesitate to complain.
Andreas
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78475
; Package
guix-patches
.
(Mon, 16 Jun 2025 12:42:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 78475 <at> debbugs.gnu.org (full text, mbox):
Andreas Enge <andreas <at> enge.fr> writes:
> Hello,
>
> I did not quite see why bash-minimal would be needed, so tried to
> compile the package without it; this works, but bash-minimal is still
> among the references of the resulting package. So I suppose it is pulled
> in by propagation. In any case, I have pushed without this input.
>
> If you notice any problem, please do not hesitate to complain.
>
> Andreas
Since wrap-program is used, I think it makes sense to explicitly add
bash-minimal as a input (as noted by "guix lint"). Relying on
propagation could make things less clear. Just a thought! :)
-- gemmaro
Information forwarded
to
gemmaro.dev <at> gmail.com, andreas <at> enge.fr, guix-patches <at> gnu.org
:
bug#78475
; Package
guix-patches
.
(Mon, 16 Jun 2025 12:45:04 GMT)
Full text and
rfc822 format available.
Message #34 received at 78475 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/perl.scm (perl-pod-site)[inputs]: Add bash-minimal.
Change-Id: I97813d2965d8dbae2016a4fb840f67273435b34e
---
gnu/packages/perl.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 4909347832..12dbbf7781 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -9940,6 +9940,7 @@ (define-public perl-pod-site
perl-test-pod
perl-test-pod-coverage
perl-test-xpath))
+ (inputs (list bash-minimal))
(propagated-inputs (list perl-html-parser ;for HTML::Entities
perl-object-tiny))
(home-page "https://metacpan.org/release/Pod-Site")
base-commit: 6ebe4243161488d178e101ecec1018a5b59e67c4
--
2.49.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#78475
; Package
guix-patches
.
(Mon, 16 Jun 2025 13:05:02 GMT)
Full text and
rfc822 format available.
Message #37 received at 78475 <at> debbugs.gnu.org (full text, mbox):
Am Mon, Jun 16, 2025 at 09:41:18PM +0900 schrieb gemmaro:
> Since wrap-program is used, I think it makes sense to explicitly add
> bash-minimal as a input (as noted by "guix lint"). Relying on
> propagation could make things less clear. Just a thought! :)
Ah, if "guix lint" says so, we should do it. Pushed.
I learnt something new today, thanks!
Andreas
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 15 Jul 2025 11:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 28 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.