Lines 1-7
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= streamlink |
3 |
PORTNAME= streamlink |
4 |
PORTVERSION= 1.7.0 |
4 |
PORTVERSION= 2.0.0 |
5 |
CATEGORIES= multimedia |
5 |
CATEGORIES= multimedia |
6 |
MASTER_SITES= CHEESESHOP |
6 |
MASTER_SITES= CHEESESHOP |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 25-34
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports>0:devel
Link Here
|
25 |
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ |
25 |
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ |
26 |
${PYTHON_PKGNAMEPREFIX}requests-mock>0:www/py-requests-mock@${PY_FLAVOR} |
26 |
${PYTHON_PKGNAMEPREFIX}requests-mock>0:www/py-requests-mock@${PY_FLAVOR} |
27 |
|
27 |
|
28 |
# The upstream port would in theory support python 2.7, but deprecates use of streamlink |
28 |
USES= python:3.6+ |
29 |
# on it, there are 4 additional RUN_DEPENDS, and also one of the self-tests fails on 2.7 |
|
|
30 |
# but not 3.7, and is encoding-related, so to avoid run-time issues, limit to >= 3.5. |
31 |
USES= python:3.5+ |
32 |
USE_PYTHON= autoplist concurrent distutils |
29 |
USE_PYTHON= autoplist concurrent distutils |
33 |
|
30 |
|
34 |
NO_ARCH= yes |
31 |
NO_ARCH= yes |