View | Details | Raw Unified | Return to bug 262366 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-29 / +23 lines)
Lines 1-8 Link Here
1
PORTNAME=	streamlink
1
PORTNAME=	streamlink
2
PORTVERSION=	2.1.2
2
PORTVERSION=	5.5.1
3
PORTREVISION=	1
4
CATEGORIES=	multimedia
3
CATEGORIES=	multimedia
5
MASTER_SITES=	PYPI
4
MASTER_SITES=	CHEESESHOP
6
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
6
8
MAINTAINER=	takefu@airport.fm
7
MAINTAINER=	takefu@airport.fm
Lines 12-48 WWW= https://streamlink.github.io/ Link Here
12
LICENSE=	BSD2CLAUSE
11
LICENSE=	BSD2CLAUSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
14
13
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}isodate>0:devel/py-isodate@${PY_FLAVOR} \
14
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=45.0.0:devel/py-setuptools@${PY_FLAVOR}\
16
		${PYTHON_PKGNAMEPREFIX}pycryptodome>=3.4.3:security/py-pycryptodome@${PY_FLAVOR} \
15
		${PYTHON_PKGNAMEPREFIX}versioningit>=2.0.0:devel/py-versioningit@${PY_FLAVOR}\
17
		${PYTHON_PKGNAMEPREFIX}pysocks>0:net/py-pysocks@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
18
		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR}\
19
		${PYTHON_PKGNAMEPREFIX}websocket-client>=0.58.0:www/py-websocket-client@${PY_FLAVOR}
18
		${PYTHON_PKGNAMEPREFIX}country>0:devel/py-country@${PY_FLAVOR}\
20
19
		${PYTHON_PKGNAMEPREFIX}isodate>0:devel/py-isodate@${PY_FLAVOR}\
21
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}backports>0:devel/py-backports@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}lxml>=4.6.4:devel/py-lxml@${PY_FLAVOR}\
22
		${PYTHON_PKGNAMEPREFIX}country>0:devel/py-country@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}pycryptodome>=3.4.3:security/py-pycryptodome@${PY_FLAVOR}\
23
		${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}pysocks>1.5.7:net/py-pysocks@${PY_FLAVOR}\
24
		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}requests>2.26.0:www/py-requests@${PY_FLAVOR}\
25
		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
24
		${PYTHON_PKGNAMEPREFIX}websocket-client>=1.2.1:www/py-websocket-client@${PY_FLAVOR}
25
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}backports>0:devel/py-backports@${PY_FLAVOR}\
26
		${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR}\
27
		${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR}\
28
		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}\
29
		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}\
30
		${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR}\
26
		${PYTHON_PKGNAMEPREFIX}requests-mock>0:www/py-requests-mock@${PY_FLAVOR}
31
		${PYTHON_PKGNAMEPREFIX}requests-mock>0:www/py-requests-mock@${PY_FLAVOR}
27
32
28
USES=		python:3.6+
33
USES=		python:3.7+
29
USE_PYTHON=	autoplist concurrent distutils
34
USE_PYTHON=	autoplist concurrent distutils
30
31
NO_ARCH=	yes
35
NO_ARCH=	yes
32
36
OPTIONS_DEFINE=		FFMPEG RTMPDUMP
33
OPTIONS_DEFINE=		FFMPEG PYCOUNTRY RTMPDUMP
34
OPTIONS_DEFAULT=	FFMPEG RTMPDUMP
37
OPTIONS_DEFAULT=	FFMPEG RTMPDUMP
35
.if !exists(../../textproc/py-iso3166/Makefile)
38
FFMPEG_RUN_DEPENDS=	ffmpeg:multimedia/ffmpeg
36
OPTIONS_DEFAULT+=	PYCOUNTRY
39
RTMPDUMP_RUN_DEPENDS=	rtmpdump:multimedia/rtmpdump
37
.endif
38
PYCOUNTRY_DESC=		Use pycountry instead of py-iso-639 and py-iso3166
39
40
FFMPEG_RUN_DEPENDS=		ffmpeg:multimedia/ffmpeg
41
PYCOUNTRY_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}country>0:devel/py-country@${PY_FLAVOR}
42
PYCOUNTRY_RUN_DEPENDS_OFF=	${PYTHON_PKGNAMEPREFIX}iso-639>0:textproc/py-iso-639@${PY_FLAVOR} \
43
				${PYTHON_PKGNAMEPREFIX}iso3166>0:textproc/py-iso3166@${PY_FLAVOR}
44
PYCOUNTRY_MAKE_ENV=		STREAMLINK_USE_PYCOUNTRY=1
45
RTMPDUMP_RUN_DEPENDS=		rtmpdump:multimedia/rtmpdump
46
40
47
do-test:	.PHONY
41
do-test:	.PHONY
48
		cd ${WRKSRC} && ${SETENV} PYTHONPATH=${WRKSRC}/src ${PYTHON_CMD} -u -m pytest -v -ra \
42
		cd ${WRKSRC} && ${SETENV} PYTHONPATH=${WRKSRC}/src ${PYTHON_CMD} -u -m pytest -v -ra \
(-)./distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1621854352
1
TIMESTAMP = 1683693187
2
SHA256 (streamlink-2.1.2.tar.gz) = 5e3be17673ed6b7da359a4636bd1e6961b4e58acb2dd7d219f9aaab377a4c84d
2
SHA256 (streamlink-5.5.1.tar.gz) = b2b4fe8d6436dbe7bcec78de2d4bb780156388561435b61a1963156e9fc5fbd0
3
SIZE (streamlink-2.1.2.tar.gz) = 509287
3
SIZE (streamlink-5.5.1.tar.gz) = 536064
(-)./pkg-descr (-5 / +5 lines)
Lines 1-10 Link Here
1
Streamlink is a command-line utility that pipes video streams from various
1
Streamlink is a command-line utility which pipes video streams from various
2
services into a video player, such as VLC.
2
services into a video player, such as VLC.
3
3
4
The main purpose of Streamlink is to allow the user to avoid buggy and CPU
4
The main purpose of Streamlink is to avoid resource-heavy and unoptimized
5
heavy flash plugins but still be able to enjoy various streamed content.
5
websites, while still allowing the user to enjoy various streamed content.
6
6
7
There is also an API available for developers who want access to the video
7
There is also an API available for developers who want access to the stream
8
stream data.
8
data.
9
9
10
This project was forked from Livestreamer, which is no longer maintained.
10
This project was forked from Livestreamer, which is no longer maintained.

Return to bug 262366