pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-bintrees



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Nov 14 17:52:19 UTC 2022

Modified Files:
        pkgsrc/devel/py-bintrees: Makefile

Log Message:
py-bintrees: fix build with python 3.11


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-bintrees/Makefile

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-bintrees/Makefile
diff -u pkgsrc/devel/py-bintrees/Makefile:1.6 pkgsrc/devel/py-bintrees/Makefile:1.7
--- pkgsrc/devel/py-bintrees/Makefile:1.6       Tue Jan  4 20:52:52 2022
+++ pkgsrc/devel/py-bintrees/Makefile   Mon Nov 14 17:52:18 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2022/01/04 20:52:52 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2022/11/14 17:52:18 wiz Exp $
 
 DISTNAME=      bintrees-2.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -16,5 +16,10 @@ DEPENDS+=    ${PYPKGPREFIX}-cython-[0-9]*:.
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+# 2.2.0 distfile does not support python 3.11
+post-extract:
+       ${RM} ${WRKSRC}/bintrees/cython_trees.c
+       cd ${WRKSRC} && cythonize-${PYVERSSUFFIX} bintrees
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index