- multimedia/py-tvnamer seems to fail specifically with python3.X as www/py-tvdb_api was not compatible with python 3.X PR: 243386 Reported by: huber.georg@gmail.com MFH: 2020Q2 (runtime fix) Relnotes: https://github.com/dbr/tvdb_api/releases
27 lines
708 B
Makefile
27 lines
708 B
Makefile
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tvdb_api
|
|
PORTVERSION= 3.0.2
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= API interface to TheTVDB.com
|
|
|
|
LICENSE= UNLICENSE
|
|
LICENSE_FILE= ${WRKSRC}/UNLICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}requests-cache>0:www/py-requests-cache@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|