sthen d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00

37 lines
752 B
Makefile

# $OpenBSD: Makefile,v 1.5 2019/04/28 20:51:57 sthen Exp $
COMMENT = snowball stemming algorithms, for information retrieval
MODPY_EGG_VERSION = 1.3.0
REVISION = 3
DISTNAME = PyStemmer-${MODPY_EGG_VERSION}
PKGNAME = py-stemmer-${MODPY_EGG_VERSION}
CATEGORIES = textproc
MAINTAINER = Alexandr Shadchin <shadchin@openbsd.org>
# MIT/BSD
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += ${MODPY_WANTLIB} pthread
MODULES = lang/python
MODPY_PI = Yes
FLAVORS = python3
FLAVOR ?=
# distributed src/Stemmer.c fails with py37; if cython is present it
# will be regenerated at build time
BUILD_DEPENDS = lang/cython${MODPY_FLAVOR}
pre-test:
@${MODPY_CMD} build_ext --inplace
do-test:
cd ${WRKSRC} && ${MODPY_BIN} runtests.py
.include <bsd.port.mk>