aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-texttable
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2018-01-08 22:45:25 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2018-01-08 22:45:25 +0000
commita62144634617d1507fcaed1775e1beb434d602a3 (patch)
tree32a6e2133d24f0caabe52a0aef26c2bb32b52242 /textproc/py-texttable
parent0b5cc2cef77fcc59fefedb7e7216775cc9d29ab1 (diff)
textproc/py-texttable: Update to 1.2.1
Add new (non default) option CJKWRAP, a text wrapping with better Chinese, Japanese and Korean text support. Changes: https://github.com/foutaise/texttable/releases/tag/v1.2.1
Notes
Notes: svn path=/head/; revision=458493
Diffstat (limited to 'textproc/py-texttable')
-rw-r--r--textproc/py-texttable/Makefile11
-rw-r--r--textproc/py-texttable/distinfo6
2 files changed, 12 insertions, 5 deletions
diff --git a/textproc/py-texttable/Makefile b/textproc/py-texttable/Makefile
index cd1776ce6000..376f5c9b2ed5 100644
--- a/textproc/py-texttable/Makefile
+++ b/textproc/py-texttable/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= texttable
-PORTVERSION= 1.1.1
+PORTVERSION= 1.2.1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,12 +14,19 @@ LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cjkwrap>=0:textproc/py-cjkwrap@${FLAVOR}
+
+CJKWRAP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cjkwrap>=0:textproc/py-cjkwrap@${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
diff --git a/textproc/py-texttable/distinfo b/textproc/py-texttable/distinfo
index bc9aecd3688e..2a3b63b41078 100644
--- a/textproc/py-texttable/distinfo
+++ b/textproc/py-texttable/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1509279837
-SHA256 (texttable-1.1.1.tar.gz) = 44674d1d470a9fc264c4d1eba44b74463ca0066d7b954453dd5a4f8057779c9c
-SIZE (texttable-1.1.1.tar.gz) = 11623
+TIMESTAMP = 1515324884
+SHA256 (texttable-1.2.1.tar.gz) = c89dc0148ae29645917aab7e970a30d1af565b3ca276cef8ab1a60469f0d8100
+SIZE (texttable-1.2.1.tar.gz) = 12075