diff options
author | Sam James <sam@gentoo.org> | 2022-07-09 04:52:01 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-09 04:52:01 +0100 |
commit | efd5aadd833ed242e9c342dc2c05c26458809897 (patch) | |
tree | a3b398a51be9c37667b94e4faf2df887e3251bc5 /net-misc/streamlink | |
parent | sys-devel/crossdev: add 20220709 (diff) | |
download | gentoo-efd5aadd833ed242e9c342dc2c05c26458809897.tar.gz gentoo-efd5aadd833ed242e9c342dc2c05c26458809897.tar.bz2 gentoo-efd5aadd833ed242e9c342dc2c05c26458809897.zip |
net-misc/streamlink: add 4.2.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/streamlink')
-rw-r--r-- | net-misc/streamlink/Manifest | 1 | ||||
-rw-r--r-- | net-misc/streamlink/streamlink-4.2.0.ebuild | 58 | ||||
-rw-r--r-- | net-misc/streamlink/streamlink-9999.ebuild | 6 |
3 files changed, 62 insertions, 3 deletions
diff --git a/net-misc/streamlink/Manifest b/net-misc/streamlink/Manifest index c9c21327163b..2b0b7065b924 100644 --- a/net-misc/streamlink/Manifest +++ b/net-misc/streamlink/Manifest @@ -1,4 +1,5 @@ DIST streamlink-1.3.1.tar.gz 695736 BLAKE2B 377fdfb6a90b2e680697dda57b4237a14b63df1e33af5fcbf8333ebd3bc85f877e0e3c4698ab965d766560234cc0ddb7399c8b43eac1b3bbbc4984bfd2ed2194 SHA512 d6c299c6ea444d5b5956a752be8a5c192ca2aae25087db4045035c53fa078396b1bf89203cd55a82630c33492117323892caa5cf27c9dc9ea4b64602dbfdd87c DIST streamlink-2.0.0.tar.gz 497816 BLAKE2B e0d8ebf2ae72bb2dc9c9a22810577a34ae6fe3a81bb75b03f5186c69170b9ed94311c1e018bd2a2a0e9a5fc1d8f8470de431f602bd3c8bb2d215c9c8d87dc867 SHA512 ce8b34670ea991ddd9b86eb4f05233468ad9df7ea743ed047cd2e3de8d0844dcded082df1215273e8a22ac5386dd17f64c80662b80fb8dbfae421b7f18c146d6 DIST streamlink-4.1.0.tar.gz 447665 BLAKE2B 18577544c64266bbd013ad90f80b452d0ec8800ba6650acdf30da00997498d3b642873069f64f1445ddfcfdc91d4bd4b64a7f35895ac2685fb01735e7d4f4539 SHA512 f163766bffe079c10cb9f33792ca1e8fa806f46fac64716bada5221f97b6b7b6786f1a218a9ba0ba6ae4eb1b9e5bfc8bf2de1a6b2e5bf9d4c9ba8b11a6a99b9e +DIST streamlink-4.2.0.tar.gz 452348 BLAKE2B 9e994f2fd526adc5adbe905da5c628afca747184137a6a2d383e99df1dccedfd257c6f2bf9111839e2dff03a81214306f5e387c64f2a9bbc81410d57e15b69d5 SHA512 fccdf623d7b98f80342115d490b3033a3611b25dd79e8f2b46f6e0469e1d8a6370111d2fc6379425e4fd173babceba6f259aa8025d3007d318b618d34131589c DIST streamlink.1-2.0.0.man.xz 12956 BLAKE2B e4e24f1f04a4edabcc9973005a1097a6ed0cf450bf65624fee9dee13c39312e96d48a91c5558b5b4f2e1122510ea64d497588c42c1c6f2a83f1bb6fd92843419 SHA512 3d857b953a10a4c4ca9906cd03d170a7b76ecf724c3627571b90fa584c729cce54f492438c7e9aae32fc65b5c0561e0d325b0b1f9bcc69a98bc000b81e5492c9 diff --git a/net-misc/streamlink/streamlink-4.2.0.ebuild b/net-misc/streamlink/streamlink-4.2.0.ebuild new file mode 100644 index 000000000000..feeef4b0e03c --- /dev/null +++ b/net-misc/streamlink/streamlink-4.2.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 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 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +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" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD-2 Apache-2.0" +SLOT="0" + +DEPEND=" + $(python_gen_cond_dep ' + >dev-python/requests-2.21.0[${PYTHON_USEDEP}] + dev-python/isodate[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6.4[${PYTHON_USEDEP}] + dev-python/websocket-client[${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/versioningit-2.0.0[${PYTHON_USEDEP}] + ') +" +RDEPEND="${DEPEND} + media-video/ffmpeg +" +BDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + >=dev-python/freezegun-1.0.0[${PYTHON_USEDEP}] + ) + ')" + +distutils_enable_tests pytest + +python_configure_all() { + # Avoid iso-639, iso3166 dependencies since we use pycountry. + export STREAMLINK_USE_PYCOUNTRY=1 +} diff --git a/net-misc/streamlink/streamlink-9999.ebuild b/net-misc/streamlink/streamlink-9999.ebuild index 1f654f0ef9f0..feeef4b0e03c 100644 --- a/net-misc/streamlink/streamlink-9999.ebuild +++ b/net-misc/streamlink/streamlink-9999.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="https://streamlink.github.io/" if [[ ${PV} != 9999* ]]; then SRC_URI="https://github.com/streamlink/${PN}/releases/download/${PV}/${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~x86" fi LICENSE="BSD-2 Apache-2.0" @@ -34,7 +34,7 @@ DEPEND=" dev-python/pycountry[${PYTHON_USEDEP}] >=dev-python/pycryptodome-3.4.3[${PYTHON_USEDEP}] >dev-python/PySocks-1.5.7[${PYTHON_USEDEP}] - >=dev-python/versioningit-1.1.1[${PYTHON_USEDEP}] + >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}] ') " RDEPEND="${DEPEND} @@ -42,7 +42,7 @@ RDEPEND="${DEPEND} " BDEPEND=" $(python_gen_cond_dep ' - dev-python/versioningit[${PYTHON_USEDEP}] + >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}] test? ( dev-python/mock[${PYTHON_USEDEP}] dev-python/requests-mock[${PYTHON_USEDEP}] |