Here is an update for XML::XPath.

What's new upstream [0]:

- Fix memory leak in XML::XPath::Parser
- We can now use non-ascii first character as element name
- New test

What's new in the port:

- moved DESCR to https, and changed the flow
- really install examples, enable more tests
- reorder Makefile closer to Makefile.template

Testing: 

- 'make test' passes
- There are 7 direct consumers i've tested and found no new issues
  due to this update [1].


Comments and feedback are welcome.

Charlène. 


[0] https://metacpan.org/source/MANWAR/XML-XPath-1.44/Changes
[1] http://0x0.st/zArc.tgz 


Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/p5-XML-XPath/Makefile,v
retrieving revision 1.35
diff -u -p -u -p -r1.35 Makefile
--- Makefile    12 May 2017 20:19:48 -0000      1.35
+++ Makefile    8 May 2019 13:39:09 -0000
@@ -4,16 +4,22 @@ COMMENT =     modules for parsing and evalua
 
 MODULES =      cpan
 PKG_ARCH =     *
-DISTNAME =     XML-XPath-1.40
-CATEGORIES =   textproc
 
-RUN_DEPENDS =  textproc/p5-XML-Parser>=2.23
+DISTNAME =     XML-XPath-1.44
+
+CATEGORIES =   textproc
 
 # perl
 PERMIT_PACKAGE_CDROM = Yes
 
+RUN_DEPENDS =  textproc/p5-XML-Parser>=2.23
+
+TEST_DEPENDS = devel/p5-Test-CPAN-Meta \
+               devel/p5-Path-Tiny>=0.076
+
 MODCPAN_EXAMPLES =     Yes
 
-TEST_DEPENDS =         devel/p5-Path-Tiny
+post-install:
+       ${MODCPAN_POST_INSTALL}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/p5-XML-XPath/distinfo,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 distinfo
--- distinfo    12 May 2017 20:19:48 -0000      1.16
+++ distinfo    8 May 2019 13:39:09 -0000
@@ -1,2 +1,2 @@
-SHA256 (XML-XPath-1.40.tar.gz) = K/ZvUfp4bjzpJzv6xshC0N2NuvUSanlkRWpKQegC6h4=
-SIZE (XML-XPath-1.40.tar.gz) = 55322
+SHA256 (XML-XPath-1.44.tar.gz) = HMkRBwUWXcCd0Jl03XwLZwnJNR1raxzvWnEQVfiR3Q8=
+SIZE (XML-XPath-1.44.tar.gz) = 55903
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/textproc/p5-XML-XPath/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   26 Jan 2001 01:01:38 -0000      1.1.1.1
+++ pkg/DESCR   8 May 2019 13:39:09 -0000
@@ -1,6 +1,6 @@
 This module aims to comply exactly to the XPath specification at
-http://www.w3.org/TR/xpath and yet allow extensions to be added in
-the form of functions.
+https://www.w3.org/TR/xpath and yet allow extensions to be added
+in the form of functions.
 
-Modules such as XSLT and XPointer may need to do this as they support
-functionality beyond XPath.
+Modules such as XSLT and XPointer may need to do this as they
+support functionality beyond XPath.

Reply via email to