pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-acora py-acora: fix build with python 3.11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1113c86d2ea4
branches:  trunk
changeset: 388143:1113c86d2ea4
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Nov 14 14:11:43 2022 +0000

description:
py-acora: fix build with python 3.11

diffstat:

 textproc/py-acora/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r a32c6981a1f7 -r 1113c86d2ea4 textproc/py-acora/Makefile
--- a/textproc/py-acora/Makefile        Mon Nov 14 14:07:34 2022 +0000
+++ b/textproc/py-acora/Makefile        Mon Nov 14 14:11:43 2022 +0000
@@ -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 @@
 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