#!/bin/sh
# This is a shell archive
echo x streamlink
mkdir -p streamlink > /dev/null 2>&1
echo x streamlink/pkg-descr
sed 's/^X//' > streamlink/pkg-descr << 'SHAR_END'
XStreamlink is a command-line utility that pipes video streams from various
Xservices into a video player, such as VLC.
X
XThe main purpose of Streamlink is to allow the user to avoid buggy and CPU
Xheavy flash plugins but still be able to enjoy various streamed content.
X
XThere is also an API available for developers who want access to the video
Xstream data.
X
XThis project was forked from Livestreamer, which is no longer maintained.
X
XWWW: https://streamlink.github.io/
SHAR_END
echo x streamlink/Makefile
sed 's/^X//' > streamlink/Makefile << 'SHAR_END'
X# $FreeBSD$
X
XPORTNAME=	streamlink
XPORTVERSION=	1.2.0
XCATEGORIES=	net
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	takefu@airport.fm
XCOMMENT=	Command-line utility that pipes video streams
X
XLICENSE=	BSD2CLAUSE
XLICENSE_FILE=	${WRKSRC}/LICENSE
X
XRUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pip>=6.0.0:devel/py-pip@${PY_FLAVOR}\
X		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}\
X		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}\
X		${PYTHON_PKGNAMEPREFIX}codecov>0:devel/py-codecov@${PY_FLAVOR}\
X		${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR}\
X		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}\
X		${PYTHON_PKGNAMEPREFIX}requests-mock>=0:www/py-requests-mock@${PY_FLAVOR}\
X		${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR}\
X		${PYTHON_PKGNAMEPREFIX}urllib3>=1.21.1:net/py-urllib3@${PY_FLAVOR}\
X		${PYTHON_PKGNAMEPREFIX}iso3166>0:misc/py-iso3166@${PY_FLAVOR}\
X		${PYTHON_PKGNAMEPREFIX}iso-639>0:misc/py-iso-639@${PY_FLAVOR}\
X		${PYTHON_PKGNAMEPREFIX}pycryptodome>=3.4.3:security/py-pycryptodome@${PY_FLAVOR}\
X		${PYTHON_PKGNAMEPREFIX}websocket-client>0:www/py-websocket-client@${PY_FLAVOR}\
X		${PYTHON_PKGNAMEPREFIX}isodate>0:devel/py-isodate@${PY_FLAVOR}
X
XUSES=		python:build,run
X
XUSE_GITHUB=	yes
XUSE_PYTHON=	distutils concurrent autoplist
X
X.include <bsd.port.mk>
SHAR_END
echo x streamlink/distinfo
sed 's/^X//' > streamlink/distinfo << 'SHAR_END'
XTIMESTAMP = 1571101268
XSHA256 (streamlink-streamlink-1.2.0_GH0.tar.gz) = 52858d1090301591874adddcf39653282a0171088f5e7d761d46b588808da47b
XSIZE (streamlink-streamlink-1.2.0_GH0.tar.gz) = 30768898
SHAR_END
exit
