freebsd-ports/textproc/py-texttable/Makefile
Danilo G. Baio e9b9273b87 textproc/py-texttable: Update to 1.5.0
- Create a method for redefining the max_width (#54)
 - Use setuptools instead of distutils to upload metadata to PyPI (#49)
 - Switch to MIT license
2018-11-06 23:39:03 +00:00

33 lines
862 B
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= texttable
PORTVERSION= 1.5.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Module for creating simple ASCII tables
LICENSE= MIT
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cjkwrap>=0:textproc/py-cjkwrap@${PY_FLAVOR}
CJKWRAP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cjkwrap>=0:textproc/py-cjkwrap@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= CJKWRAP
CJKWRAP_DESC= Text Wrapping with better CJK text support
do-test:
@cd ${WRKSRC} && pytest -v --cov-report=term-missing --cov=texttable tests.py
.include <bsd.port.mk>