pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-nose2



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr 30 14:07:48 UTC 2024

Modified Files:
        pkgsrc/devel/py-nose2: Makefile PLIST

Log Message:
py-nose2: convert to wheel.mk.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-nose2/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-nose2/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-nose2/Makefile
diff -u pkgsrc/devel/py-nose2/Makefile:1.13 pkgsrc/devel/py-nose2/Makefile:1.14
--- pkgsrc/devel/py-nose2/Makefile:1.13 Wed Mar 29 09:34:08 2023
+++ pkgsrc/devel/py-nose2/Makefile      Tue Apr 30 14:07:48 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2023/03/29 09:34:08 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2024/04/30 14:07:48 wiz Exp $
 
 DISTNAME=      nose2-0.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/nose2/}
 
@@ -11,23 +11,17 @@ HOMEPAGE=   https://github.com/nose-devs/n
 COMMENT=       Next generation of nicer testing for Python
 LICENSE=       2-clause-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-coverage>=4.4.1:../../devel/py-coverage
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.7:../../lang/py-six
 
-.include "../../lang/python/pyversion.mk"
-
-.if ${PYTHON_VERSION} == 207
-DEPENDS+=      ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-.endif
-
-PYTHON_VERSIONED_DEPENDENCIES+=        coverage
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 
-USE_PKG_RESOURCES=     yes
-
 post-install:
        ${RM} -f ${DESTDIR}${PREFIX}/bin/nose2
 
-.include "../../lang/python/versioned_dependencies.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-nose2/PLIST
diff -u pkgsrc/devel/py-nose2/PLIST:1.5 pkgsrc/devel/py-nose2/PLIST:1.6
--- pkgsrc/devel/py-nose2/PLIST:1.5     Wed Nov  3 09:50:09 2021
+++ pkgsrc/devel/py-nose2/PLIST Tue Apr 30 14:07:48 2024
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.5 2021/11/03 09:50:09 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2024/04/30 14:07:48 wiz Exp $
 bin/nose2-${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}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
+${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}/nose2/__init__.py
 ${PYSITELIB}/nose2/__init__.pyc
 ${PYSITELIB}/nose2/__init__.pyo



Home | Main Index | Thread Index | Old Index