From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] Patchseries: perl-www-opensearch and dependencies. Date: Thu, 18 Aug 2016 11:09:23 +0000 Message-ID: <87tweie3ks.fsf@we.make.ritual.n0.is> References: <874m6n9skx.fsf@we.make.ritual.n0.is> <20160816000632.77685e23@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baLCY-0003iD-Dg for guix-devel@gnu.org; Thu, 18 Aug 2016 07:09:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baLCT-0002LJ-Vg for guix-devel@gnu.org; Thu, 18 Aug 2016 07:09:33 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:45871 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baLCT-0002Ke-4M for guix-devel@gnu.org; Thu, 18 Aug 2016 07:09:29 -0400 In-Reply-To: <20160816000632.77685e23@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Eric Bavier Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Hi, Eric Bavier writes: > On Sun, 14 Aug 2016 17:19:10 +0000 > ng0 wrote: > >> This patch series adds perl-www-opensearch and the 13 patches leading to >> it (the dependencies). > > Thanks for all the patches! Comments dispersed throughtout: > >> [...] > > Otherwise LGTM! > > `~Eric Thanks for reviewing. All the problems are addressed, and some additional changes to move comments when no test can be run are moved to save lines. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-perl-uri-template.patch >From 5f3065a36e27ddafdfd0c56b3b29838e0bf15228 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 12:42:12 +0000 Subject: [PATCH 01/14] gnu: Add perl-uri-template. * gnu/packages/web.scm (perl-uri-template): New variable. --- gnu/packages/web.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 29055c3..986bfcc 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -2964,6 +2964,30 @@ URI::Find::Schemeless. For a command-line interface, urifind is provided.") methods for WebSocket URIs as it does for HTTP URIs.") (license (package-license perl)))) +(define-public perl-uri-template + (package + (name "perl-uri-template") + (version "0.22") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-" + version ".tar.gz")) + (sha256 + (base32 + "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg")))) + (build-system perl-build-system) + (inputs + `(("perl-uri" ,perl-uri))) + (native-inputs + `(("perl-test-pod-coverage" ,perl-test-pod-coverage) + ("perl-test-pod" ,perl-test-pod) + ("perl-json" ,perl-json))) + (home-page "http://search.cpan.org/dist/URI-Template") + (synopsis "Object for handling URI templates") + (description "This perl module provides a wrapper around URI templates as described in +RFC 6570.") + (license (package-license perl)))) + (define-public perl-www-curl (package (name "perl-www-curl") -- 2.9.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-Add-perl-class-errorhandler.patch >From 97dd97c46ec0d77cab6df66595b60cacab5e4234 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 13:02:00 +0000 Subject: [PATCH 02/14] gnu: Add perl-class-errorhandler. * gnu/packages/perl.scm (perl-class-errorhandler): New variable. --- gnu/packages/perl.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index aef92f4..4e3d1fa 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -700,6 +700,27 @@ subclasses and can be overridden.") type for perl.") (license (package-license perl)))) +(define-public perl-class-errorhandler + (package + (name "perl-class-errorhandler") + (version "0.04") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/" + "Class-ErrorHandler-" version ".tar.gz")) + (sha256 + (base32 + "00j5f0z4riyq7i95jww291dpmbn0hmmvkcbrh7p0p8lpqz7jsb9l")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Class-ErrorHandler") + (synopsis "Base class for error handling") + (description + "@code{Class::ErrorHandler} provides an error-handling mechanism that is generic +enough to be used as the base class for a variety of OO classes. Subclasses inherit +its two error-handling methods, error and errstr, to communicate error messages back +to the calling program.") + (license (package-license perl)))) + (define-public perl-class-factory-util (package (name "perl-class-factory-util") -- 2.9.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0003-gnu-Add-perl-datetime-format-mail.patch >From c32d61f5ee7be18c9c25bc02f17d1b7d404e4928 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 13:13:18 +0000 Subject: [PATCH 03/14] gnu: Add perl-datetime-format-mail. * gnu/packages/perl.scm (perl-datetime-format-mail): New variable. --- gnu/packages/perl.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 4e3d1fa..db941fb 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1792,6 +1792,27 @@ to create DateTime objects, with some custom tweaks to smooth out the rough edges (mainly concerning timezone detection and selection).") (license (package-license perl)))) +(define-public perl-datetime-format-mail + (package + (name "perl-datetime-format-mail") + (version "0.403") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/B/BO/BOOK/" + "DateTime-Format-Mail-" version ".tar.gz")) + (sha256 + (base32 + "1c7wapbi9g9p2za52l3skhh31vg4da5kx2yfqzsqyf3p8iff7y4d")))) + (build-system perl-build-system) + (inputs + `(("perl-datetime" ,perl-datetime) + ("perl-params-validate" ,perl-params-validate))) + (home-page "http://search.cpan.org/dist/DateTime-Format-Mail") + (synopsis "Convert between DateTime and RFC2822/822 formats") + (description "RFCs 2822 and 822 specify date formats to be used by email. +This module parses and emits such dates.") + (license (package-license perl)))) + (define-public perl-devel-caller (package (name "perl-devel-caller") -- 2.9.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0004-gnu-Add-perl-datetime-format-w3cdtf.patch >From 8f9e6fb6a87e70dcda8394626a5362f7c41bd38b Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 13:24:11 +0000 Subject: [PATCH 04/14] gnu: Add perl-datetime-format-w3cdtf. * gnu/packages/perl.scm (perl-datetime-format-w3cdtf): New variable. --- gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index db941fb..78c4a9a 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -1813,6 +1813,32 @@ edges (mainly concerning timezone detection and selection).") This module parses and emits such dates.") (license (package-license perl)))) +(define-public perl-datetime-format-w3cdtf + (package + (name "perl-datetime-format-w3cdtf") + (version "0.06") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/G/GW/GWILLIAMS/" + "DateTime-Format-W3CDTF-" version ".tar.gz")) + (sha256 + (base32 + "0ymxizwd2zfx8b4bmrmv4k439qwfwf2522jrvn4hlay5v6z459dr")))) + (build-system perl-build-system) + (inputs + `(("perl-datetime" ,perl-datetime))) + (native-inputs + `(("perl-test-pod" ,perl-test-pod) + ("perl-test-pod-coverage" ,perl-test-pod-coverage))) + (home-page "http://search.cpan.org/dist/DateTime-Format-W3CDTF") + (synopsis "Parse and format W3CDTF datetime strings") + (description + "This module understands the W3CDTF date/time format, an ISO 8601 profile, +defined at https://www.w3.org/TR/NOTE-datetime. This format is the native date +format of RSS 1.0. It can be used to parse these formats in order to create +the appropriate objects.") + (license (package-license perl)))) + (define-public perl-devel-caller (package (name "perl-devel-caller") -- 2.9.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0005-gnu-Add-perl-feed-find.patch >From 746d0e0618a513a7a4a3882b346ffc2bf7fa05d7 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 13:45:37 +0000 Subject: [PATCH 05/14] gnu: Add perl-feed-find. * gnu/packages/web.scm (perl-feed-find): New variable. --- gnu/packages/web.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 986bfcc..5d1962b 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -1789,6 +1789,33 @@ by calling Encode::encode(locale => $bytes) and converted back again with Encode::decode(locale => $string).") (home-page "http://search.cpan.org/~gaas/Encode-Locale/"))) +(define-public perl-feed-find + (package + (name "perl-feed-find") + (version "0.07") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/" + "Feed-Find-" version ".tar.gz")) + (sha256 + (base32 + "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600")))) + (build-system perl-build-system) + (arguments + ;; Tests expect to query files at http://stupidfool.org/perl/feeds/ + `(#:tests? #f)) + (inputs + `(("perl-class-errorhandler" ,perl-class-errorhandler) + ("perl-html-parser" ,perl-html-parser) + ("perl-libwww" ,perl-libwww) + ("perl-uri" ,perl-uri))) + (home-page "http://search.cpan.org/dist/Feed-Find") + (synopsis "Syndication feed auto-discovery") + (description "@code{Feed::Find} implements feed auto-discovery for finding +syndication feeds, given a URI. It will discover the following feed formats: +RSS 0.91, RSS 1.0, RSS 2.0, Atom.") + (license (package-license perl)))) + (define-public perl-file-listing (package (name "perl-file-listing") -- 2.9.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0006-gnu-Add-perl-uri-fetch.patch >From 376c69e8e648c772f18047a72238c2753299e2a1 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 13:55:21 +0000 Subject: [PATCH 06/14] gnu: Add perl-uri-fetch. * gnu/packages/web.scm (perl-uri-fetch): New variable. --- gnu/packages/web.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 5d1962b..c9355f0 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -2945,6 +2945,31 @@ represent \"Uniform Resource Identifier references\" as specified in RFC 2396 and updated by RFC 2732.") (home-page "http://search.cpan.org/dist/URI/"))) +(define-public perl-uri-fetch + (package + (name "perl-uri-fetch") + (version "0.13") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/" + "URI-Fetch-" version ".tar.gz")) + (sha256 + (base32 + "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d")))) + (build-system perl-build-system) + (arguments + `(#:tests? #f)) ; Tests require internet connection to succeed + (inputs + `(("perl-class-errorhandler" ,perl-class-errorhandler) + ("perl-libwww" ,perl-libwww) + ("perl-uri" ,perl-uri))) + (home-page "http://search.cpan.org/dist/URI-Fetch") + (synopsis "Smart URI fetching/caching") + (description "@code{URI::Fetch} is a smart client for fetching HTTP pages, +notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth- +and time-saving way.") + (license (package-license perl)))) + (define-public perl-uri-find (package (name "perl-uri-find") -- 2.9.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0007-gnu-Add-perl-unicode-utf8.patch >From 1c57e9e50c93f4772d5815601f46a3ccb28fc217 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 14:12:25 +0000 Subject: [PATCH 07/14] gnu: Add perl-unicode-utf8. * gnu/packages/perl.scm (perl-unicode-utf8): New variable. --- gnu/packages/perl.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 78c4a9a..6192dae 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -6679,6 +6679,30 @@ described in Unicode Standard Annex #14. The @code{East_Asian_Width} property defined by Annex #11 is used to determine breaking positions.") (license (package-license perl)))) +(define-public perl-unicode-utf8 + (package + (name "perl-unicode-utf8") + (version "0.60") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/C/CH/CHANSEN/" + "Unicode-UTF8-" version ".tar.gz")) + (sha256 + (base32 + "1g3fp47slsk7wbz3189kpg342lfs7lpsy570jxnx7s9v59dg5k7n")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-fatal" ,perl-test-fatal) + ("perl-test-leaktrace" ,perl-test-leaktrace) + ("perl-variable-magic" ,perl-variable-magic) + ("perl-test-pod" ,perl-test-pod))) + (home-page "http://search.cpan.org/dist/Unicode-UTF8") + (synopsis "Encoding and decoding of UTF-8 encoding form") + (description + "This module provides functions to encode and decode UTF-8 encoding form +as specified by Unicode and ISO/IEC 10646:2011.") + (license (package-license perl)))) + (define-public perl-universal-can (package (name "perl-universal-can") -- 2.9.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0008-gnu-Add-perl-path-tiny.patch >From 9b3ea0b02f273f5bf5414709af962823a70f64ec Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 14:21:09 +0000 Subject: [PATCH 08/14] gnu: Add perl-path-tiny. * gnu/packages/perl.scm (perl-path-tiny): New variable. --- gnu/packages/perl.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 6192dae..0f9ecdd 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -4634,6 +4634,31 @@ up inheritance from those modules at the same time.") directory specifications in a cross-platform manner.") (license (package-license perl)))) +(define-public perl-path-tiny + (package + (name "perl-path-tiny") + (version "0.096") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/" + "Path-Tiny-" version ".tar.gz")) + (sha256 + (base32 + "08dmr6ijjg3dp7h9dxix0nmad0fw16c6qzs4qc0hdz500gd64sr2")))) + (build-system perl-build-system) + (arguments + `(#:tests? #f)) ; Tests require additional test modules to be packaged + ;; (native-inputs + ;; `(("perl-test-failwarnings" ,perl-test-failwarnings) + ;; ("perl-test-mockrandom" ,perl-test-mockrandom))) + (inputs + `(("perl-unicode-utf8" ,perl-unicode-utf8))) + (home-page "http://search.cpan.org/dist/Path-Tiny") + (synopsis "File path utility") + (description "This module provides a small, fast utility for working +with file paths.") + (license asl2.0))) + (define-public perl-perlio-utf8_strict (package (name "perl-perlio-utf8-strict") -- 2.9.3 --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0009-gnu-Add-perl-xml-xpath.patch Content-Transfer-Encoding: 8bit >From 35bf70628a86e3fe8ee06ad06c0f28969429681e Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 14:37:34 +0000 Subject: [PATCH 09/14] gnu: Add perl-xml-xpath. * gnu/packages/xml.scm (perl-xml-xpath): New variable. --- gnu/packages/xml.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index cfdc6c0..b029fcd 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2016 Leo Famulari ;;; Copyright © 2016 Ben Woodcroft ;;; Copyright © 2016 Jan Nieuwenhuizen +;;; Copyright © 2016 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -564,6 +565,30 @@ encoding of the message to be send into XML, sending the message to the server, collect the answer, and finally decoding the XML to Perl.") (license (package-license perl)))) +(define-public perl-xml-xpath + (package + (name "perl-xml-xpath") + (version "1.37") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/" + "XML-XPath-" version ".tar.gz")) + (sha256 + (base32 + "0997l8vjgq8p7d1irvp6amqyrv24x7f8hybjm4l4ayag32b13bmq")))) + (build-system perl-build-system) + (native-inputs + `(("perl-path-tiny" ,perl-path-tiny))) + (inputs + `(("perl-xml-parser" ,perl-xml-parser))) + (home-page "http://search.cpan.org/dist/XML-XPath") + (synopsis "Parse and evaluate XPath statements.") + (description + "This module aims to comply exactly to the @url{XPath specification, +https://www.w3.org/TR/xpath} and yet allow extensions to be added in +the form of functions.") + (license (package-license perl)))) + (define-public pugixml (package (name "pugixml") -- 2.9.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0010-gnu-Add-perl-xml-atom.patch >From 230af870cbf04a3d74f0fca443839da3e1c2d204 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 14:50:00 +0000 Subject: [PATCH 10/14] gnu: Add perl-xml-atom. * gnu/packages/xml.scm (perl-xml-atom): New variable. --- gnu/packages/xml.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index b029fcd..5d9d49a 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -187,6 +187,38 @@ which read a graph file and create an instance of the Graph class. the @code{Graph} class and write it out in a specific file format.") (license (package-license perl)))) +(define-public perl-xml-atom + (package + (name "perl-xml-atom") + (version "0.41") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/" + "XML-Atom-" version ".tar.gz")) + (sha256 + (base32 + "17lnkb9ymrhk2z642bhj5i2bv3q1da3kpp2lvsl0yhqshk3wdjj8")))) + (build-system perl-build-system) + (native-inputs + `(("perl-datetime" ,perl-datetime) + ;; TODO package: perl-datetime-format-atom + ("perl-xml-xpath" ,perl-xml-xpath))) + (inputs + `(("perl-class-data-inheritable" ,perl-class-data-inheritable) + ("perl-datetime" ,perl-datetime) + ("perl-datetime-timezone" ,perl-datetime-timezone) + ("perl-digest-sha1" ,perl-digest-sha1) + ("perl-libwww" ,perl-libwww) + ("perl-uri" ,perl-uri) + ("perl-xml-libxml" ,perl-xml-libxml) + ("perl-xml-xpath" ,perl-xml-xpath))) + (home-page "http://search.cpan.org/dist/XML-Atom") + (synopsis "Atom feed and API implementation") + (description + "Atom is a syndication, API, and archiving format for weblogs and other data. +@code{XML::Atom} implements the feed format as well as a client for the API.") + (license (package-license perl)))) + (define-public perl-xml-parser (package (name "perl-xml-parser") -- 2.9.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0011-gnu-Add-perl-test-manifest.patch >From f476463bf0fb09d52dbb30ac3c79afe6b24b50c9 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 15:05:30 +0000 Subject: [PATCH 11/14] gnu: Add perl-test-manifest. * gnu/packages/perl.scm (perl-test-manifest): New variable. --- gnu/packages/perl.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 0f9ecdd..309deb5 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -5773,6 +5773,29 @@ string comparison functions of Test::More, but which are more suitable when you test against long strings.") (license (package-license perl)))) +(define-public perl-test-manifest + (package + (name "perl-test-manifest") + (version "2.02") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/" + "Test-Manifest-" version ".tar.gz")) + (sha256 + (base32 + "15ik52l9macrrfizf4y6wj71d4lx7w590h2dfajnkmbxmz786iq6")))) + (build-system perl-build-system) + (native-inputs + `(("perl-test-pod" ,perl-test-pod) + ("perl-test-pod-coverage" ,perl-test-pod-coverage))) + (home-page "http://search.cpan.org/dist/Test-Manifest") + (synopsis "Interact with a t/test_manifest file") + (description "@code{Test::Manifest} overrides the default test file order. Instead of +running all of the t/*.t files in ASCII-betical order, it looks in the t/test_manifest +file to find out which tests you want to run and the order in which you want to run them. +It constructs the right value for the build system to do the right thing.") + (license (package-license perl)))) + (define-public perl-test-mockobject (package (name "perl-test-mockobject") -- 2.9.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0012-gnu-Add-perl-xml-rss.patch >From 4f596875fe0f73a28a2bd5cf253ba9006cf99359 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 15:14:05 +0000 Subject: [PATCH 12/14] gnu: Add perl-xml-rss. * gnu/packages/xml.scm (perl-xml-rss): New variable. --- gnu/packages/xml.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 5d9d49a..d8817d4 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -341,6 +341,40 @@ maintain a prefix to namespace URI map, and provides a number of basic checks.") (license (package-license perl)))) +(define-public perl-xml-rss + (package + (name "perl-xml-rss") + (version "1.59") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/S/SH/SHLOMIF/" + "XML-RSS-" version ".tar.gz")) + (sha256 + (base32 + "0v6vfizn2psy6av057kp7fv3z3y73s6b3w56jm3zr6hlq48llsx2")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build) + ("perl-test-manifest" ,perl-test-manifest) + ("perl-test-differences" ,perl-test-differences) + ("perl-test-pod" ,perl-test-pod) + ("perl-test-pod-coverage" ,perl-test-pod-coverage))) + ;; XXX: The test which uses this modules does not run, even when it is included + ;; it is ignored. ("perl-test-trailingspace" ,perl-test-trailingspace) + (inputs + `(("perl-datetime" ,perl-datetime) + ("perl-datetime-format-mail" ,perl-datetime-format-mail) + ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf) + ("perl-html-parser" ,perl-html-parser) + ("perl-xml-parser" ,perl-xml-parser))) + (home-page "http://search.cpan.org/dist/XML-RSS") + (synopsis "Creates and updates RSS files") + (description + "This module provides a basic framework for creating and maintaining +RDF Site Summary (RSS) files. This distribution also contains many examples that allow you +to generate HTML from an RSS, convert between 0.9, 0.91, and 1.0 version, and more.") + (license (package-license perl)))) + (define-public perl-xml-sax (package (name "perl-xml-sax") -- 2.9.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0013-gnu-Add-perl-xml-feed.patch >From bc14cea3ae633438c8ca12bc3ba341fb9d1bf867 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 15:36:05 +0000 Subject: [PATCH 13/14] gnu: Add perl-xml-feed. * gnu/packages/xml.scm (perl-xml-feed): New variable. --- gnu/packages/xml.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index d8817d4..e4d009e 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -631,6 +631,45 @@ encoding of the message to be send into XML, sending the message to the server, collect the answer, and finally decoding the XML to Perl.") (license (package-license perl)))) +(define-public perl-xml-feed + (package + (name "perl-xml-feed") + (version "0.53") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DA/DAVECROSS/" + "XML-Feed-" version ".tar.gz")) + (sha256 + (base32 + "07b165g6wk8kqwpl49r3n0kag6p2nrkyp3ch0h8qyxb6nrnkkq7c")))) + (build-system perl-build-system) + (arguments + `(#:tests? #f)) ; Tests require internet connection + (native-inputs + `(("perl-module-build" ,perl-module-build) + ("perl-uri" ,perl-uri) + ("perl-class-data-inheritable" ,perl-class-data-inheritable))) + (inputs + `(("perl-class-errorhandler" ,perl-class-errorhandler) + ("perl-datetime" ,perl-datetime) + ("perl-datetime-format-mail" ,perl-datetime-format-mail) + ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf) + ("perl-feed-find" ,perl-feed-find) + ("perl-html-parser" ,perl-html-parser) + ("perl-libwww-perl" ,perl-libwww) + ("perl-module-pluggable" ,perl-module-pluggable) + ("perl-uri-fetch" ,perl-uri-fetch) + ("perl-xml-atom" ,perl-xml-atom) + ("perl-xml-libxml" ,perl-xml-libxml) + ("perl-xml-rss" ,perl-xml-rss))) + (home-page "http://search.cpan.org/dist/XML-Feed") + (synopsis "XML Syndication Feed Support") + (description "@code{XML::Feed} is a syndication feed parser for both RSS and +Atom feeds. It also implements feed auto-discovery for finding feeds, given a URI. +@code{XML::Feed} supports the following syndication feed formats: +RSS 0.91, RSS 1.0, RSS 2.0, Atom") + (license (package-license perl)))) + (define-public perl-xml-xpath (package (name "perl-xml-xpath") -- 2.9.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0014-gnu-Add-perl-www-opensearch.patch >From 41601a8b087e50202659cf0fd998b0e73d544136 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Aug 2016 15:54:07 +0000 Subject: [PATCH 14/14] gnu: Add perl-www-opensearch. * gnu/packages/web.scm (perl-www-opensearch): New variable. --- gnu/packages/web.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index c9355f0..72f16ba 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -3092,6 +3092,34 @@ library.") web browsing, used for automating interaction with websites.") (license (package-license perl)))) +(define-public perl-www-opensearch + (package + (name "perl-www-opensearch") + (version "0.17") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/" + "WWW-OpenSearch-" version ".tar.gz")) + (sha256 + (base32 + "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb")))) + (build-system perl-build-system) + (arguments + `(#:tests? #f)) ; Tests require further modules to be packaged + (inputs + `(("perl-data-page" ,perl-data-page) + ("perl-libwww" ,perl-libwww) + ("perl-uri" ,perl-uri) + ("perl-uri-template" ,perl-uri-template) + ("perl-xml-feed" ,perl-xml-feed) + ("perl-xml-libxml" ,perl-xml-libxml))) + (home-page "http://search.cpan.org/dist/WWW-OpenSearch") + (synopsis "Search A9 OpenSearch compatible engines") + (description + "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch, +http://opensearch.a9.com} compatible search engines.") + (license (package-license perl)))) + (define-public perl-www-robotrules (package (name "perl-www-robotrules") -- 2.9.3 --=-=-= Content-Type: text/plain -- ng0 For non-prism friendly talk find me on http://www.psyced.org --=-=-=--