commit:     b167d604f1b7d98b6da1d4a13a73dd28e0e96fc9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 21 07:54:22 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 21 07:54:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b167d604
net-misc/streamlink: add 6.6.2

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

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

diff --git a/net-misc/streamlink/Manifest b/net-misc/streamlink/Manifest
index 80b0d197feba..9ec946a447ce 100644
--- a/net-misc/streamlink/Manifest
+++ b/net-misc/streamlink/Manifest
@@ -1,3 +1,4 @@
 DIST streamlink-6.5.0.tar.gz 715983 BLAKE2B 
f680d034f3f5c66609c1e26f2061f34d6aa8f233d9bb8ac238b675bf12bc69751e48df4f222b7d6f6e25697664afccc01b1fedc14410d5e3a47eaed0ad591af6
 SHA512 
affd45d1b17704768a405b389f9696090917e5cc73b0e22455e7f944eb0798dae7b23f73a728d3641fb43a5104e731816442be0e6f05a04a5bfe132c28d5491c
 DIST streamlink-6.5.1.tar.gz 717297 BLAKE2B 
7f24a9ac2e62ff08d2126e4aceda75cbd46d78de08784336dd3b4d7608cd7885a5dca28bd9dda9f8c217b9cc428f8f50f09d0c45e470e0d3534ecd3effb2a95f
 SHA512 
b31b34a2ef510d47d396b12b770c042bed24ff61835db6a654722803ae94e8371aa547f30bf20d7cf34d737ed9bd59bcea1bb1810e926cfc7ae3fa72f38881d8
 DIST streamlink-6.6.1.tar.gz 736718 BLAKE2B 
62a4f69ca691bd7538223b142161c7e622303a73b58b42dd29346f19c2c2c002b74372a299a1dd2b70835ff059ad04da40c173d3774ec7984a7715a4fda4477e
 SHA512 
78552c0a736d1b27d40af01f545a8c137290ded24f63a89254847f0dd5af80e5dc70736344dc6fec0f5e5af9df71f2c85d2c7b22a56165283e556b2f7cd0ddb6
+DIST streamlink-6.6.2.tar.gz 737076 BLAKE2B 
f1603c292cbb1135534d34b89bad3d859194a9d9b602aafc05e38d901071b77a92fc054387081a4579a4504642d33454427ee239def80a8ec0b50f901dab05ab
 SHA512 
727fbd6bbf03a55a468b625984abe3d7f1792aaab11b2a55d5b0526454cc1959d7bfb3579526eb9e7493a44277302e6f40556f3ad99509751f950d49605b60db

diff --git a/net-misc/streamlink/streamlink-6.6.2.ebuild 
b/net-misc/streamlink/streamlink-6.6.2.ebuild
new file mode 100644
index 000000000000..da450aa9f963
--- /dev/null
+++ b/net-misc/streamlink/streamlink-6.6.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2024 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