pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-sure



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Dec 18 07:30:27 UTC 2023

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

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

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-sure/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-sure/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-sure/Makefile
diff -u pkgsrc/devel/py-sure/Makefile:1.9 pkgsrc/devel/py-sure/Makefile:1.10
--- pkgsrc/devel/py-sure/Makefile:1.9   Tue Feb 14 18:23:40 2023
+++ pkgsrc/devel/py-sure/Makefile       Mon Dec 18 07:30:27 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2023/02/14 18:23:40 adam Exp $
+# $NetBSD: Makefile,v 1.10 2023/12/18 07:30:27 wiz Exp $
 
 DISTNAME=      sure-2.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sure/}
 
@@ -10,24 +11,20 @@ HOMEPAGE=   https://github.com/gabrielfalc
 COMMENT=       Python testing tool
 LICENSE=       gnu-gpl-v3
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 
 USE_LANGUAGES= # none
 
-USE_PKG_RESOURCES=     yes
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-PYTHON_VERSIONED_DEPENDENCIES= test:test
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} sure sure-${PYVERSSUFFIX} || ${TRUE}
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-
-.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-sure/PLIST
diff -u pkgsrc/devel/py-sure/PLIST:1.2 pkgsrc/devel/py-sure/PLIST:1.3
--- pkgsrc/devel/py-sure/PLIST:1.2      Mon Jan 10 16:30:33 2022
+++ pkgsrc/devel/py-sure/PLIST  Mon Dec 18 07:30:27 2023
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2022/01/10 16:30:33 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/12/18 07:30:27 wiz Exp $
 bin/sure-${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}/COPYING
+${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}/sure/__init__.py
 ${PYSITELIB}/sure/__init__.pyc
 ${PYSITELIB}/sure/__init__.pyo



Home | Main Index | Thread Index | Old Index