svn commit: r452162 - head/textproc/py-texttable
Danilo G. Baio
dbaio at FreeBSD.org
Sun Oct 15 19:19:47 UTC 2017
Author: dbaio
Date: Sun Oct 15 19:19:45 2017
New Revision: 452162
URL: https://svnweb.freebsd.org/changeset/ports/452162
Log:
textproc/py-texttable: Update to 1.0.0
Add Test target.
Allow concurrent installation.
Changes: https://github.com/foutaise/texttable/releases/tag/v1.0.0
Modified:
head/textproc/py-texttable/Makefile
head/textproc/py-texttable/distinfo
Modified: head/textproc/py-texttable/Makefile
==============================================================================
--- head/textproc/py-texttable/Makefile Sun Oct 15 19:04:23 2017 (r452161)
+++ head/textproc/py-texttable/Makefile Sun Oct 15 19:19:45 2017 (r452162)
@@ -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>
Modified: head/textproc/py-texttable/distinfo
==============================================================================
--- head/textproc/py-texttable/distinfo Sun Oct 15 19:04:23 2017 (r452161)
+++ head/textproc/py-texttable/distinfo Sun Oct 15 19:19:45 2017 (r452162)
@@ -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
More information about the svn-ports-head
mailing list