Here is an update for Term::ProgressBar.

Upstream changes [0] mostly consist in making the module hides its
own warning messages, to avoid disruption during the display of the
progressbar. And there is some distribution changes.

What's new in the port:

- RUN/TEST_DEPENDS cleanup
- fix spacing 
- install examples

Testing: 

- 'make test' passes
- There are 2 consumers: mail/sympa, that has no tests, and
  multimedia/get_flash_videos, that passes [1].


Comments/feedback are welcome!

Charlène. 


[0] https://metacpan.org/source/MANWAR/Term-ProgressBar-2.22/Changes
[1] http://0x0.st/zAnM.tgz


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-Term-ProgressBar/Makefile,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 Makefile
--- Makefile    4 May 2019 01:18:58 -0000       1.12
+++ Makefile    16 May 2019 21:01:10 -0000
@@ -4,14 +4,18 @@ COMMENT=              text mode progress bar
 
 MODULES=               cpan
 PKG_ARCH=              *
-DISTNAME=              Term-ProgressBar-2.17
-REVISION =             1
+DISTNAME=              Term-ProgressBar-2.22
 CATEGORIES=            devel
 
-# perl
+# Perl
 PERMIT_PACKAGE_CDROM=  Yes
 
-BUILD_DEPENDS  = ${RUN_DEPENDS}
-RUN_DEPENDS    = devel/p5-Class-MethodMaker
+RUN_DEPENDS=           devel/p5-Class-MethodMaker>=1.02
+
+TEST_DEPENDS=          devel/p5-Test-Exception>=0.31 \
+                       devel/p5-Test-Warnings \
+                       sysutils/p5-Capture-Tiny>=0.13
+
+MODCPAN_EXAMPLES=      Yes
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-Term-ProgressBar/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo    25 Dec 2015 21:31:45 -0000      1.3
+++ distinfo    16 May 2019 21:01:10 -0000
@@ -1,2 +1,2 @@
-SHA256 (Term-ProgressBar-2.17.tar.gz) = 
weBgLHOKkf5UsBvKoNGomLB+9oFcVesuvW2k474g9pY=
-SIZE (Term-ProgressBar-2.17.tar.gz) = 18711
+SHA256 (Term-ProgressBar-2.22.tar.gz) = 
JkLsylsLA4wUgSvK06lhH/eRHcWckQTSIHl/g3qIDEk=
+SIZE (Term-ProgressBar-2.22.tar.gz) = 19506
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/p5-Term-ProgressBar/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- pkg/PLIST   25 Dec 2015 21:31:46 -0000      1.2
+++ pkg/PLIST   16 May 2019 21:01:10 -0000
@@ -5,3 +5,12 @@ ${P5SITE}/Term/ProgressBar.pm
 ${P5SITE}/Term/ProgressBar/IO.pm
 @man man/man3p/Term::ProgressBar.3p
 @man man/man3p/Term::ProgressBar::IO.3p
+share/examples/p5-Term-ProgressBar/
+share/examples/p5-Term-ProgressBar/powers
+share/examples/p5-Term-ProgressBar/powers2
+share/examples/p5-Term-ProgressBar/powers3
+share/examples/p5-Term-ProgressBar/powers4
+share/examples/p5-Term-ProgressBar/powers5
+share/examples/p5-Term-ProgressBar/simple_use.pl
+share/examples/p5-Term-ProgressBar/smooth_bar.pl
+share/examples/p5-Term-ProgressBar/stdinorfile.pl

Reply via email to