Tuesday, September 01, 2020

[Update]textproc/p5-PDF-API2 : Update to 2.038

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/p5-PDF-API2/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- Makefile 9 Aug 2020 22:17:48 -0000 1.29
+++ Makefile 1 Sep 2020 07:28:59 -0000
@@ -5,7 +5,7 @@ COMMENT = create PDF documents with perl
MODULES = cpan
PKG_ARCH = *

-DISTNAME = PDF-API2-2.037
+DISTNAME = PDF-API2-2.038
CATEGORIES = textproc

MAINTAINER = Stuart Henderson <stu.ports@spacehopper.org>
@@ -13,9 +13,11 @@ MAINTAINER = Stuart Henderson <stu.ports
# LGPLv2.1
PERMIT_PACKAGE = Yes

-RUN_DEPENDS = textproc/p5-Font-TTF
+RUN_DEPENDS = textproc/p5-Font-TTF \
+ textproc/p5-PDF-API2-XS
TEST_DEPENDS = devel/p5-Test-Exception \
- devel/p5-Test-Memory-Cycle
+ devel/p5-Test-Memory-Cycle \
+ devel/p5-Test-Perl-Critic

MODCPAN_EXAMPLES = Yes
MODCPAN_EXAMPLES_DIST = contrib
@@ -26,5 +28,7 @@ pre-patch:
post-install:
${MODCPAN_POST_INSTALL}
chmod ${BINMODE} ${MODCPAN_EXAMPLES_DIR}/*
+
+MAKE_ENV += TEST_POD=Yes AUTHOR_TESTING=Yes

.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/p5-PDF-API2/distinfo,v
retrieving revision 1.16
diff -u -p -r1.16 distinfo
--- distinfo 9 Aug 2020 22:17:48 -0000 1.16
+++ distinfo 1 Sep 2020 07:28:59 -0000
@@ -1,2 +1,2 @@
-SHA256 (PDF-API2-2.037.tar.gz) = FCgD0YhtKikZ03T7bCVoFjCqJnQOP4AjM3+Zb6bGKX4=
-SIZE (PDF-API2-2.037.tar.gz) = 3511954
+SHA256 (PDF-API2-2.038.tar.gz) = dEfEdJsCp4T1JdPH7OmdNLChBHXbZQlvYxZ0jdL5vQk=
+SIZE (PDF-API2-2.038.tar.gz) = 3567202
Hi,

Here is a patch to for textproc/p5-PDF-API2:
i) Update to 2.038
ii) Add a TEST_DEPENDS
iii) Add MAKE_ENV=TEST_POD=Yes, now it could do more tests

A new port textproc/p5-PDF-API2-XS should be created first.

Both ports and their dependence ports, all build well and pass all tests.

Cheers !
wen

No comments:

Post a Comment