summaryrefslogtreecommitdiff
path: root/net-misc/streamlink
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/streamlink')
-rw-r--r--net-misc/streamlink/Manifest4
-rw-r--r--net-misc/streamlink/streamlink-6.11.0.ebuild76
-rw-r--r--net-misc/streamlink/streamlink-9999.ebuild23
3 files changed, 79 insertions, 24 deletions
diff --git a/net-misc/streamlink/Manifest b/net-misc/streamlink/Manifest
index 43d50f3f5c70..014e990eaddc 100644
--- a/net-misc/streamlink/Manifest
+++ b/net-misc/streamlink/Manifest
@@ -1,6 +1,8 @@
DIST streamlink-6.10.0.tar.gz 759416 BLAKE2B 384d943ff22bc1b351f46022bee99f3749bde48a5af40bb61707bdb26052ec41bd28e76c87dfd9f25c3b279541735dd978cdb75e69dae7cdc0821d7727b1b600 SHA512 39142c01d973a5be76f25fe711f1f36ad2581a0bab0265bc91d44644764b1c15f076809663bc821fd20ced282f5c185af2b6a5b91c12febda82dc03d000c6522
+DIST streamlink-6.11.0.tar.gz 763094 BLAKE2B 7fb0a84088991bc5a7514e0a40d5c05d3a14da5cffbcb255c5e5767fcae8c745a6397cbe79b0b0fd5bebab32b0d8d6c015931af03e6eaa199b5ed9437d0f3a7e SHA512 e6d6e49d2df0aa76ebca76c0b3ada085eac59553423a5ccaa3d5cb62f6be0a679da36c4f78a3e1fea48b22144e705b8de9e46fc146c1c93889ef0c056d59fc7b
DIST streamlink-6.9.0.tar.gz 758696 BLAKE2B 14baa37903c4b3084206a59959e47e5c764603da24084361b76a21d013b833ecb49df7d6baa45eb93f3491469deda828553439cc91a0ba6af07f96ce92c13764 SHA512 7ace33553dfdf7e45642347cc468c746ef9a7e400cd5629e326a93d5c0e57d77da1538b00ebf01665f147d41e5b8cc3de241dcc0b6b1b83329ecfb46950f8d00
EBUILD streamlink-6.10.0.ebuild 3467 BLAKE2B 5e1f975a711b9d90e177c52c586e338d43622f35c8ce792caefdb49f26b31e15e51e721bc996df49dffd9bd1c16683e5fb0793177dceb96fb3b97a591f1936b0 SHA512 23a1e4b25c7284bedbf4f8d2b13bf2795dcb2555a25d33d3f74ca12360bb2fc7b1f8585bed8eef7ee1fa08e347bb5b544bf44cb6a72d95d4e21c7a07078a6666
+EBUILD streamlink-6.11.0.ebuild 2229 BLAKE2B e0982ba66e52e3c9be2b4456ac8f6e7cf8f3e2b4d4f54cd47c559a276821b63950457194df0464081c57b0c1e3ab34646e6bff6ac3b99e1240bcd99e88b89cdc SHA512 4b79b7914a570ad5ea93c501a66a6b68546337c85c7f75750988f3509377712371818b6e10f05e8ffc3d128460e3eeb9d7a1ae3df5de10d85bc6373610134f52
EBUILD streamlink-6.9.0.ebuild 3466 BLAKE2B 0c11aab2c26e524bea908dc18050b35351e341679bf50bfa32042c6b4b9e27f672cb36ac19c3a72ea07419878f97afa437920bdbffecb7f71a6c5d243df31341 SHA512 51066d1acb47c5697577edbc6caef6cf1e0941d2701f60d8b3ea6ef251cc6a863538c904a9e7595fe9554443248dba5f913685b43ffdc516758390bbf4d2d2a1
-EBUILD streamlink-9999.ebuild 3467 BLAKE2B 5e1f975a711b9d90e177c52c586e338d43622f35c8ce792caefdb49f26b31e15e51e721bc996df49dffd9bd1c16683e5fb0793177dceb96fb3b97a591f1936b0 SHA512 23a1e4b25c7284bedbf4f8d2b13bf2795dcb2555a25d33d3f74ca12360bb2fc7b1f8585bed8eef7ee1fa08e347bb5b544bf44cb6a72d95d4e21c7a07078a6666
+EBUILD streamlink-9999.ebuild 2229 BLAKE2B e0982ba66e52e3c9be2b4456ac8f6e7cf8f3e2b4d4f54cd47c559a276821b63950457194df0464081c57b0c1e3ab34646e6bff6ac3b99e1240bcd99e88b89cdc SHA512 4b79b7914a570ad5ea93c501a66a6b68546337c85c7f75750988f3509377712371818b6e10f05e8ffc3d128460e3eeb9d7a1ae3df5de10d85bc6373610134f52
MISC metadata.xml 398 BLAKE2B 43aa67d43256cecb95b788e4bab999f73b7b624fa1af0432aa87ffa94071f09e29eab6733468d6607eeb7aa9f81030610dfbcd849f9cb9196d80181ea5712f74 SHA512 2db05f8a1196e44e632b4ee1d85f804d295eb53141cf176e85cbe90cc30e0fee382a5e798e4cc7fd63557d60687d05a671533c2188a2fcf497f6e95292190149
diff --git a/net-misc/streamlink/streamlink-6.11.0.ebuild b/net-misc/streamlink/streamlink-6.11.0.ebuild
new file mode 100644
index 000000000000..78a98d44f408
--- /dev/null
+++ b/net-misc/streamlink/streamlink-6.11.0.ebuild
@@ -0,0 +1,76 @@
+# 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..13} )
+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/exceptiongroup[${PYTHON_USEDEP}]
+ ' 3.10)
+ $(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-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
diff --git a/net-misc/streamlink/streamlink-9999.ebuild b/net-misc/streamlink/streamlink-9999.ebuild
index 3e4bc7e2f370..78a98d44f408 100644
--- a/net-misc/streamlink/streamlink-9999.ebuild
+++ b/net-misc/streamlink/streamlink-9999.ebuild
@@ -59,7 +59,6 @@ BDEPEND="
>=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}]
)
@@ -75,25 +74,3 @@ if [[ ${PV} == 9999* ]]; then
fi
distutils_enable_tests pytest
-
-python_test() {
- # Skip tests requiring <dev-python/pytest-8.0.0
- # https://github.com/streamlink/streamlink/pull/5901
- EPYTEST_DESELECT+=(
- tests/webbrowser/cdp/test_client.py::TestEvaluate::test_exception
- tests/webbrowser/cdp/test_client.py::TestEvaluate::test_error
- tests/webbrowser/cdp/test_client.py::TestNavigate::test_detach
- tests/webbrowser/cdp/test_client.py::TestNavigate::test_error
- tests/webbrowser/cdp/test_connection.py::TestCreateConnection::test_failure
- tests/webbrowser/cdp/test_connection.py::TestReaderError::test_invalid_json
- tests/webbrowser/cdp/test_connection.py::TestReaderError::test_unknown_session_id
- 'tests/webbrowser/cdp/test_connection.py::TestSend::test_timeout[Default timeout, response not in time]'
- 'tests/webbrowser/cdp/test_connection.py::TestSend::test_timeout[Custom timeout, response not in time]'
- tests/webbrowser/cdp/test_connection.py::TestSend::test_bad_command
- tests/webbrowser/cdp/test_connection.py::TestSend::test_result_exception
- tests/webbrowser/cdp/test_connection.py::TestHandleCmdResponse::test_response_error
- tests/webbrowser/cdp/test_connection.py::TestHandleCmdResponse::test_response_no_result
- )
-
- epytest
-}