pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-cffi



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov  5 13:44:36 UTC 2023

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

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

Does not support Python 2 any longer.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/devel/py-cffi/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-cffi/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-cffi/Makefile
diff -u pkgsrc/devel/py-cffi/Makefile:1.54 pkgsrc/devel/py-cffi/Makefile:1.55
--- pkgsrc/devel/py-cffi/Makefile:1.54  Wed Oct  4 21:51:44 2023
+++ pkgsrc/devel/py-cffi/Makefile       Sun Nov  5 13:44:36 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.54 2023/10/04 21:51:44 adam Exp $
+# $NetBSD: Makefile,v 1.55 2023/11/05 13:44:36 wiz Exp $
 
 DISTNAME=      cffi-1.16.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cffi/}
 
@@ -10,24 +11,15 @@ HOMEPAGE=   https://cffi.readthedocs.io/
 COMMENT=       Foreign Function Interface for Python calling C code
 LICENSE=       mit
 
-USE_LANGUAGES= c c++ # c++ for testing only
-USE_TOOLS+=    pkg-config
-
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-cparser-[0-9]*:../../devel/py-cparser
 
-PYTHON_VERSIONED_DEPENDENCIES= test:test
-
-DISTUTILS_BUILDDIR_IN_TEST_ENV=        yes
-
-# to avoid py-hypothesis
-TEST_ENV+=     PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-TEST_ENV+=     TMPDIR=${WRKDIR}/tmp
+USE_LANGUAGES= c c++ # c++ for testing only
+USE_TOOLS+=    pkg-config
 
-do-test:
-       ${MKDIR} ${WRKDIR}/tmp
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} testing
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../devel/libffi/buildlink3.mk"
-.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-cffi/PLIST
diff -u pkgsrc/devel/py-cffi/PLIST:1.10 pkgsrc/devel/py-cffi/PLIST:1.11
--- pkgsrc/devel/py-cffi/PLIST:1.10     Sun Oct 29 18:32:21 2023
+++ pkgsrc/devel/py-cffi/PLIST  Sun Nov  5 13:44:36 2023
@@ -1,12 +1,11 @@
-@comment $NetBSD: PLIST,v 1.10 2023/10/29 18:32:21 wiz Exp $
-${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}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.11 2023/11/05 13:44:36 wiz Exp $
 ${PYSITELIB}/_cffi_backend.so
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${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}/cffi/__init__.py
 ${PYSITELIB}/cffi/__init__.pyc
 ${PYSITELIB}/cffi/__init__.pyo
@@ -17,8 +16,8 @@ ${PYSITELIB}/cffi/_imp_emulation.py
 ${PYSITELIB}/cffi/_imp_emulation.pyc
 ${PYSITELIB}/cffi/_imp_emulation.pyo
 ${PYSITELIB}/cffi/_shimmed_dist_utils.py
-${PLIST.py3x}${PYSITELIB}/cffi/_shimmed_dist_utils.pyc
-${PLIST.py3x}${PYSITELIB}/cffi/_shimmed_dist_utils.pyo
+${PYSITELIB}/cffi/_shimmed_dist_utils.pyc
+${PYSITELIB}/cffi/_shimmed_dist_utils.pyo
 ${PYSITELIB}/cffi/api.py
 ${PYSITELIB}/cffi/api.pyc
 ${PYSITELIB}/cffi/api.pyo



Home | Main Index | Thread Index | Old Index