pkgsrc-WIP-changes archive

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

py-tqdm: Update to 4.23.3



Module Name:	pkgsrc-wip
Committed By:	Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By:	minskim
Date:		Mon May 21 16:35:06 2018 -0700
Changeset:	f56a5333e6c5dbcd1faa7764ad7d26126c989e00

Modified Files:
	py-tqdm/Makefile
	py-tqdm/PLIST
	py-tqdm/distinfo
Added Files:
	py-tqdm/ALTERNATIVES
Removed Files:
	py-tqdm/patches/patch-tqdm___utils.py

Log Message:
py-tqdm: Update to 4.23.3

Notable changes since 4.11.2:

- fix monitor race condition
- add explicit NetBSD support
- support unknown systems
- add unit_divisor
- add unit_scale
- thread safety
- use recursive locks
- multiprocess/lock fixes
- set_description in notebook
- add TqdmWarning base class
- allow direct non-string assignment to postfix member
- allow custom pandas total
- add progress_apply for pandas

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f56a5333e6c5dbcd1faa7764ad7d26126c989e00

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-tqdm/ALTERNATIVES                  |  1 +
 py-tqdm/Makefile                      | 14 +++++++++-----
 py-tqdm/PLIST                         |  6 +++++-
 py-tqdm/distinfo                      |  9 ++++-----
 py-tqdm/patches/patch-tqdm___utils.py | 16 ----------------
 5 files changed, 19 insertions(+), 27 deletions(-)

diffs:
diff --git a/py-tqdm/ALTERNATIVES b/py-tqdm/ALTERNATIVES
new file mode 100644
index 0000000000..511257b8e7
--- /dev/null
+++ b/py-tqdm/ALTERNATIVES
@@ -0,0 +1 @@
+bin/tqdm @PREFIX@/bin/tqdm@PYVERSSUFFIX@
diff --git a/py-tqdm/Makefile b/py-tqdm/Makefile
index 81321a761a..fee8c9362a 100644
--- a/py-tqdm/Makefile
+++ b/py-tqdm/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	tqdm-4.11.2
+DISTNAME=	tqdm-4.23.3
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	misc python
 MASTER_SITES=	${MASTER_SITE_PYPI:=t/tqdm/}
@@ -12,15 +12,19 @@ LICENSE=	mit
 
 USE_LANGUAGES=	# none
 
-# four test failures as of 4.11.2
-# https://github.com/tqdm/tqdm/issues/344
 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
 
-.include "../../lang/python/egg.mk"
-.include "../../mk/bsd.pkg.mk"
 # for UTF-8 in README.md
 ALL_ENV+=	LC_CTYPE=en_US.UTF-8
 ALL_ENV+=	LC_ALL=en_US.UTF-8
+
+.include "../../lang/python/egg.mk"
+
+post-install:
+	${MV} ${DESTDIR}${PREFIX}/bin/tqdm \
+		${DESTDIR}${PREFIX}/bin/tqdm${PYVERSSUFFIX}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-tqdm/PLIST b/py-tqdm/PLIST
index 21c58ee110..045fd430a1 100644
--- a/py-tqdm/PLIST
+++ b/py-tqdm/PLIST
@@ -1,5 +1,5 @@
 @comment $NetBSD$
-bin/tqdm
+bin/tqdm${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -14,6 +14,9 @@ ${PYSITELIB}/tqdm/__main__.pyo
 ${PYSITELIB}/tqdm/_main.py
 ${PYSITELIB}/tqdm/_main.pyc
 ${PYSITELIB}/tqdm/_main.pyo
+${PYSITELIB}/tqdm/_monitor.py
+${PYSITELIB}/tqdm/_monitor.pyc
+${PYSITELIB}/tqdm/_monitor.pyo
 ${PYSITELIB}/tqdm/_tqdm.py
 ${PYSITELIB}/tqdm/_tqdm.pyc
 ${PYSITELIB}/tqdm/_tqdm.pyo
@@ -32,3 +35,4 @@ ${PYSITELIB}/tqdm/_utils.pyo
 ${PYSITELIB}/tqdm/_version.py
 ${PYSITELIB}/tqdm/_version.pyc
 ${PYSITELIB}/tqdm/_version.pyo
+man/man1/tqdm.1
diff --git a/py-tqdm/distinfo b/py-tqdm/distinfo
index f49de995ae..d368b07b76 100644
--- a/py-tqdm/distinfo
+++ b/py-tqdm/distinfo
@@ -1,7 +1,6 @@
 $NetBSD$
 
-SHA1 (tqdm-4.11.2.tar.gz) = 34a2d9319f14eb1b60270641edb51356b3aca410
-RMD160 (tqdm-4.11.2.tar.gz) = c90efd448313f2db8f335aa7375baf1c766c0878
-SHA512 (tqdm-4.11.2.tar.gz) = 294557c9282de4ed2b81695d69d2c95b7f5c5adcaf6821d1109d9e7eb584f2237c6c54ce422537fd0ec1914a0d355317c4ad8d2a430c7c12678784a8a080d891
-Size (tqdm-4.11.2.tar.gz) = 100161 bytes
-SHA1 (patch-tqdm___utils.py) = 564c35d4bfb2673960893cd0f0c3ed73bf2f6d27
+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
diff --git a/py-tqdm/patches/patch-tqdm___utils.py b/py-tqdm/patches/patch-tqdm___utils.py
deleted file mode 100644
index b6cd49813f..0000000000
--- a/py-tqdm/patches/patch-tqdm___utils.py
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-NetBSD support.
-https://github.com/tqdm/tqdm/commit/a379e330d013cf5f7cec8e9460d1d5e03b543444
-
---- tqdm/_utils.py.orig	2017-01-23 23:53:53.000000000 +0000
-+++ tqdm/_utils.py
-@@ -5,7 +5,7 @@ CUR_OS = _curos()
- IS_WIN = CUR_OS in ['Windows', 'cli']
- IS_NIX = (not IS_WIN) and any(
-     CUR_OS.startswith(i) for i in
--    ['CYGWIN', 'MSYS', 'Linux', 'Darwin', 'SunOS', 'FreeBSD'])
-+    ['CYGWIN', 'MSYS', 'Linux', 'Darwin', 'SunOS', 'FreeBSD', 'NetBSD'])
- 
- 
- # Py2/3 compat. Empty conditional to avoid coverage


Home | Main Index | Thread Index | Old Index