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.
35 lines
811 B
Makefile
35 lines
811 B
Makefile
# $OpenBSD: Makefile,v 1.2 2019/04/28 20:51:58 sthen Exp $
|
|
|
|
COMMENT = apertium text translation API in Python
|
|
|
|
DISTNAME = apertium-apy-${MODPY_EGG_VERSION}
|
|
|
|
MODPY_EGG_VERSION = 0.11.5
|
|
REVISION = 0
|
|
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = http://wiki.apertium.org/wiki/Apertium-apy
|
|
|
|
MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
|
|
|
|
# GPLv3 only
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = lang/python
|
|
MODPY_PI = Yes
|
|
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
|
|
MODPY_SETUPTOOLS = Yes
|
|
BUILD_DEPENDS = databases/sqlite3 \
|
|
www/py-tornado${MODPY_FLAVOR}
|
|
RUN_DEPENDS = textproc/apertium-lex-tools \
|
|
textproc/apertium-streamparser \
|
|
textproc/py-chardet${MODPY_FLAVOR} \
|
|
textproc/vislcg3 \
|
|
www/py-requests${MODPY_FLAVOR} \
|
|
www/py-tornado${MODPY_FLAVOR}
|
|
|
|
TEST_ENV = LC_ALL=en_US.UTF-8
|
|
|
|
.include <bsd.port.mk>
|