Mon Nov 14 18:37:15 2022 UTC ()
py-frozendict: fix build with python 3.11

Do not try building C extension for python 3.11, not
supported yet.


(wiz)
diff -r1.11 -r1.12 pkgsrc/devel/py-frozendict/Makefile
diff -r1.2 -r1.3 pkgsrc/devel/py-frozendict/PLIST

cvs diff -r1.11 -r1.12 pkgsrc/devel/py-frozendict/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-frozendict/Makefile 2022/07/26 08:43:00 1.11
+++ pkgsrc/devel/py-frozendict/Makefile 2022/11/14 18:37:14 1.12
@@ -1,22 +1,34 @@ @@ -1,22 +1,34 @@
1# $NetBSD: Makefile,v 1.11 2022/07/26 08:43:00 adam Exp $ 1# $NetBSD: Makefile,v 1.12 2022/11/14 18:37:14 wiz Exp $
2 2
3DISTNAME= frozendict-2.3.4 3DISTNAME= frozendict-2.3.4
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=f/frozendict/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=f/frozendict/}
7 7
8MAINTAINER= kethzer.dr@gmail.com 8MAINTAINER= kethzer.dr@gmail.com
9HOMEPAGE= https://github.com/slezica/python-frozendict 9HOMEPAGE= https://github.com/slezica/python-frozendict
10COMMENT= Immutable wrapper around dictionaries 10COMMENT= Immutable wrapper around dictionaries
11LICENSE= mit 11LICENSE= mit
12 12
13TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test 13TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
14 14
15PYTHON_VERSIONS_INCOMPATIBLE= 27 15PYTHON_VERSIONS_INCOMPATIBLE= 27
16 16
 17PLIST_VARS= c
 18
 19.include "../../lang/python/pyversion.mk"
 20
 21.if ${PYPKGPREFIX} == "py311"
 22# as of 2.3.4, python 3.11 is not supported
 23# do not build C extension for now
 24PYSETUPARGS= py
 25.else
 26PLIST.c= yes
 27.endif
 28
17DISTUTILS_BUILDDIR_IN_TEST_ENV= yes 29DISTUTILS_BUILDDIR_IN_TEST_ENV= yes
18do-test: 30do-test:
19 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} 31 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
20 32
21.include "../../lang/python/egg.mk" 33.include "../../lang/python/egg.mk"
22.include "../../mk/bsd.pkg.mk" 34.include "../../mk/bsd.pkg.mk"

cvs diff -r1.2 -r1.3 pkgsrc/devel/py-frozendict/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-frozendict/PLIST 2022/01/30 10:56:42 1.2
+++ pkgsrc/devel/py-frozendict/PLIST 2022/11/14 18:37:14 1.3
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.2 2022/01/30 10:56:42 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.3 2022/11/14 18:37:14 wiz Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/top_level.txt 5${PYSITELIB}/${EGG_INFODIR}/top_level.txt
6${PYSITELIB}/frozendict/VERSION 6${PYSITELIB}/frozendict/VERSION
7${PYSITELIB}/frozendict/__init__.py 7${PYSITELIB}/frozendict/__init__.py
8${PYSITELIB}/frozendict/__init__.pyc 8${PYSITELIB}/frozendict/__init__.pyc
9${PYSITELIB}/frozendict/__init__.pyo 9${PYSITELIB}/frozendict/__init__.pyo
10${PYSITELIB}/frozendict/_frozendict.so 10${PLIST.c}${PYSITELIB}/frozendict/_frozendict.so
11${PYSITELIB}/frozendict/core.py 11${PYSITELIB}/frozendict/core.py
12${PYSITELIB}/frozendict/core.pyc 12${PYSITELIB}/frozendict/core.pyc
13${PYSITELIB}/frozendict/core.pyo 13${PYSITELIB}/frozendict/core.pyo
14${PYSITELIB}/frozendict/py.typed 14${PYSITELIB}/frozendict/py.typed