pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-unittest2pytest py-unittest2pytest: updated t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5749dd0c2b24
branches:  trunk
changeset: 338254:5749dd0c2b24
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Aug 21 12:51:18 2019 +0000

description:
py-unittest2pytest: updated to 0.4

0.4:
* Add support for assertDictContainsSubset.
* Put parenthesis around expressions if required.
* Fixed assertRaisesRegex, assertRaisesRegexp and assertWarnsRegex.
  The regex was getting replaced with an undefined variable pattern.
* Fix assertRaisesRegex and assertRaisesRegexp with **kwargs and
  atom parameters.
* Made assertRaisesRegex, assertRaisesRegexp and assertWarnsRegex use
  the match kwarg in pytest.raises instead of creating a variable
  with the context manager and doing an assert on re.search.
* Add a short developer guide.
* Remove testing on Python 3.0, 3.1, 3.2, add 3.6 and 3.7.
* Distribute package as a universal wheel.

diffstat:

 devel/py-unittest2pytest/ALTERNATIVES |   2 +-
 devel/py-unittest2pytest/Makefile     |  13 ++++++-------
 devel/py-unittest2pytest/PLIST        |   5 +++--
 devel/py-unittest2pytest/distinfo     |  10 +++++-----
 4 files changed, 15 insertions(+), 15 deletions(-)

diffs (64 lines):

diff -r 7757596e3226 -r 5749dd0c2b24 devel/py-unittest2pytest/ALTERNATIVES
--- a/devel/py-unittest2pytest/ALTERNATIVES     Wed Aug 21 12:48:03 2019 +0000
+++ b/devel/py-unittest2pytest/ALTERNATIVES     Wed Aug 21 12:51:18 2019 +0000
@@ -1,1 +1,1 @@
-bin/unittest2pytest @PREFIX@/bin/unittest2pytest@PYVERSSUFFIX@
+bin/unittest2pytest @PREFIX@/bin/unittest2pytest-@PYVERSSUFFIX@
diff -r 7757596e3226 -r 5749dd0c2b24 devel/py-unittest2pytest/Makefile
--- a/devel/py-unittest2pytest/Makefile Wed Aug 21 12:48:03 2019 +0000
+++ b/devel/py-unittest2pytest/Makefile Wed Aug 21 12:51:18 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2018/02/25 00:22:53 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2019/08/21 12:51:18 adam Exp $
 
-DISTNAME=      unittest2pytest-0.3
+DISTNAME=      unittest2pytest-0.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/unittest2pytest/}
@@ -12,10 +12,9 @@
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/egg.mk"
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} unittest2pytest unittest2pytest-${PYVERSSUFFIX} || ${TRUE}
 
-post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/unittest2pytest \
-               ${DESTDIR}${PREFIX}/bin/unittest2pytest${PYVERSSUFFIX}
-
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7757596e3226 -r 5749dd0c2b24 devel/py-unittest2pytest/PLIST
--- a/devel/py-unittest2pytest/PLIST    Wed Aug 21 12:48:03 2019 +0000
+++ b/devel/py-unittest2pytest/PLIST    Wed Aug 21 12:51:18 2019 +0000
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2018/02/25 00:22:53 minskim Exp $
-bin/unittest2pytest${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.2 2019/08/21 12:51:18 adam Exp $
+bin/unittest2pytest-${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}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/unittest2pytest/__init__.py
 ${PYSITELIB}/unittest2pytest/__init__.pyc
diff -r 7757596e3226 -r 5749dd0c2b24 devel/py-unittest2pytest/distinfo
--- a/devel/py-unittest2pytest/distinfo Wed Aug 21 12:48:03 2019 +0000
+++ b/devel/py-unittest2pytest/distinfo Wed Aug 21 12:51:18 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/02/25 00:22:53 minskim Exp $
+$NetBSD: distinfo,v 1.2 2019/08/21 12:51:18 adam Exp $
 
-SHA1 (unittest2pytest-0.3.tar.gz) = 4d28e60e8a9818d2e4b6c90810a99fc9a9ca8da6
-RMD160 (unittest2pytest-0.3.tar.gz) = 8f623c10d5418c6ec8dea9190919583d48f49c30
-SHA512 (unittest2pytest-0.3.tar.gz) = 169ab92551007fccd369005f59e89b6cd20e2722031ae8dc51604c9131774a006465d350daad90fbce69828cfacae2d0b0d4a27f483ff992da94c3360517dc70
-Size (unittest2pytest-0.3.tar.gz) = 30389 bytes
+SHA1 (unittest2pytest-0.4.tar.gz) = 4e710a7a34b6be59b34759bc9065963f2b3c6db1
+RMD160 (unittest2pytest-0.4.tar.gz) = ac2f05970a47dd8577779fe54dd3ea82c8943982
+SHA512 (unittest2pytest-0.4.tar.gz) = b8b7d88fbab11c1a2c8f1667d6b9f53ba788a9ad8465afb1ca0d359d8c0c43114017f0caf9f16389500380a887a080fcf9a7b09325c52758b121af913a1bea10
+Size (unittest2pytest-0.4.tar.gz) = 35465 bytes



Home | Main Index | Thread Index | Old Index