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:           Sun Dec 29 09:45:33 UTC 2024

Modified Files:
        pkgsrc/devel/py-unittest2pytest: Makefile PLIST distinfo

Log Message:
py-unittest2pytest: updated to 0.5

0.5
- Convert ``self.fail()`` to ``pytest.fail()``.
- Python >=3.9 is now required.
- Allow non-string keys when translating ``assertDictContainsSubset``


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-unittest2pytest/Makefile \
    pkgsrc/devel/py-unittest2pytest/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-unittest2pytest/PLIST

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/Makefile
diff -u pkgsrc/devel/py-unittest2pytest/Makefile:1.4 pkgsrc/devel/py-unittest2pytest/Makefile:1.5
--- pkgsrc/devel/py-unittest2pytest/Makefile:1.4        Wed Jan  5 15:41:08 2022
+++ pkgsrc/devel/py-unittest2pytest/Makefile    Sun Dec 29 09:45:33 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/01/05 15:41:08 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2024/12/29 09:45:33 adam Exp $
 
-DISTNAME=      unittest2pytest-0.4
+DISTNAME=      unittest2pytest-0.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/unittest2pytest/}
 
@@ -11,13 +10,13 @@ HOMEPAGE=   https://github.com/pytest-dev/
 COMMENT=       Tool to rewrite Python unittest into pytest test cases
 LICENSE=       gnu-gpl-v3
 
-USE_LANGUAGES= # none
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 
-USE_PKG_RESOURCES=     yes
+USE_LANGUAGES= # none
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} unittest2pytest unittest2pytest-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-unittest2pytest/distinfo
diff -u pkgsrc/devel/py-unittest2pytest/distinfo:1.4 pkgsrc/devel/py-unittest2pytest/distinfo:1.5
--- pkgsrc/devel/py-unittest2pytest/distinfo:1.4        Tue Oct 26 10:19:14 2021
+++ pkgsrc/devel/py-unittest2pytest/distinfo    Sun Dec 29 09:45:33 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:19:14 nia Exp $
+$NetBSD: distinfo,v 1.5 2024/12/29 09:45:33 adam Exp $
 
-BLAKE2s (unittest2pytest-0.4.tar.gz) = e0acff06257b84e0f780b633a8cdda5bcd34b0bf75c8dec6c4ce7136059d2541
-SHA512 (unittest2pytest-0.4.tar.gz) = b8b7d88fbab11c1a2c8f1667d6b9f53ba788a9ad8465afb1ca0d359d8c0c43114017f0caf9f16389500380a887a080fcf9a7b09325c52758b121af913a1bea10
-Size (unittest2pytest-0.4.tar.gz) = 35465 bytes
+BLAKE2s (unittest2pytest-0.5.tar.gz) = 8bf657427bbaf8917f8cf79171e45603eccc439f64d9113d641beec9f34a602c
+SHA512 (unittest2pytest-0.5.tar.gz) = 916357e2edae0e9ee228e09aa51d5756cec2eac37f33988576e6dd6952b3d108f6c383eabc1c7091cf89b6a7b2290bceb1baaff959cfb376270ac2df6554a8e7
+Size (unittest2pytest-0.5.tar.gz) = 34674 bytes

Index: pkgsrc/devel/py-unittest2pytest/PLIST
diff -u pkgsrc/devel/py-unittest2pytest/PLIST:1.2 pkgsrc/devel/py-unittest2pytest/PLIST:1.3
--- pkgsrc/devel/py-unittest2pytest/PLIST:1.2   Wed Aug 21 12:51:18 2019
+++ pkgsrc/devel/py-unittest2pytest/PLIST       Sun Dec 29 09:45:33 2024
@@ -1,11 +1,12 @@
-@comment $NetBSD: PLIST,v 1.2 2019/08/21 12:51:18 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/12/29 09:45:33 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}/${WHEEL_INFODIR}/AUTHORS.txt
+${PYSITELIB}/${WHEEL_INFODIR}/COPYING-GPLv3.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/unittest2pytest/__init__.py
 ${PYSITELIB}/unittest2pytest/__init__.pyc
 ${PYSITELIB}/unittest2pytest/__init__.pyo



Home | Main Index | Thread Index | Old Index