Here is an update for File::ShareDir::Install, required to update
File::ShareDir.

What's new upstream [0]:

- support spaces (and other special characters too) in share files
- run tests sequentially (... or not)

What's new in the port:

- Fixed trailing whitespaces in DESCR, changed the flow as well
- Drop TEST_DEPENDS, it's not used publicly by the tests
- Force tests to be run sequentially when MAKE_JOBS>1, as it
  overrides everything, including testrules.yml and HARNESS_OPTIONS.
  If we don't in this context, tests fail.

Testing: 

- 'make test' passes
- There are 8 direct consumers i've tested, and i've found no issue 
  related to that update [1]

Comments/feedback are welcome, 

Charlène. 


[0]
https://metacpan.org/source/ETHER/File-ShareDir-Install-0.13/Changes 
[1] http://0x0.st/zTXs.tgz


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-File-ShareDir-Install/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile    4 Dec 2017 17:56:27 -0000       1.5
+++ Makefile    5 May 2019 15:01:42 -0000
@@ -3,14 +3,22 @@
 COMMENT=       install shared files, to use with File::ShareDir
 
 MODULES=       cpan
+
 PKG_ARCH=      *
-DISTNAME=      File-ShareDir-Install-0.11
+
+DISTNAME=      File-ShareDir-Install-0.13
+
 CATEGORIES=    devel
+
 FIX_EXTRACT_PERMISSIONS=Yes
 
 # perl
 PERMIT_PACKAGE_CDROM=  Yes
 
-TEST_DEPENDS=  devel/p5-Test-Pod
+# Tests fails run when run with -j>1 (MAKE_JOBS>1) see
+# https://rt.cpan.org/Public/Bug/Display.html?id=111296
+# Upstream has fixed the issue, but MAKE_JOBS takes
+# precedence even over the HARNESS_OPTIONS env variable.
+TEST_FLAGS+=   -j1
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-File-ShareDir-Install/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo    2 Sep 2016 22:38:56 -0000       1.3
+++ distinfo    5 May 2019 15:01:42 -0000
@@ -1,2 +1,2 @@
-SHA256 (File-ShareDir-Install-0.11.tar.gz) = 
Mr+Hcun+pghmB0sn/zGrW8P4iXLWGRXoTLu5hFXgDMg=
-SIZE (File-ShareDir-Install-0.11.tar.gz) = 31187
+SHA256 (File-ShareDir-Install-0.13.tar.gz) = 
Rb798Nlcvv58JaHa8pPYX3gNbSV2FGVG5oKKrSblgPk=
+SIZE (File-ShareDir-Install-0.13.tar.gz) = 31191
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/devel/p5-File-ShareDir-Install/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   23 Jun 2014 19:10:04 -0000      1.1.1.1
+++ pkg/DESCR   5 May 2019 15:01:42 -0000
@@ -1,3 +1,3 @@
-File::ShareDir::Install allows you to install read-only data files from a 
-distribution. It is a companion module to File::ShareDir, which allows you 
-to locate these files after installation.
+File::ShareDir::Install allows you to install read-only data files from
+a distribution. It is a companion module to File::ShareDir, which allows
+you to locate these files after installation.

Reply via email to