diff --git a/misc/Makefile b/misc/Makefile index c902b21a210a..8dc1df3d4c35 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -371,6 +371,7 @@ SUBDIR += py-osd SUBDIR += py-pexpect SUBDIR += py-progressbar + SUBDIR += py-progressbar231 SUBDIR += py-qt4-demo SUBDIR += py-qt4-doc SUBDIR += py-yolk diff --git a/misc/py-progressbar231/Makefile b/misc/py-progressbar231/Makefile new file mode 100644 index 000000000000..8daaa003af17 --- /dev/null +++ b/misc/py-progressbar231/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= progressbar231 +PORTVERSION= 2.3.1 +CATEGORIES= misc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wg@FreeBSD.org +COMMENT= Text progressbar library for python + +LICENSE= BSD3CLAUSE + +USE_PYTHON= autoplist distutils +USES= python:2 + +CONFLICTS= py*-progressbar + +.include diff --git a/misc/py-progressbar231/distinfo b/misc/py-progressbar231/distinfo new file mode 100644 index 000000000000..4cc91e326d9d --- /dev/null +++ b/misc/py-progressbar231/distinfo @@ -0,0 +1,2 @@ +SHA256 (progressbar231-2.3.1.tar.gz) = 55b5e5c6b0077b21d14cf2166f3ee74758f89ec75175a6fce4e3f78366771148 +SIZE (progressbar231-2.3.1.tar.gz) = 10402 diff --git a/misc/py-progressbar231/pkg-descr b/misc/py-progressbar231/pkg-descr new file mode 100644 index 000000000000..2b2cf048736f --- /dev/null +++ b/misc/py-progressbar231/pkg-descr @@ -0,0 +1,16 @@ +This library provides a text mode progressbar. This is typically +used to display the progress of a long running operation, providing +a visual clue that processing is underway. + +The ProgressBar class manages the progress, and the format of the +line is given by a number of widgets. A widget is an object that +may display diferently depending on the state of the progress. + +There are three types of widget: +- a string, which always shows itself; +- a ProgressBarWidget, which may return a diferent value every time + it's update method is called; and +- a ProgressBarWidgetHFill, which is like ProgressBarWidget, except + it expands to fill the remaining width of the line. + +WWW: https://pypi.python.org/pypi/progressbar231