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().
This commit is contained in:
adam 2020-04-12 11:47:40 +00:00
parent 6a6d7115ab
commit 3233f9348f
3 changed files with 13 additions and 14 deletions

View file

@ -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 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-testscenarios-[0-9]*:../../devel/py-testscenarios
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

View file

@ -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 @@ bin/tap2subunit-${PYVERSSUFFIX}
${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

View file

@ -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