pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-nose



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr 30 14:45:55 UTC 2024

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

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

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/py-nose/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-nose/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-nose/Makefile
diff -u pkgsrc/devel/py-nose/Makefile:1.23 pkgsrc/devel/py-nose/Makefile:1.24
--- pkgsrc/devel/py-nose/Makefile:1.23  Thu Aug  3 23:38:30 2023
+++ pkgsrc/devel/py-nose/Makefile       Tue Apr 30 14:45:54 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.23 2023/08/03 23:38:30 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2024/04/30 14:45:54 wiz Exp $
 
 DISTNAME=      nose-1.3.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/nose/}
 
@@ -11,11 +11,14 @@ HOMEPAGE=   https://nose.readthedocs.io/
 COMMENT=       Unittest-based testing framework for python
 LICENSE=       gnu-lgpl-v2.1
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+# only needed for a plugin
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+
 USE_LANGUAGES= # none
 
-USE_PKG_RESOURCES=             yes
-# only needed for a plugin
-PYTHON_VERSIONED_DEPENDENCIES+=        coverage:test
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
 
@@ -23,16 +26,8 @@ post-install:
        ${MV} ${DESTDIR}${PREFIX}/bin/nosetests ${DESTDIR}${PREFIX}/bin/nosetests-${PYVERSSUFFIX} || ${TRUE}
        ${MV} ${DESTDIR}${PREFIX}/man/man1/nosetests.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/nosetests${PYVERSSUFFIX}.1
 
-.include "../../lang/python/egg.mk"
-
-.if ${PYTHON_VERSION} == 207
-# only work with python 2.x
-#do-test:
-#      ${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} selftest.py
-.else
 pre-build:
        cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w --no-diffs nose
-.endif
 
-.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-nose/PLIST
diff -u pkgsrc/devel/py-nose/PLIST:1.5 pkgsrc/devel/py-nose/PLIST:1.6
--- pkgsrc/devel/py-nose/PLIST:1.5      Wed Nov 24 11:54:20 2021
+++ pkgsrc/devel/py-nose/PLIST  Tue Apr 30 14:45:55 2024
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.5 2021/11/24 11:54:20 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2024/04/30 14:45:55 wiz Exp $
 bin/nosetests-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${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}/top_level.txt
 ${PYSITELIB}/nose/__init__.py
 ${PYSITELIB}/nose/__init__.pyc
 ${PYSITELIB}/nose/__init__.pyo



Home | Main Index | Thread Index | Old Index