commit:     042067e5c344f53d417c5772f97ed676f284d294
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 16 06:58:53 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 16 06:58:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=042067e5

net-misc/streamlink: add 6.5.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/streamlink/Manifest                |  1 +
 net-misc/streamlink/streamlink-6.5.0.ebuild | 74 +++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/net-misc/streamlink/Manifest b/net-misc/streamlink/Manifest
index beee40438f76..9cb87213527d 100644
--- a/net-misc/streamlink/Manifest
+++ b/net-misc/streamlink/Manifest
@@ -1,3 +1,4 @@
 DIST streamlink-6.2.0.tar.gz 690986 BLAKE2B 
5f7cab73ea366580aeb837b8f8a27fa7cd5ca687afa53908900dc9f290a0da916778fda8351acda00f795688b156ca0f37302e67128ce30e9838a45111b88ecd
 SHA512 
2747ebc584caa8ebb2fde5d4f309c911a52fd1a8d2d0e832487e589873c270534e0d0b18120a2db7a68e150e301e57db1e8d63f1d5bb6244f364e9cbd6606213
 DIST streamlink-6.4.1.tar.gz 715775 BLAKE2B 
40b6c080a8fa2815b12562aafde9ce1dd2c8fabe405e21d90fc7767c9e6c085f60c3d0dc9f33c77b85015aa64e2d209464662908674638719581278d128b3f1c
 SHA512 
8886b990637e9f4e87b4fcdc00c2d3e11203746e7256c0d85aee3128f65baaf37ea730c2626c3ec8f0f5ee0042bbd271c4a6290bd346d59915f2f554602f0db4
 DIST streamlink-6.4.2.tar.gz 716194 BLAKE2B 
e66d03ffa97ffdad7ec76532be530ef94ff80838754728aa85f53b0fb778c506d45042b467477eacb72fb9031ffc7d1df727f72af53bfb0201fbad21d28e6763
 SHA512 
b43e65201c16483378b6cb36e9d93f6e64ba0eb37e2554b3e94395b1e30a3422d5d91db0eb6c35166e61f9b1fbce474fa93908545f063a3fb995669989cde274
+DIST streamlink-6.5.0.tar.gz 715983 BLAKE2B 
f680d034f3f5c66609c1e26f2061f34d6aa8f233d9bb8ac238b675bf12bc69751e48df4f222b7d6f6e25697664afccc01b1fedc14410d5e3a47eaed0ad591af6
 SHA512 
affd45d1b17704768a405b389f9696090917e5cc73b0e22455e7f944eb0798dae7b23f73a728d3641fb43a5104e731816442be0e6f05a04a5bfe132c28d5491c

diff --git a/net-misc/streamlink/streamlink-6.5.0.ebuild 
b/net-misc/streamlink/streamlink-6.5.0.ebuild
new file mode 100644
index 000000000000..d73952536218
--- /dev/null
+++ b/net-misc/streamlink/streamlink-6.5.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} = 9999* ]]; then
+       EGIT_REPO_URI="https://github.com/streamlink/${PN}.git";
+       inherit git-r3
+fi
+
+DISTUTILS_SINGLE_IMPL=1
+# >= 6.2.1 uses a bunch of setuptools hooks instead of vanilla setuptools
+# 
https://github.com/streamlink/streamlink/commit/194d9bc193f5285bc1ba33af5fd89209a96ad3a7
+DISTUTILS_USE_PEP517=standalone
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE='xml(+),threads(+)'
+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
+       
SRC_URI="https://github.com/streamlink/${PN}/releases/download/${PV}/${P}.tar.gz";
+fi
+
+LICENSE="BSD-2 Apache-2.0"
+SLOT="0"
+if [[ ${PV} != 9999* ]]; then
+       KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+# See 
https://github.com/streamlink/streamlink/commit/9d8156dd794ee0919297cd90d85bcc11b8a28358
 for chardet/charset-normalizer dep
+RDEPEND="
+       media-video/ffmpeg
+       $(python_gen_cond_dep '
+               dev-python/certifi[${PYTHON_USEDEP}]
+               || (
+                       dev-python/chardet[${PYTHON_USEDEP}]
+                       dev-python/charset-normalizer[${PYTHON_USEDEP}]
+               )
+               >=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
+               dev-python/isodate[${PYTHON_USEDEP}]
+               >=dev-python/lxml-4.6.4[${PYTHON_USEDEP}]
+               >=dev-python/websocket-client-1.2.1[${PYTHON_USEDEP}]
+               dev-python/pycountry[${PYTHON_USEDEP}]
+               >=dev-python/pycryptodome-3.4.3[${PYTHON_USEDEP}]
+               >dev-python/PySocks-1.5.7[${PYTHON_USEDEP}]
+               >=dev-python/trio-0.22.0[${PYTHON_USEDEP}]
+               >=dev-python/trio-websocket-0.9.0[${PYTHON_USEDEP}]
+               >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}]
+       ')
+"
+BDEPEND="
+       $(python_gen_cond_dep '
+               >=dev-python/setuptools-64[${PYTHON_USEDEP}]
+               >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}]
+               test? (
+                       >=dev-python/freezegun-1.0.0[${PYTHON_USEDEP}]
+                       dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+                       dev-python/pytest-trio[${PYTHON_USEDEP}]
+                       dev-python/requests-mock[${PYTHON_USEDEP}]
+               )
+       ')
+"
+
+if [[ ${PV} == 9999* ]]; then
+       RDEPEND+="
+               $(python_gen_cond_dep '
+                       >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}]
+               ')
+       "
+fi
+
+distutils_enable_tests pytest

Reply via email to