pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/py-tqdm py-tqdm: updated to 4.30.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d8d72fcf010
branches:  trunk
changeset: 390959:1d8d72fcf010
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jan 28 14:13:50 2019 +0000

description:
py-tqdm: updated to 4.30.0

tqdm v4.30.0 stable
avoid moving when leave=False
generalise nested bar tests
add display() helper function
add and expose format_dict
- allow arbitrary keyword arguments for format_meter
- document format_dict overriding
- add tests for overriding
- add and tidy developer documentation
fix py3 CLI pipe decoding error
framework overhaul (developing, testing, Travis CI updates)
tidy code and style (flake8)
setup.py refactor
- setup.py make
  . add support for multi-line commands
  . tidy and efficiency
- replace setup.py's built-in make -> py-make>=0.1.9
- add requirements-dev.txt and extras_require[dev]
add, update and tidy tests
include interactive Jupyter demonstration
update documentation
- add FAQ about py2 pipes
- add badges
- update examples
- update authors

diffstat:

 misc/py-tqdm/ALTERNATIVES |   3 ++-
 misc/py-tqdm/Makefile     |  28 ++++++++++++++--------------
 misc/py-tqdm/PLIST        |  13 ++++++++++---
 misc/py-tqdm/distinfo     |  10 +++++-----
 4 files changed, 31 insertions(+), 23 deletions(-)

diffs (98 lines):

diff -r e41a3b1345a5 -r 1d8d72fcf010 misc/py-tqdm/ALTERNATIVES
--- a/misc/py-tqdm/ALTERNATIVES Mon Jan 28 12:25:35 2019 +0000
+++ b/misc/py-tqdm/ALTERNATIVES Mon Jan 28 14:13:50 2019 +0000
@@ -1,1 +1,2 @@
-bin/tqdm @PREFIX@/bin/tqdm@PYVERSSUFFIX@
+bin/tqdm @PREFIX@/bin/tqdm-@PYVERSSUFFIX@
+man/man1/tqdm.1 @PREFIX@/man/man1/tqdm-@PYVERSSUFFIX@.1
diff -r e41a3b1345a5 -r 1d8d72fcf010 misc/py-tqdm/Makefile
--- a/misc/py-tqdm/Makefile     Mon Jan 28 12:25:35 2019 +0000
+++ b/misc/py-tqdm/Makefile     Mon Jan 28 14:13:50 2019 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2018/12/22 17:24:20 taca Exp $
+# $NetBSD: Makefile,v 1.3 2019/01/28 14:13:50 adam Exp $
 
-DISTNAME=      tqdm-4.23.3
+DISTNAME=      tqdm-4.30.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    misc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tqdm/}
 
@@ -11,21 +10,22 @@
 COMMENT=       Fast, extensible progress bar for Python
 LICENSE=       mit
 
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-mccabe-[0-9]*:../../devel/py-mccabe
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+TEST_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 
 USE_LANGUAGES= # none
 
 # for UTF-8 in README.md
-ALL_ENV+=      LC_CTYPE=en_US.UTF-8
-ALL_ENV+=      LC_ALL=en_US.UTF-8
+#ALL_ENV+=     LC_CTYPE=en_US.UTF-8
+#ALL_ENV+=     LC_ALL=en_US.UTF-8
+
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
+
+post-install:
+       cd ${DESTDIR}${PREFIX} && \
+       ${MV} bin/tqdm bin/tqdm-${PYVERSSUFFIX} && \
+       ${MV} ${PYSITELIB}/tqdm/tqdm.1 ${PKGMANDIR}/man1/tqdm-${PYVERSSUFFIX}.1 || ${TRUE}
 
 .include "../../lang/python/egg.mk"
-
-post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/tqdm \
-               ${DESTDIR}${PREFIX}/bin/tqdm${PYVERSSUFFIX}
-
 .include "../../mk/bsd.pkg.mk"
diff -r e41a3b1345a5 -r 1d8d72fcf010 misc/py-tqdm/PLIST
--- a/misc/py-tqdm/PLIST        Mon Jan 28 12:25:35 2019 +0000
+++ b/misc/py-tqdm/PLIST        Mon Jan 28 14:13:50 2019 +0000
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2018/05/21 23:45:59 minskim Exp $
-bin/tqdm${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.2 2019/01/28 14:13:50 adam Exp $
+bin/tqdm-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/tqdm/__init__.py
 ${PYSITELIB}/tqdm/__init__.pyc
@@ -35,4 +36,10 @@
 ${PYSITELIB}/tqdm/_version.py
 ${PYSITELIB}/tqdm/_version.pyc
 ${PYSITELIB}/tqdm/_version.pyo
-man/man1/tqdm.1
+${PYSITELIB}/tqdm/auto/__init__.py
+${PYSITELIB}/tqdm/auto/__init__.pyc
+${PYSITELIB}/tqdm/auto/__init__.pyo
+${PYSITELIB}/tqdm/autonotebook/__init__.py
+${PYSITELIB}/tqdm/autonotebook/__init__.pyc
+${PYSITELIB}/tqdm/autonotebook/__init__.pyo
+man/man1/tqdm-${PYVERSSUFFIX}.1
diff -r e41a3b1345a5 -r 1d8d72fcf010 misc/py-tqdm/distinfo
--- a/misc/py-tqdm/distinfo     Mon Jan 28 12:25:35 2019 +0000
+++ b/misc/py-tqdm/distinfo     Mon Jan 28 14:13:50 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/05/21 23:45:59 minskim Exp $
+$NetBSD: distinfo,v 1.2 2019/01/28 14:13:50 adam Exp $
 
-SHA1 (tqdm-4.23.3.tar.gz) = 29ca054d5dd327fca24f557c7236c94fe72ad391
-RMD160 (tqdm-4.23.3.tar.gz) = 545355150050b315462fccf9c41373c2b2664969
-SHA512 (tqdm-4.23.3.tar.gz) = 8cb5dab262d5f5569fe307553b339f1b6d5ce61dd30cfbc1f8d72177773b80d9a10a48004a62507f9369a7eae8330ed83afbc2d9a12def9f8601d626a806bdaf
-Size (tqdm-4.23.3.tar.gz) = 99299 bytes
+SHA1 (tqdm-4.30.0.tar.gz) = 6fc043eac1b0f3e664af2e821f2dca9b9b6b6186
+RMD160 (tqdm-4.30.0.tar.gz) = 424c0cabb4ce9cf20fbd487b2658e019163f7138
+SHA512 (tqdm-4.30.0.tar.gz) = 0ab0cba796d449d6a4a8237d52516d3d35bdc7c249c544c79bb11b2b29da5007861946866cf540a507e319eea715a5549429394dd98608ac2b36312ed48b0266
+Size (tqdm-4.30.0.tar.gz) = 120513 bytes



Home | Main Index | Thread Index | Old Index