Here is an update for XML::RSS.

What's new upstream [0]:

- Convert to Dist::Zilla
- Add Travis-CI support
  (yup, only distribution changes)  

What's new in the port: 

- drop devel/p5-DateTime from RUN_DEPENDS, as DateTime isn't
  used directly in the code
- make use of TEST_POD instead of pulling dependencies
- don't use 'rm -f' as a mean to zap something from PLIST but
  @comment instead (rationale here [1])
  TIL that update-plist(1) won't add these .orig files anyway,
  just issuing a warning
- the private modules manpages are just templates, probably
  coming from the Dist::Zilla conversion, so i've commented
  them

Testing: 

- 'make test' passes
- There are 10 direct consumers, and i've found no new failures
  due to that update [2]

Comments/feedback are welcome!

Charlène.


[0] https://metacpan.org/source/SHLOMIF/XML-RSS-1.60/Changes
[1] https://marc.info/?l=openbsd-ports&m=155079323511455&w=2
[2] http://0x0.st/zTB5.tgz


Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/p5-XML-RSS/Makefile,v
retrieving revision 1.41
diff -u -p -u -p -r1.41 Makefile
--- Makefile    12 May 2017 20:11:58 -0000      1.41
+++ Makefile    6 May 2019 21:39:57 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=       perl module to manage XML RSS files
 
-DISTNAME =     XML-RSS-1.59
+DISTNAME=      XML-RSS-1.60
 CATEGORIES=    textproc
 
 # perl
@@ -13,22 +13,20 @@ PKG_ARCH=           *
 
 CONFIGURE_STYLE=       modbuild
 
-RUN_DEPENDS=   devel/p5-DateTime \
-               devel/p5-DateTime-Format-Mail \
-               devel/p5-DateTime-Format-W3CDTF \
-               devel/p5-Test-Manifest \
-               textproc/p5-XML-Parser>=2.23  \
-               www/p5-HTML-Parser
-BUILD_DEPENDS= ${RUN_DEPENDS}
-TEST_DEPENDS=  devel/p5-Test-Differences \
-               devel/p5-Test-Manifest>=0.9 \
-               devel/p5-Test-Pod-Coverage \
-               devel/p5-Test-TrailingSpace
+RUN_DEPENDS=           devel/p5-DateTime-Format-Mail \
+                       devel/p5-DateTime-Format-W3CDTF \
+                       textproc/p5-XML-Parser \
+                       www/p5-HTML-Parser
+
+TEST_DEPENDS=          devel/p5-Test-Differences \
+                       devel/p5-Test-Manifest>=0.9 \
+                       devel/p5-Test-TrailingSpace
+
+MAKE_ENV+=             TEST_POD=Yes
 
 MODCPAN_EXAMPLES=      Yes
 
 post-install:
-       find ${WRKSRC} -name \*.orig -print0 | xargs -0 rm -f
        ${MODCPAN_POST_INSTALL}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/p5-XML-RSS/distinfo,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 distinfo
--- distinfo    12 May 2017 20:11:58 -0000      1.19
+++ distinfo    6 May 2019 21:39:57 -0000
@@ -1,2 +1,2 @@
-SHA256 (XML-RSS-1.59.tar.gz) = omtKEcEUmvxHlabwsYwex48/tjt3ngK2Ml5fYX9022w=
-SIZE (XML-RSS-1.59.tar.gz) = 129141
+SHA256 (XML-RSS-1.60.tar.gz) = SzNZh4uxorwG2uftF7ABQ6K4nIFLixL24ngPNbFShnc=
+SIZE (XML-RSS-1.60.tar.gz) = 130871
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/textproc/p5-XML-RSS/pkg/PLIST,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 PLIST
--- pkg/PLIST   4 Feb 2009 12:53:39 -0000       1.11
+++ pkg/PLIST   6 May 2019 21:39:57 -0000
@@ -13,6 +13,13 @@ ${P5SITE}/XML/RSS/Private/Output/V0_91.p
 ${P5SITE}/XML/RSS/Private/Output/V1_0.pm
 ${P5SITE}/XML/RSS/Private/Output/V2_0.pm
 @man man/man3p/XML::RSS.3p
+@comment man/man3p/XML::RSS::Private::Output::Base.3p
+@comment man/man3p/XML::RSS::Private::Output::Roles::ImageDims.3p
+@comment man/man3p/XML::RSS::Private::Output::Roles::ModulesElems.3p
+@comment man/man3p/XML::RSS::Private::Output::V0_9.3p
+@comment man/man3p/XML::RSS::Private::Output::V0_91.3p
+@comment man/man3p/XML::RSS::Private::Output::V1_0.3p
+@comment man/man3p/XML::RSS::Private::Output::V2_0.3p
 share/examples/p5-XML-RSS/
 share/examples/p5-XML-RSS/0.9/
 share/examples/p5-XML-RSS/0.9/create_rss.pl
@@ -32,6 +39,7 @@ share/examples/p5-XML-RSS/1.0/create_rss
 share/examples/p5-XML-RSS/1.0/rss1.0.rdf
 share/examples/p5-XML-RSS/1.0/slash.rdf
 share/examples/p5-XML-RSS/1.0/update_rss_1.0.pl
+@comment share/examples/p5-XML-RSS/1.0/update_rss_1.0.pl.orig
 share/examples/p5-XML-RSS/2.0/
 share/examples/p5-XML-RSS/2.0/flickr-rss-with-both-desc-and-media-desc.xml
 
share/examples/p5-XML-RSS/2.0/rss-2.0-sample-from-rssboard-multiple-skip-days-and-hours.xml
@@ -40,4 +48,5 @@ share/examples/p5-XML-RSS/convert.pl
 share/examples/p5-XML-RSS/create_rss_multiple.pl
 share/examples/p5-XML-RSS/rss2html.pl
 share/examples/p5-XML-RSS/rss_info.pl
+@comment share/examples/p5-XML-RSS/rss_info.pl.orig
 share/examples/p5-XML-RSS/update_rss.pl

Reply via email to