pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-subunit py-subunit: updated to 1.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95f582d19e2f
branches:  trunk
changeset: 427149:95f582d19e2f
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Apr 12 11:47:40 2020 +0000

description:
py-subunit: updated to 1.4.0

1.4.0

IMPROVEMENTS
* Drop Python 3.3 support, and test on 3.5 and 3.6.
* Add support for Python 3.7 and 3.8.
* Improve readability of SubUnit v2 spec.
* Add license to setup.py.

BUGFIXES
* Migrate Gtk interface to GObject introspection.
* Fix file open for python3.
* Check written bytes are not None before summing them to offset.
* Correctly handle py3 RawIOBase read().

diffstat:

 net/py-subunit/Makefile |  14 +++++++-------
 net/py-subunit/PLIST    |   3 +--
 net/py-subunit/distinfo |  10 +++++-----
 3 files changed, 13 insertions(+), 14 deletions(-)

diffs (62 lines):

diff -r 57fdab735ad8 -r 95f582d19e2f net/py-subunit/Makefile
--- a/net/py-subunit/Makefile   Sun Apr 12 11:32:42 2020 +0000
+++ b/net/py-subunit/Makefile   Sun Apr 12 11:47:40 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2018/05/17 08:09:11 adam Exp $
+# $NetBSD: Makefile,v 1.2 2020/04/12 11:47:40 adam Exp $
 
-DISTNAME=      python-subunit-1.3.0
+DISTNAME=      python-subunit-1.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-subunit/}
@@ -19,12 +19,12 @@
 USE_LANGUAGES= # none
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       for f in subunit-1to2 subunit-1to2 subunit-2to1 subunit-filter subunit-ls \
+.for f in subunit-1to2 subunit-1to2 subunit-2to1 subunit-filter subunit-ls \
        subunit-notify subunit-output subunit-stats subunit-tags subunit2csv \
-       subunit2disk subunit2gtk subunit2junitxml subunit2pyunit tap2subunit; do \
-               ${MV} $${f} $${f}-${PYVERSSUFFIX} || ${TRUE}; \
-       done
+       subunit2disk subunit2gtk subunit2junitxml subunit2pyunit tap2subunit
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} ${f} ${f}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
 
 do-test:
        cd ${WRKSRC}/python && ${PYTHONBIN} -m unittest discover -v
diff -r 57fdab735ad8 -r 95f582d19e2f net/py-subunit/PLIST
--- a/net/py-subunit/PLIST      Sun Apr 12 11:32:42 2020 +0000
+++ b/net/py-subunit/PLIST      Sun Apr 12 11:47:40 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/05/17 08:09:11 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/04/12 11:47:40 adam Exp $
 bin/subunit-1to2-${PYVERSSUFFIX}
 bin/subunit-2to1-${PYVERSSUFFIX}
 bin/subunit-filter-${PYVERSSUFFIX}
@@ -16,7 +16,6 @@
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/pbr.json
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/subunit/__init__.py
diff -r 57fdab735ad8 -r 95f582d19e2f net/py-subunit/distinfo
--- a/net/py-subunit/distinfo   Sun Apr 12 11:32:42 2020 +0000
+++ b/net/py-subunit/distinfo   Sun Apr 12 11:47:40 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/05/17 08:09:11 adam Exp $
+$NetBSD: distinfo,v 1.2 2020/04/12 11:47:40 adam Exp $
 
-SHA1 (python-subunit-1.3.0.tar.gz) = a23f4ae8894687adfda2f5a8333b2f2579efd720
-RMD160 (python-subunit-1.3.0.tar.gz) = 54521191be886a4bcf9eb0da372221c181d1cd46
-SHA512 (python-subunit-1.3.0.tar.gz) = 387c9ce8ed679d8998d33c7a295412e4f9de46b8dccdfab92eb82d8c4290958760b6c9bd99d50abd0836e4556c1b0c0132fc01e16801a3113844ab1bf28cf962
-Size (python-subunit-1.3.0.tar.gz) = 99309 bytes
+SHA1 (python-subunit-1.4.0.tar.gz) = 09376b4bcb0ba6c5b5c894a31b851e454d9dc5ef
+RMD160 (python-subunit-1.4.0.tar.gz) = e5fe525a5bfb4fdd5e4090f6a371b99401383643
+SHA512 (python-subunit-1.4.0.tar.gz) = 7f8ebf1cfdd7ff22bfd68367cb90dd75e7f3b5f7da71830b304225905e1799ad1ec8f0d41f5f98895c831dc10fe77229137a472b8e8e57ea84c05c66694a5b5b
+Size (python-subunit-1.4.0.tar.gz) = 100059 bytes



Home | Main Index | Thread Index | Old Index