# Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD: head/multimedia/py-tvnamer/Makefile 563017 2021-01-27 00:51:52Z bofh $ PORTNAME= tvnamer PORTVERSION= 3.0.2 CATEGORIES= multimedia python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Automatically names downloaded/recorded TV-episode 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:3.6+ USE_PYTHON= distutils autoplist flavors NO_ARCH= yes do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) .include