diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2016-06-30 09:13:59 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2016-06-30 09:13:59 +0000 |
commit | 76659e861d976ef4f47b80f90f4b39498a7eaf34 (patch) | |
tree | f1d9a07177722f4c24c18dac97727376b8e56c3f /misc | |
parent | Add WWW link to zfsnap2 (diff) |
[NEW] misc/py-pyprind: Python Progress Bar and Percent Indicator Utility
The PyPrind (Python Progress Indicator) module provides a progress bar
and a percentage indicator object that let you track the progress of a
loop structure or other iterative computation. Typical applications
include the processing of large data sets to provide an intuitive
estimate at runtime about the progress of the computation.
WWW: https://www.github.com/rasbt/pyprind
PR: 207758
Submitted by: Neel Chauhan <neel neelc org>
Notes
Notes:
svn path=/head/; revision=417819
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/py-pyprind/Makefile | 33 | ||||
-rw-r--r-- | misc/py-pyprind/distinfo | 3 | ||||
-rw-r--r-- | misc/py-pyprind/files/patch-setup.py | 10 | ||||
-rw-r--r-- | misc/py-pyprind/pkg-descr | 7 |
5 files changed, 54 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 2e8c8a763d5d..d036a2499684 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -375,6 +375,7 @@ SUBDIR += py-osd SUBDIR += py-pexpect SUBDIR += py-powerline-status + SUBDIR += py-pyprind SUBDIR += py-progressbar SUBDIR += py-progressbar231 SUBDIR += py-qt4-demo diff --git a/misc/py-pyprind/Makefile b/misc/py-pyprind/Makefile new file mode 100644 index 000000000000..82e8095eac9f --- /dev/null +++ b/misc/py-pyprind/Makefile @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= pyprind +PORTVERSION= 2.9.8 +DISTVERSIONPREFIX= v +CATEGORIES= misc +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= PyPrind-${PORTVERSION} + +MAINTAINER= neel@neelc.org +COMMENT= Python Progress Bar and Percent Indicator Utility + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \ + ${PYTHON_PKGNAMEPREFIX}psutil>=0.5.1:sysutils/py-psutil + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +OPTIONS_DEFINE= PSUTIL + +PSUTIL_DESC= Support monitoring CPU and memory usage +PSUTIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=0.5.1:sysutils/py-psutil + +test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include <bsd.port.mk> diff --git a/misc/py-pyprind/distinfo b/misc/py-pyprind/distinfo new file mode 100644 index 000000000000..b18b4d661ef8 --- /dev/null +++ b/misc/py-pyprind/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1465130692 +SHA256 (PyPrind-2.9.8.tar.gz) = f07dd20388a0d21838112deeb70b1705a9ebfeb8859c5741433126e4efb439b2 +SIZE (PyPrind-2.9.8.tar.gz) = 10154 diff --git a/misc/py-pyprind/files/patch-setup.py b/misc/py-pyprind/files/patch-setup.py new file mode 100644 index 000000000000..05a5b6ba64c2 --- /dev/null +++ b/misc/py-pyprind/files/patch-setup.py @@ -0,0 +1,10 @@ +--- setup.py.orig 2016-04-14 15:46:12 UTC ++++ setup.py +@@ -39,6 +39,7 @@ setup(name='PyPrind', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Environment :: Console'], ++ test_suite = "nose.collector", + long_description=""" + + The PyPrind (Python Progress Indicator) module provides a progress diff --git a/misc/py-pyprind/pkg-descr b/misc/py-pyprind/pkg-descr new file mode 100644 index 000000000000..4cf950480854 --- /dev/null +++ b/misc/py-pyprind/pkg-descr @@ -0,0 +1,7 @@ +The PyPrind (Python Progress Indicator) module provides a progress bar +and a percentage indicator object that let you track the progress of a +loop structure or other iterative computation. Typical applications +include the processing of large data sets to provide an intuitive +estimate at runtime about the progress of the computation. + +WWW: https://www.github.com/rasbt/pyprind |