aboutsummaryrefslogtreecommitdiff
path: root/multimedia/py-tvnamer
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2020-10-11 10:13:16 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2020-10-11 10:13:16 +0000
commit6d2ac836e923d992196f0195fd6089ade674e7f3 (patch)
tree2c371c915fce46a0f876cd85cf8517100a010c20 /multimedia/py-tvnamer
parente2650c46a919c5ebc9a5552a6f3b01248f2b3e18 (diff)
downloadports-6d2ac836e923d992196f0195fd6089ade674e7f3.tar.gz
ports-6d2ac836e923d992196f0195fd6089ade674e7f3.zip
Notes
Diffstat (limited to 'multimedia/py-tvnamer')
-rw-r--r--multimedia/py-tvnamer/Makefile8
-rw-r--r--multimedia/py-tvnamer/distinfo6
2 files changed, 9 insertions, 5 deletions
diff --git a/multimedia/py-tvnamer/Makefile b/multimedia/py-tvnamer/Makefile
index 8b1db2da4669..123e8001fd30 100644
--- a/multimedia/py-tvnamer/Makefile
+++ b/multimedia/py-tvnamer/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= tvnamer
-PORTVERSION= 2.5
-PORTREVISION= 1
+PORTVERSION= 3.0.1
CATEGORIES= multimedia python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,10 +14,15 @@ LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tvdb_api>=1.5:www/py-tvdb_api@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tvdb_api>=1.5:www/py-tvdb_api@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.3:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist flavors
NO_ARCH= yes
+do-test:
+ @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
+
.include <bsd.port.mk>
diff --git a/multimedia/py-tvnamer/distinfo b/multimedia/py-tvnamer/distinfo
index e859e886cf6d..2d7729a3ae85 100644
--- a/multimedia/py-tvnamer/distinfo
+++ b/multimedia/py-tvnamer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1546415920
-SHA256 (tvnamer-2.5.tar.gz) = 75e38454757c77060ad3782bd071682d6d316de86f9aec1c2042d236f93aec7b
-SIZE (tvnamer-2.5.tar.gz) = 46030
+TIMESTAMP = 1602407468
+SHA256 (tvnamer-3.0.1.tar.gz) = 5512cebb1e49103a1e4ea9629398092b4bbabef35a91007ae0dbed961ebe17dd
+SIZE (tvnamer-3.0.1.tar.gz) = 47609