pkgsrc/textproc/p5-XML-RSS/Makefile

27 lines
953 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.50 2018/03/08 13:15:30 wiz Exp $
DISTNAME= XML-RSS-1.60
PKGNAME= p5-${DISTNAME}
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
MAINTAINER= pkgsrc-users@NetBSD.org
Update to 1.05. Update HOMEPAGE. 1.05 - Thu Aug 12 20:54:31 2004 * fixed version number * improved RSS 2.0 generation support * typo and documentation fixes 1.04 - Web Mar 03 20:49:43 2004 * update Changes to include changes for 1.03 1.03 - Web Mar 03 00:24:07 2004 * quell warnings when parsing RSS 0.9x, RSS 2.0 1.02 - Mon Feb 20 15:34:21 2003 * fixed bug in encode(). encode() did not respect CDATA sections and would mangle them when encountered. now behaves properly (we hope) even when CDATA and #PCDATA are mixed together liberally 1.01 - Mon Feb 3 15:46:25 2003 * fixed bug with handle_char(). i (brian d foy) mis-diagnosed a previous bug and broke handle_char() when what I should have done was initialise the object for each call to parse*() * if you have version 1.0, you should upgrade to this version, 1.01 1.00 - Fri Jan 31 11:26:41 2003 * the as_string method now encodes special characters. valid output! * a new "Auto Add" feature can add modules for namespaces found while parsing (off by default) * can output RSS 2.0, but not parse it yet * this is the last major release in this track. we are going to completely rewrite XML::RSS as something more extendable. 0.98_05 - Mon Jan 27 15:54:32 2003 * The auto add_feature is not controlled by the $AUTO_ADD variable and is off by default * removed the distribution tests now that it is ready to distribute 0.98_04 - Fri Jan 17 20:00:29 2003 * the parse and parsefile routines now automatically add non- standard namespace to the modules list 0.98_03 - Fri Jan 17 19:22:20 2003 * changed the handle_char() routine to replace data rather than append to existing data. this takes care of the doubling problem in the last issue. * set the RSS 2.0 namespace in the _initializer routine * all tests now pass. if this works for people, it could turn into a release candidate 0.98_02 - Fri Jan 17 15:47:29 2003 * added initial RSS 2.0 support * first fix to properly encode special characters in output * need to fix feature to add namespace (tests are TO DO) 0.98 Tue Nov 12 05:45:36 CST 2002 - module taken over by brian d foy <bdfoy@cpan.org> - module now in SourceForge (http://www.sourceforge.net/projects/perl-rss) - added support for arbitrary namespaces (with defaults to the usual suspects) - fixed ommission of encoding with version 0.9 output 0.97 Wed Mar 21 03:13:29 EST 2001 -added support for the Taxonomy module (taxo). It only works inside the channel or item elements and only supports one form of the module syntax. See the XML::RSS documentation for examples.
2005-11-23 23:19:00 +01:00
HOMEPAGE= http://search.cpan.org/dist/XML-RSS/
COMMENT= XML-RSS helps to create and update RSS files
LICENSE= ${PERL5_LICENSE}
Update to 1.22: 1.22 - December 17th, 2006 - Fix XML::Feed compatability. Make sure $item->{content} is always setup (broke in 1.20, RT#23822, Shlomi, Andreas J. Koenig) - Fix the tests to work on Win32 (RT#23752, Shlomi, Kenichi Ishigaki) - make add_module work for both RSS 1.0 and 2.0 (RT#16191, RT#18907, RT#13209, Ben Trott, Ivan Willis) - Fixed the problem with a version => "2.0" RSS not parsing correctly the namespaced elements in a RSS 1.0 feed (in RT#23822, Shlomi) - Channel->{link | textInput} (sic) property mapping in RSS 2.0 (RT#9862, Shlomi / chatiman) - Don't fail the tests if Test::Pod::Coverage is missing (reported by Andreas J. Koenig) 1.21 - December 5th, 2006 - Support inserting a XSL stylesheet URL into the XML output (RT#11569, Jason A. Smith, Shlomi Fish) - Remove empty lines in the test_manifest - some versions of Test::Manifest doesn't do the right thing with those. (RT#23678, Hugo van der Sanden) - Add Pod::Coverage tests - More Date Conversion (Shlomi) - Fix for a Markup Injection Vulnerability (RT#23435, Shlomi) 1.20 - November 10th, 2006 - Value for $XML::RSS::modules gets destroyed (RT#18755, Shlomi) - Note that YOU CAN NO LONGER USE $XML::RSS::modules, you have to use the add_modules call as documented! - encode generates warnings for undefined text (RT#13523, Mark Stosberg) - Missing last build date value in RSS 2.0 (RT#19417) - renamed the internal encode method to _encode - RSS 2.0 spec allows omission of title from entry (RT#18817, test from Shlomi) - Can't create "0" values in optional items (RT#11415, based on patch from Shlomi - thanks!) - Remove the executable bit from Makefile.PL - Add test to test regression of CPAN RT#5438 (Shlomi) - More tests... 1.12 - October 25, 2006 - Add more tests - make sure META.yml is correctly generated - Fix enclosure parsing (RT#7920, Tatsuhiko Miyagawa) - Incorrect entity encoding in XML output (RT#22467, reported by Stephen Hall) 1.11 - October 19, 2006 - use HTML::Entities instead of the "homegrown" entity encoding code - Minor doc fix (David Steinbrunner) - Fix encoding of the > char, added tests (RT#19420, Shlomi Fish) - XML::RSS ignores output encoding (RT#11124, RT#7343, test failures on win32, Vaclav Haisman, Steve Peters) - encoding of source element (RT#2285) - use base instead of @ISA - Thanks to Shlomi Fish for helping sorting through the RT queue!
2007-02-18 04:14:19 +01:00
DEPENDS+= p5-DateTime-[0-9]*:../../time/p5-DateTime
DEPENDS+= p5-DateTime-Format-Mail-[0-9]*:../../time/p5-DateTime-Format-Mail
DEPENDS+= p5-DateTime-Format-W3CDTF-[0-9]*:../../time/p5-DateTime-Format-W3CDTF
DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
DEPENDS+= p5-XML-Parser>=2.23:../../textproc/p5-XML-Parser
BUILD_DEPENDS+= p5-Test-Manifest>=0.9:../../devel/p5-Test-Manifest
BUILD_DEPENDS+= p5-Test-Differences-[0-9]*:../../devel/p5-Test-Differences
PERL5_PACKLIST= auto/XML/RSS/.packlist
Update from version 1.37 to 1.42. Pkgsrc changes: o Change to Module::Build o Adjust dependency according to META.yml Upstream changes: 1.42 - January 3, 2008 - When transforming elements with attributes into hash-refs - make sure they are placed in the correct namespace. Previously <media:description> over-rided the plain <description>. (as in Flickr). 1.41 - December 4, 2008 - Made the default keys for the channel link, description and title undef instead of ''. They become '' once they are opened. - http://rt.cpan.org/Public/Bug/Display.html?id=40686 - Now keeping track of rdf:resource of <image> in RSS 1.0: - http://rt.cpan.org/Ticket/Display.html?id=3978 - Made sure that channel/{link,description,title} are localized to the empty string before rendering, to allow for better backwards compatibility. - http://rt.cpan.org/Public/Bug/Display.html?id=40686 1.40 - December 1, 2008 - Now outputting an arrayref of <skipDays>/<day>'s and <skipHours>/<hours> properly. - http://rt.cpan.org/Public/Bug/Display.html?id=40978 - Now parsing multiple <category>'ies inside an <item> into an array-reference. - http://rt.cpan.org/Ticket/Display.html?id=38296 - Now outputting an arayref of <item>/<category> prpoerly. - http://rt.cpan.org/Ticket/Display.html?id=38296 - Parsing multiple <channel>/<category> into arrays. - http://rt.cpan.org/Public/Bug/Display.html?id=9729 - Rendering multiple <channel>/<category> elements from array refs. - http://rt.cpan.org/Public/Bug/Display.html?id=9729 - Now parsing multiple dc:items into an array reference (at least inside an <item>): - http://rt.cpan.org/Public/Bug/Display.html?id=6000 - Added the modules_as_arrays option to parse repeatable module elements into an array ref. 1.38 - November 27, 2008 - Added support for duplicate items of RSS modules. - http://rt.cpan.org/Public/Bug/Display.html?id=4495 - Added support for multiple Dublin Core elements. One can point the field to an array and it will create multiple elements: - http://rt.cpan.org/Public/Bug/Display.html?id=6000 - Now parsing several <skipDays>/<day>s and <skipHours>/<hour>s into an array reference instead of concatenating them together. - http://rt.cpan.org/Public/Bug/Display.html?id=40978
2009-01-11 17:48:22 +01:00
PERL5_MODULE_TYPE= Module::Build
2002-10-20 19:45:59 +02:00
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"