summaryrefslogtreecommitdiff
path: root/textproc/py-acora/Makefile
blob: 4d45dd57e8c1dd24f8ea86d6b8c32209ae4fb4a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: Makefile,v 1.11 2022/11/14 14:11:43 wiz Exp $

DISTNAME=	acora-2.3
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
PKGREVISION=	1
CATEGORIES=	textproc python
MASTER_SITES=	${MASTER_SITE_PYPI:=a/acora/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/scoder/acora
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"