pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-unittest2pytest
Module Name: pkgsrc
Committed By: adam
Date: Wed Aug 21 12:51:18 UTC 2019
Modified Files:
pkgsrc/devel/py-unittest2pytest: ALTERNATIVES Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-unittest2pytest/ALTERNATIVES \
pkgsrc/devel/py-unittest2pytest/Makefile \
pkgsrc/devel/py-unittest2pytest/PLIST \
pkgsrc/devel/py-unittest2pytest/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-unittest2pytest/ALTERNATIVES
diff -u pkgsrc/devel/py-unittest2pytest/ALTERNATIVES:1.1 pkgsrc/devel/py-unittest2pytest/ALTERNATIVES:1.2
--- pkgsrc/devel/py-unittest2pytest/ALTERNATIVES:1.1 Sun Feb 25 00:22:53 2018
+++ pkgsrc/devel/py-unittest2pytest/ALTERNATIVES Wed Aug 21 12:51:18 2019
@@ -1 +1 @@
-bin/unittest2pytest @PREFIX@/bin/unittest2pytest@PYVERSSUFFIX@
+bin/unittest2pytest @PREFIX@/bin/unittest2pytest-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-unittest2pytest/Makefile
diff -u pkgsrc/devel/py-unittest2pytest/Makefile:1.1 pkgsrc/devel/py-unittest2pytest/Makefile:1.2
--- pkgsrc/devel/py-unittest2pytest/Makefile:1.1 Sun Feb 25 00:22:53 2018
+++ pkgsrc/devel/py-unittest2pytest/Makefile Wed Aug 21 12:51:18 2019
@@ -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 @@ LICENSE= gnu-gpl-v3
USE_LANGUAGES= # none
-.include "../../lang/python/egg.mk"
-
post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/unittest2pytest \
- ${DESTDIR}${PREFIX}/bin/unittest2pytest${PYVERSSUFFIX}
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} unittest2pytest unittest2pytest-${PYVERSSUFFIX} || ${TRUE}
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-unittest2pytest/PLIST
diff -u pkgsrc/devel/py-unittest2pytest/PLIST:1.1 pkgsrc/devel/py-unittest2pytest/PLIST:1.2
--- pkgsrc/devel/py-unittest2pytest/PLIST:1.1 Sun Feb 25 00:22:53 2018
+++ pkgsrc/devel/py-unittest2pytest/PLIST Wed Aug 21 12:51:18 2019
@@ -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
Index: pkgsrc/devel/py-unittest2pytest/distinfo
diff -u pkgsrc/devel/py-unittest2pytest/distinfo:1.1 pkgsrc/devel/py-unittest2pytest/distinfo:1.2
--- pkgsrc/devel/py-unittest2pytest/distinfo:1.1 Sun Feb 25 00:22:53 2018
+++ pkgsrc/devel/py-unittest2pytest/distinfo Wed Aug 21 12:51:18 2019
@@ -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