Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2018 16:38:38 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465722 - in head/misc: . py-progressbar2 py-progressbar2/files
Message-ID:  <201803271638.w2RGccHY034351@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Tue Mar 27 16:38:38 2018
New Revision: 465722
URL: https://svnweb.freebsd.org/changeset/ports/465722

Log:
  Add new port misc/py-progressbar2:
  
  Text mode progressbar library for Python
  
  WWW: https://pypi.python.org/pypi/progressbar2

Added:
  head/misc/py-progressbar2/
     - copied from r465670, head/misc/py-progressbar/
Deleted:
  head/misc/py-progressbar2/files/
Modified:
  head/misc/Makefile
  head/misc/py-progressbar2/Makefile
  head/misc/py-progressbar2/distinfo
  head/misc/py-progressbar2/pkg-descr

Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile	Tue Mar 27 16:29:07 2018	(r465721)
+++ head/misc/Makefile	Tue Mar 27 16:38:38 2018	(r465722)
@@ -397,6 +397,7 @@
     SUBDIR += py-pexpect
     SUBDIR += py-powerline-status
     SUBDIR += py-progressbar
+    SUBDIR += py-progressbar2
     SUBDIR += py-progressbar231
     SUBDIR += py-pyfiglet
     SUBDIR += py-pyprind

Modified: head/misc/py-progressbar2/Makefile
==============================================================================
--- head/misc/py-progressbar/Makefile	Tue Mar 27 08:33:55 2018	(r465670)
+++ head/misc/py-progressbar2/Makefile	Tue Mar 27 16:38:38 2018	(r465722)
@@ -1,24 +1,26 @@
-# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	progressbar
-PORTVERSION=	2.3
-PORTREVISION=	2
+PORTNAME=	progressbar2
+PORTVERSION=	3.36.0
 CATEGORIES=	misc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Text progressbar library for python
+MAINTAINER=	makc@FreeBSD.org
+COMMENT=	Text mode progressbar library for Python
 
-LICENSE=	BSD3CLAUSE LGPL21+
-LICENSE_COMB=	dual
-LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE.txt
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-utils>=2.3.0:misc/py-python-utils@${FLAVOR}
+
 NO_ARCH=	yes
-USE_PYTHON=	autoplist concurrent distutils
 USES=		python
+USE_PYTHON=	autoplist concurrent distutils
 
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}progressbar231
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}progressbar \
+			${PYTHON_PKGNAMEPREFIX}progressbar231
 
 .include <bsd.port.mk>

Modified: head/misc/py-progressbar2/distinfo
==============================================================================
--- head/misc/py-progressbar/distinfo	Tue Mar 27 08:33:55 2018	(r465670)
+++ head/misc/py-progressbar2/distinfo	Tue Mar 27 16:38:38 2018	(r465722)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1474489431
-SHA256 (progressbar-2.3.tar.gz) = b2d38a729785149e65323381d2e6fca0a5e9615a6d8bcf10bfa8adedfc481254
-SIZE (progressbar-2.3.tar.gz) = 9420
+TIMESTAMP = 1521332690
+SHA256 (progressbar2-3.36.0.tar.gz) = 8600401956fc07852b309483590b424529ada8566447b2900a565218c66ee32c
+SIZE (progressbar2-3.36.0.tar.gz) = 113869

Modified: head/misc/py-progressbar2/pkg-descr
==============================================================================
--- head/misc/py-progressbar/pkg-descr	Tue Mar 27 08:33:55 2018	(r465670)
+++ head/misc/py-progressbar2/pkg-descr	Tue Mar 27 16:38:38 2018	(r465722)
@@ -2,16 +2,5 @@ This library provides a text mode progressbar. This is
 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/progressbar
-WWW: https://github.com/niltonvolpato/python-progressbar
+WWW: https://pypi.python.org/pypi/progressbar2
+WWW: https://github.com/WoLpH/python-progressbar



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803271638.w2RGccHY034351>