pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-acora



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Nov 14 14:11:43 UTC 2022

Modified Files:
        pkgsrc/textproc/py-acora: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/py-acora/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-acora/Makefile
diff -u pkgsrc/textproc/py-acora/Makefile:1.10 pkgsrc/textproc/py-acora/Makefile:1.11
--- pkgsrc/textproc/py-acora/Makefile:1.10      Tue Jan  4 20:54:51 2022
+++ pkgsrc/textproc/py-acora/Makefile   Mon Nov 14 14:11:43 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/01/04 20:54:51 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/11/14 14:11:43 wiz Exp $
 
 DISTNAME=      acora-2.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,5 +11,12 @@ HOMEPAGE=    https://github.com/scoder/acor
 COMMENT=       Fast multi-keyword search engine for text strings in Python
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
+
+# 2.3 distfile does not support python 3.11
+post-extract:
+       ${RM} ${WRKSRC}/acora/*.c
+       cd ${WRKSRC} && cythonize-${PYVERSSUFFIX} acora
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index