logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: da4676202ad16ef827bc61d61e198655e591e770
parent 30298d890e8072c30f3d7103d109174c179c52a7
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 13 Jan 2022 18:59:40 +0100

net-misc/streamlink: Bump to 3.0.3

Diffstat:

Anet-misc/streamlink/Manifest1+
Anet-misc/streamlink/streamlink-3.0.3.ebuild58++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+), 0 deletions(-)

diff --git a/net-misc/streamlink/Manifest b/net-misc/streamlink/Manifest @@ -0,0 +1 @@ +DIST streamlink-3.0.3.tar.gz 509953 BLAKE2B 7498abc6f10ae05d52f290d7eebaa47a59d2c5837b07e87c796077380a36ccc5a5d1df961079d72afe602741d9c105b8f3d847ac2ddabce66b59f92da29df427 SHA512 e0032857e7d4f98bcffab5f636ff183acb81bee053d951c4690147358054722f84a1a4ec7fa0539ab66167e9805d19ecfec1fa3afb0be26eb0d3343c4a865280 diff --git a/net-misc/streamlink/streamlink-3.0.3.ebuild b/net-misc/streamlink/streamlink-3.0.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_REQ_USE='xml(+),threads(+)' +DISTUTILS_SINGLE_IMPL=1 +inherit distutils-r1 + +DESCRIPTION="CLI for extracting streams from websites to a video player of your choice" +HOMEPAGE="https://streamlink.github.io/" + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://github.com/streamlink/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/streamlink/${PN}/releases/download/${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD-2 Apache-2.0" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + $(python_gen_cond_dep ' + dev-python/isodate[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6.4[${PYTHON_USEDEP}] + dev-python/pycountry[${PYTHON_USEDEP}] + >=dev-python/pycryptodome-3.4.3[${PYTHON_USEDEP}] + >=dev-python/PySocks-1.5.8[${PYTHON_USEDEP}] + >=dev-python/requests-2.26.0[${PYTHON_USEDEP}] + >=dev-python/websocket-client-1.2.1[${PYTHON_USEDEP}] + ') +" + +RDEPEND="${DEPEND} + media-video/ffmpeg +" + +BDEPEND=" + $(python_gen_cond_dep ' + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + >=dev-python/freezegun-1.0.0[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + ) + ')" + +distutils_enable_tests pytest + +python_configure_all() { + # Avoid iso-639, iso3166 dependencies since we use pycountry. + export STREAMLINK_USE_PYCOUNTRY=1 +}