pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-frozendict
Module Name: pkgsrc
Committed By: wiz
Date: Mon Nov 14 18:37:15 UTC 2022
Modified Files:
pkgsrc/devel/py-frozendict: Makefile PLIST
Log Message:
py-frozendict: fix build with python 3.11
Do not try building C extension for python 3.11, not
supported yet.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-frozendict/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-frozendict/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-frozendict/Makefile
diff -u pkgsrc/devel/py-frozendict/Makefile:1.11 pkgsrc/devel/py-frozendict/Makefile:1.12
--- pkgsrc/devel/py-frozendict/Makefile:1.11 Tue Jul 26 08:43:00 2022
+++ pkgsrc/devel/py-frozendict/Makefile Mon Nov 14 18:37:14 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/07/26 08:43:00 adam Exp $
+# $NetBSD: Makefile,v 1.12 2022/11/14 18:37:14 wiz Exp $
DISTNAME= frozendict-2.3.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -14,6 +14,18 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]
PYTHON_VERSIONS_INCOMPATIBLE= 27
+PLIST_VARS= c
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYPKGPREFIX} == "py311"
+# as of 2.3.4, python 3.11 is not supported
+# do not build C extension for now
+PYSETUPARGS= py
+.else
+PLIST.c= yes
+.endif
+
DISTUTILS_BUILDDIR_IN_TEST_ENV= yes
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
Index: pkgsrc/devel/py-frozendict/PLIST
diff -u pkgsrc/devel/py-frozendict/PLIST:1.2 pkgsrc/devel/py-frozendict/PLIST:1.3
--- pkgsrc/devel/py-frozendict/PLIST:1.2 Sun Jan 30 10:56:42 2022
+++ pkgsrc/devel/py-frozendict/PLIST Mon Nov 14 18:37:14 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2022/01/30 10:56:42 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/11/14 18:37:14 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -7,7 +7,7 @@ ${PYSITELIB}/frozendict/VERSION
${PYSITELIB}/frozendict/__init__.py
${PYSITELIB}/frozendict/__init__.pyc
${PYSITELIB}/frozendict/__init__.pyo
-${PYSITELIB}/frozendict/_frozendict.so
+${PLIST.c}${PYSITELIB}/frozendict/_frozendict.so
${PYSITELIB}/frozendict/core.py
${PYSITELIB}/frozendict/core.pyc
${PYSITELIB}/frozendict/core.pyo
Home |
Main Index |
Thread Index |
Old Index