Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/streamlink/
Date: Fri, 19 Aug 2022 22:16:56
Message-Id: 1660947336.3c0643d9df53cf459ec99287ad805d100d3ff55d.sam@gentoo
1 commit: 3c0643d9df53cf459ec99287ad805d100d3ff55d
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 19 22:14:33 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 19 22:15:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c0643d9
7
8 net-misc/streamlink: add 4.3.0
9
10 Closes: https://bugs.gentoo.org/865695
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-misc/streamlink/Manifest | 1 +
14 net-misc/streamlink/metadata.xml | 1 +
15 net-misc/streamlink/streamlink-4.3.0.ebuild | 53 +++++++++++++++++++++++++++++
16 3 files changed, 55 insertions(+)
17
18 diff --git a/net-misc/streamlink/Manifest b/net-misc/streamlink/Manifest
19 index 2b0b7065b924..d503620978ee 100644
20 --- a/net-misc/streamlink/Manifest
21 +++ b/net-misc/streamlink/Manifest
22 @@ -2,4 +2,5 @@ DIST streamlink-1.3.1.tar.gz 695736 BLAKE2B 377fdfb6a90b2e680697dda57b4237a14b63
23 DIST streamlink-2.0.0.tar.gz 497816 BLAKE2B e0d8ebf2ae72bb2dc9c9a22810577a34ae6fe3a81bb75b03f5186c69170b9ed94311c1e018bd2a2a0e9a5fc1d8f8470de431f602bd3c8bb2d215c9c8d87dc867 SHA512 ce8b34670ea991ddd9b86eb4f05233468ad9df7ea743ed047cd2e3de8d0844dcded082df1215273e8a22ac5386dd17f64c80662b80fb8dbfae421b7f18c146d6
24 DIST streamlink-4.1.0.tar.gz 447665 BLAKE2B 18577544c64266bbd013ad90f80b452d0ec8800ba6650acdf30da00997498d3b642873069f64f1445ddfcfdc91d4bd4b64a7f35895ac2685fb01735e7d4f4539 SHA512 f163766bffe079c10cb9f33792ca1e8fa806f46fac64716bada5221f97b6b7b6786f1a218a9ba0ba6ae4eb1b9e5bfc8bf2de1a6b2e5bf9d4c9ba8b11a6a99b9e
25 DIST streamlink-4.2.0.tar.gz 452348 BLAKE2B 9e994f2fd526adc5adbe905da5c628afca747184137a6a2d383e99df1dccedfd257c6f2bf9111839e2dff03a81214306f5e387c64f2a9bbc81410d57e15b69d5 SHA512 fccdf623d7b98f80342115d490b3033a3611b25dd79e8f2b46f6e0469e1d8a6370111d2fc6379425e4fd173babceba6f259aa8025d3007d318b618d34131589c
26 +DIST streamlink-4.3.0.tar.gz 474184 BLAKE2B 557d70105f043fe7454d1c6dd7a49becfd354612df43d09242ec86da5275c7c629f6df887ee7e3a25d9c502e0845f38bece0da2335c5f09951cb4b0aada408a3 SHA512 e1c450d777c00515c07895303dccdece23a8a29b2f9cc272790f5d4b260adbb381845d7ffbc9425e6cee7be41d66158e226d14d08352430bff1c29889b0b0077
27 DIST streamlink.1-2.0.0.man.xz 12956 BLAKE2B e4e24f1f04a4edabcc9973005a1097a6ed0cf450bf65624fee9dee13c39312e96d48a91c5558b5b4f2e1122510ea64d497588c42c1c6f2a83f1bb6fd92843419 SHA512 3d857b953a10a4c4ca9906cd03d170a7b76ecf724c3627571b90fa584c729cce54f492438c7e9aae32fc65b5c0561e0d325b0b1f9bcc69a98bc000b81e5492c9
28
29 diff --git a/net-misc/streamlink/metadata.xml b/net-misc/streamlink/metadata.xml
30 index 2e20e21fed6b..268616b0038a 100644
31 --- a/net-misc/streamlink/metadata.xml
32 +++ b/net-misc/streamlink/metadata.xml
33 @@ -7,5 +7,6 @@
34 </maintainer>
35 <upstream>
36 <remote-id type="github">streamlink/streamlink</remote-id>
37 + <remote-id type="pypi">streamlink</rmeote-id>
38 </upstream>
39 </pkgmetadata>
40
41 diff --git a/net-misc/streamlink/streamlink-4.3.0.ebuild b/net-misc/streamlink/streamlink-4.3.0.ebuild
42 new file mode 100644
43 index 000000000000..26cf80694fbd
44 --- /dev/null
45 +++ b/net-misc/streamlink/streamlink-4.3.0.ebuild
46 @@ -0,0 +1,53 @@
47 +# Copyright 1999-2022 Gentoo Authors
48 +# Distributed under the terms of the GNU General Public License v2
49 +
50 +EAPI=8
51 +
52 +if [[ ${PV} = 9999* ]]; then
53 + EGIT_REPO_URI="https://github.com/streamlink/${PN}.git"
54 + inherit git-r3
55 +fi
56 +
57 +DISTUTILS_SINGLE_IMPL=1
58 +DISTUTILS_USE_PEP517=setuptools
59 +PYTHON_COMPAT=( python3_{8..10} )
60 +PYTHON_REQ_USE='xml(+),threads(+)'
61 +inherit distutils-r1
62 +
63 +DESCRIPTION="CLI for extracting streams from websites to a video player of your choice"
64 +HOMEPAGE="https://streamlink.github.io/"
65 +
66 +if [[ ${PV} != 9999* ]]; then
67 + SRC_URI="https://github.com/streamlink/${PN}/releases/download/${PV}/${P}.tar.gz"
68 + KEYWORDS="~amd64 ~x86"
69 +fi
70 +
71 +LICENSE="BSD-2 Apache-2.0"
72 +SLOT="0"
73 +
74 +DEPEND="
75 + $(python_gen_cond_dep '
76 + >dev-python/requests-2.21.0[${PYTHON_USEDEP}]
77 + dev-python/isodate[${PYTHON_USEDEP}]
78 + >=dev-python/lxml-4.6.4[${PYTHON_USEDEP}]
79 + dev-python/websocket-client[${PYTHON_USEDEP}]
80 + dev-python/pycountry[${PYTHON_USEDEP}]
81 + >=dev-python/pycryptodome-3.4.3[${PYTHON_USEDEP}]
82 + >dev-python/PySocks-1.5.7[${PYTHON_USEDEP}]
83 + >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}]
84 + ')
85 +"
86 +RDEPEND="${DEPEND}
87 + media-video/ffmpeg
88 +"
89 +BDEPEND="
90 + $(python_gen_cond_dep '
91 + >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}]
92 + test? (
93 + dev-python/mock[${PYTHON_USEDEP}]
94 + dev-python/requests-mock[${PYTHON_USEDEP}]
95 + >=dev-python/freezegun-1.0.0[${PYTHON_USEDEP}]
96 + )
97 + ')"
98 +
99 +distutils_enable_tests pytest