openbsd-ports/www/apertium-apy/Makefile
2022-11-13 15:30:15 +00:00

34 lines
816 B
Makefile

COMMENT = apertium text translation API in Python
DISTNAME = apertium-apy-${MODPY_EGG_VERSION}
# XXX: distfile for version 0.11.6 on pypi is many commits
# behind the github distfile with the same version
MODPY_EGG_VERSION = 0.11.6
REVISION = 6
CATEGORIES = www
HOMEPAGE = http://wiki.apertium.org/wiki/Apertium-apy
MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
# GPLv3 only
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
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>