Date: Mon, 1 Sep 2014 17:36:34 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366909 - in head/devel: . p5-Term-ProgressBar-Simple Message-ID: <201409011736.s81HaYu9055916@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Mon Sep 1 17:36:34 2014 New Revision: 366909 URL: http://svnweb.freebsd.org/changeset/ports/366909 QAT: https://qat.redports.org/buildarchive/r366909/ Log: Add devel/p5-Term-ProgressBar-Simple, a simpler interface to Term::ProgressBar. Progress bars are handy - they tell you how much work has been done, how much is left to do and estimate how long it will take. But they can be fiddly! This module does the right thing in almost all cases in a really convenient way. It wraps Term::ProgressBar::Quiet so there is no output unless the code is running interactively - lets you put them in cron scripts. It deals with minor updates - only refreshes the screen when it will change what the user sees so it is efficient. It completes the progress bar when the progress object is destroyed (explicitly or by going out of scope) - no more '99%' done. WWW: http://search.cpan.org/dist/Term-ProgressBar-Simple/ Added: head/devel/p5-Term-ProgressBar-Simple/ head/devel/p5-Term-ProgressBar-Simple/Makefile (contents, props changed) head/devel/p5-Term-ProgressBar-Simple/distinfo (contents, props changed) head/devel/p5-Term-ProgressBar-Simple/pkg-descr (contents, props changed) head/devel/p5-Term-ProgressBar-Simple/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Sep 1 17:32:07 2014 (r366908) +++ head/devel/Makefile Mon Sep 1 17:36:34 2014 (r366909) @@ -2821,6 +2821,7 @@ SUBDIR += p5-Term-Menus SUBDIR += p5-Term-ProgressBar SUBDIR += p5-Term-ProgressBar-Quiet + SUBDIR += p5-Term-ProgressBar-Simple SUBDIR += p5-Term-Prompt SUBDIR += p5-Term-Query SUBDIR += p5-Term-RawInput Added: head/devel/p5-Term-ProgressBar-Simple/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Term-ProgressBar-Simple/Makefile Mon Sep 1 17:36:34 2014 (r366909) @@ -0,0 +1,22 @@ +# Created by: adamw +# $FreeBSD$ + +PORTNAME= Term-ProgressBar-Simple +PORTVERSION= 0.03 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= adamw@FreeBSD.org +COMMENT= Simpler Term::ProgressBar interface + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Term-ProgressBar-Quiet>=0:${PORTSDIR}/devel/p5-Term-ProgressBar-Quiet +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> Added: head/devel/p5-Term-ProgressBar-Simple/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Term-ProgressBar-Simple/distinfo Mon Sep 1 17:36:34 2014 (r366909) @@ -0,0 +1,2 @@ +SHA256 (Term-ProgressBar-Simple-0.03.tar.gz) = a20db3c67d5bdfd0c1fab392c6d1c26880a7ee843af602af4f9b53a7043579a6 +SIZE (Term-ProgressBar-Simple-0.03.tar.gz) = 3557 Added: head/devel/p5-Term-ProgressBar-Simple/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Term-ProgressBar-Simple/pkg-descr Mon Sep 1 17:36:34 2014 (r366909) @@ -0,0 +1,14 @@ +Progress bars are handy - they tell you how much work has been done, how much +is left to do and estimate how long it will take. But they can be fiddly! This +module does the right thing in almost all cases in a really convenient way. + +It wraps Term::ProgressBar::Quiet so there is no output unless the code is +running interactively - lets you put them in cron scripts. + +It deals with minor updates - only refreshes the screen when it will change +what the user sees so it is efficient. + +It completes the progress bar when the progress object is destroyed (explicitly +or by going out of scope) - no more '99%' done. + +WWW: http://search.cpan.org/dist/Term-ProgressBar-Simple/ Added: head/devel/p5-Term-ProgressBar-Simple/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Term-ProgressBar-Simple/pkg-plist Mon Sep 1 17:36:34 2014 (r366909) @@ -0,0 +1,4 @@ +%%PERL5_MAN3%%/Term::ProgressBar::Simple.3.gz +%%SITE_PERL%%/Term/ProgressBar/Simple.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Term/ProgressBar/Simple/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Term/ProgressBar/Simple
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409011736.s81HaYu9055916>