aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-texttable
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2017-10-15 19:19:45 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2017-10-15 19:19:45 +0000
commit036d5a5aecaff18c3b1cb1eb8ced8ba34e693a75 (patch)
tree1766df48736ce4cc6e95ade420985f2d18dc9056 /textproc/py-texttable
parent06ea87a7419a5b488c35bceba6e6b871d0c0ec01 (diff)
downloadports-036d5a5aecaff18c3b1cb1eb8ced8ba34e693a75.tar.gz
ports-036d5a5aecaff18c3b1cb1eb8ced8ba34e693a75.zip
Notes
Diffstat (limited to 'textproc/py-texttable')
-rw-r--r--textproc/py-texttable/Makefile10
-rw-r--r--textproc/py-texttable/distinfo6
2 files changed, 11 insertions, 5 deletions
diff --git a/textproc/py-texttable/Makefile b/textproc/py-texttable/Makefile
index f82969be23c1..0e8f20cd178f 100644
--- a/textproc/py-texttable/Makefile
+++ b/textproc/py-texttable/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= texttable
-PORTVERSION= 0.9.1
+PORTVERSION= 1.0.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +13,14 @@ COMMENT= Module for creating simple ASCII tables
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/LICENSE
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest \
+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov
+
USES?= python
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+do-test:
+ @cd ${WRKSRC} && pytest -v --cov-report=term-missing --cov=texttable tests.py
+
.include <bsd.port.mk>
diff --git a/textproc/py-texttable/distinfo b/textproc/py-texttable/distinfo
index 0d83fc4eb3ea..88743cb00203 100644
--- a/textproc/py-texttable/distinfo
+++ b/textproc/py-texttable/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1498695619
-SHA256 (texttable-0.9.1.tar.gz) = 119041773ff03596b56392532f9315cb3a3116e404fd6f36e76a7dc088d95c79
-SIZE (texttable-0.9.1.tar.gz) = 11074
+TIMESTAMP = 1508090950
+SHA256 (texttable-1.0.0.tar.gz) = a733f7d90f6dd35d799c4048e3b015fcf95887ef49e0ef65262f90ee6d7abd61
+SIZE (texttable-1.0.0.tar.gz) = 11111