public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/streamlink/
Date: Sun,  9 Feb 2020 16:47:03 +0000 (UTC)	[thread overview]
Message-ID: <1581266803.268e7267b6975aaefad9af9c93eda3e296cbeddf.mgorny@gentoo> (raw)

commit:     268e7267b6975aaefad9af9c93eda3e296cbeddf
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 06:52:20 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:46:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268e7267

net-misc/streamlink: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...ink-1.3.0.ebuild => streamlink-1.3.0-r1.ebuild} | 42 ++++++++++++----------
 net-misc/streamlink/streamlink-9999.ebuild         | 42 ++++++++++++----------
 2 files changed, 46 insertions(+), 38 deletions(-)

diff --git a/net-misc/streamlink/streamlink-1.3.0.ebuild b/net-misc/streamlink/streamlink-1.3.0-r1.ebuild
similarity index 61%
rename from net-misc/streamlink/streamlink-1.3.0.ebuild
rename to net-misc/streamlink/streamlink-1.3.0-r1.ebuild
index 04417d2b4e7..28994a6a0f8 100644
--- a/net-misc/streamlink/streamlink-1.3.0.ebuild
+++ b/net-misc/streamlink/streamlink-1.3.0-r1.ebuild
@@ -30,31 +30,35 @@ RESTRICT="!test? ( test )"
 
 # >=urllib3-1.23 only needed for python2, but requests pulls some version anyways, so we might as well guarantee at least that ver for py3 too
 DEPEND="
-	virtual/python-futures[${PYTHON_USEDEP}]
-	virtual/python-singledispatch[${PYTHON_USEDEP}]
-	>dev-python/requests-2.21.0[${PYTHON_USEDEP}]
-	>=dev-python/urllib3-1.23[${PYTHON_USEDEP}]
-	dev-python/isodate[${PYTHON_USEDEP}]
-	dev-python/websocket-client[${PYTHON_USEDEP}]
-	dev-python/pycountry[${PYTHON_USEDEP}]
-	>=dev-python/pycryptodome-3.4.3[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		virtual/python-futures[${PYTHON_MULTI_USEDEP}]
+		virtual/python-singledispatch[${PYTHON_MULTI_USEDEP}]
+		>dev-python/requests-2.21.0[${PYTHON_MULTI_USEDEP}]
+		>=dev-python/urllib3-1.23[${PYTHON_MULTI_USEDEP}]
+		dev-python/isodate[${PYTHON_MULTI_USEDEP}]
+		dev-python/websocket-client[${PYTHON_MULTI_USEDEP}]
+		dev-python/pycountry[${PYTHON_MULTI_USEDEP}]
+		>=dev-python/pycryptodome-3.4.3[${PYTHON_MULTI_USEDEP}]
+	')
 "
 RDEPEND="${DEPEND}
 	media-video/rtmpdump
 	virtual/ffmpeg
 "
 BDEPEND="
-	doc? (
-		dev-python/sphinx[${PYTHON_USEDEP}]
-		dev-python/docutils[${PYTHON_USEDEP}]
-		dev-python/recommonmark[${PYTHON_USEDEP}]
-	)
-	test? (
-		dev-python/mock[${PYTHON_USEDEP}]
-		dev-python/requests-mock[${PYTHON_USEDEP}]
-		dev-python/pytest[${PYTHON_USEDEP}]
-		dev-python/freezegun[${PYTHON_USEDEP}]
-	)"
+	$(python_gen_cond_dep '
+		doc? (
+			dev-python/sphinx[${PYTHON_MULTI_USEDEP}]
+			dev-python/docutils[${PYTHON_MULTI_USEDEP}]
+			dev-python/recommonmark[${PYTHON_MULTI_USEDEP}]
+		)
+		test? (
+			dev-python/mock[${PYTHON_MULTI_USEDEP}]
+			dev-python/requests-mock[${PYTHON_MULTI_USEDEP}]
+			dev-python/pytest[${PYTHON_MULTI_USEDEP}]
+			dev-python/freezegun[${PYTHON_MULTI_USEDEP}]
+		)
+	')"
 
 python_configure_all() {
 	# Avoid iso-639, iso3166 dependencies since we use pycountry.

diff --git a/net-misc/streamlink/streamlink-9999.ebuild b/net-misc/streamlink/streamlink-9999.ebuild
index 04417d2b4e7..28994a6a0f8 100644
--- a/net-misc/streamlink/streamlink-9999.ebuild
+++ b/net-misc/streamlink/streamlink-9999.ebuild
@@ -30,31 +30,35 @@ RESTRICT="!test? ( test )"
 
 # >=urllib3-1.23 only needed for python2, but requests pulls some version anyways, so we might as well guarantee at least that ver for py3 too
 DEPEND="
-	virtual/python-futures[${PYTHON_USEDEP}]
-	virtual/python-singledispatch[${PYTHON_USEDEP}]
-	>dev-python/requests-2.21.0[${PYTHON_USEDEP}]
-	>=dev-python/urllib3-1.23[${PYTHON_USEDEP}]
-	dev-python/isodate[${PYTHON_USEDEP}]
-	dev-python/websocket-client[${PYTHON_USEDEP}]
-	dev-python/pycountry[${PYTHON_USEDEP}]
-	>=dev-python/pycryptodome-3.4.3[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		virtual/python-futures[${PYTHON_MULTI_USEDEP}]
+		virtual/python-singledispatch[${PYTHON_MULTI_USEDEP}]
+		>dev-python/requests-2.21.0[${PYTHON_MULTI_USEDEP}]
+		>=dev-python/urllib3-1.23[${PYTHON_MULTI_USEDEP}]
+		dev-python/isodate[${PYTHON_MULTI_USEDEP}]
+		dev-python/websocket-client[${PYTHON_MULTI_USEDEP}]
+		dev-python/pycountry[${PYTHON_MULTI_USEDEP}]
+		>=dev-python/pycryptodome-3.4.3[${PYTHON_MULTI_USEDEP}]
+	')
 "
 RDEPEND="${DEPEND}
 	media-video/rtmpdump
 	virtual/ffmpeg
 "
 BDEPEND="
-	doc? (
-		dev-python/sphinx[${PYTHON_USEDEP}]
-		dev-python/docutils[${PYTHON_USEDEP}]
-		dev-python/recommonmark[${PYTHON_USEDEP}]
-	)
-	test? (
-		dev-python/mock[${PYTHON_USEDEP}]
-		dev-python/requests-mock[${PYTHON_USEDEP}]
-		dev-python/pytest[${PYTHON_USEDEP}]
-		dev-python/freezegun[${PYTHON_USEDEP}]
-	)"
+	$(python_gen_cond_dep '
+		doc? (
+			dev-python/sphinx[${PYTHON_MULTI_USEDEP}]
+			dev-python/docutils[${PYTHON_MULTI_USEDEP}]
+			dev-python/recommonmark[${PYTHON_MULTI_USEDEP}]
+		)
+		test? (
+			dev-python/mock[${PYTHON_MULTI_USEDEP}]
+			dev-python/requests-mock[${PYTHON_MULTI_USEDEP}]
+			dev-python/pytest[${PYTHON_MULTI_USEDEP}]
+			dev-python/freezegun[${PYTHON_MULTI_USEDEP}]
+		)
+	')"
 
 python_configure_all() {
 	# Avoid iso-639, iso3166 dependencies since we use pycountry.


             reply	other threads:[~2020-02-09 16:47 UTC|newest]

Thread overview: 107+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-09 16:47 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-24 16:27 [gentoo-commits] repo/gentoo:master commit in: net-misc/streamlink/ Arthur Zamarin
2024-10-11  2:00 Sam James
2024-10-08 18:38 Sam James
2024-09-22 10:10 Sam James
2024-08-26  6:27 Sam James
2024-07-15  2:45 Sam James
2024-07-15  2:45 Sam James
2024-07-15  0:37 Sam James
2024-06-23  0:27 Sam James
2024-05-28  0:51 Sam James
2024-05-28  0:51 Sam James
2024-04-17 22:01 Sam James
2024-04-15  7:42 Sam James
2024-04-15  6:27 Sam James
2024-03-28  4:47 Sam James
2024-03-24 10:57 Sam James
2024-03-21  2:11 Sam James
2024-03-15  6:24 Sam James
2024-03-04 10:37 Sam James
2024-02-21  7:55 Sam James
2024-02-21  7:55 Sam James
2024-02-18 19:57 Arthur Zamarin
2024-02-18  9:22 Sam James
2024-02-17  5:30 Sam James
2024-01-17  5:26 Sam James
2024-01-17  5:17 Sam James
2024-01-17  5:11 Sam James
2024-01-17  4:45 Sam James
2023-12-28  4:15 Sam James
2023-12-16  6:59 Sam James
2023-11-29  4:54 Sam James
2023-11-25  5:28 Sam James
2023-10-29  4:32 Sam James
2023-10-29  4:32 Sam James
2023-10-25  2:26 Sam James
2023-10-03 23:38 Sam James
2023-09-27  5:09 Sam James
2023-09-15  9:49 Sam James
2023-08-26  5:04 Sam James
2023-08-26  4:28 Sam James
2023-08-05  1:29 Sam James
2023-08-05  1:29 Sam James
2023-07-23 23:55 Sam James
2023-06-10  7:08 Sam James
2023-06-09 13:53 Sam James
2023-05-10 22:18 Sam James
2023-05-05  6:52 Sam James
2023-05-05  6:52 Sam James
2023-05-02 15:21 Arthur Zamarin
2023-04-25 19:49 Sam James
2023-04-13  5:45 Sam James
2023-04-13  4:03 Sam James
2023-02-27 15:34 Sam James
2023-02-23 20:49 Arthur Zamarin
2023-02-23 20:29 Sam James
2023-01-25  7:13 Sam James
2023-01-19  1:35 Sam James
2023-01-16  1:05 Sam James
2023-01-10  5:17 Sam James
2023-01-10  5:17 Sam James
2022-11-15 18:17 Michał Górny
2022-08-19 22:17 Sam James
2022-08-19 22:16 Sam James
2022-07-10 13:01 Sam James
2022-07-09  4:01 Sam James
2022-06-03  8:13 Sam James
2022-06-01 12:04 Jakov Smolić
2022-05-31  6:58 Sam James
2022-05-30 22:53 Sam James
2021-05-23 13:41 Michał Górny
2021-04-03 15:44 Sam James
2021-01-23 19:21 Mart Raudsepp
2021-01-23 19:21 Mart Raudsepp
2020-12-04 11:53 Mart Raudsepp
2020-04-26 11:00 David Seifert
2020-03-16 18:55 Michał Górny
2020-02-22 12:20 Mart Raudsepp
2020-01-19 18:16 Mart Raudsepp
2020-01-19 18:16 Mart Raudsepp
2020-01-19 18:16 Mart Raudsepp
2020-01-19 18:16 Mart Raudsepp
2020-01-19 18:16 Mart Raudsepp
2020-01-19 18:16 Mart Raudsepp
2020-01-19 18:16 Mart Raudsepp
2020-01-19 18:16 Mart Raudsepp
2019-06-26 16:59 Matthew Thode
2019-02-11 19:31 Mart Raudsepp
2018-09-14  8:17 Mart Raudsepp
2018-09-12 18:23 Mart Raudsepp
2018-09-12 18:23 Mart Raudsepp
2018-07-19  9:36 Mart Raudsepp
2018-07-18 21:11 Jonas Stein
2018-03-24 12:07 Michał Górny
2018-03-24 12:07 Michał Górny
2017-12-23 16:52 David Seifert
2017-12-23 16:52 David Seifert
2017-12-23 16:52 David Seifert
2017-11-05 15:37 Patrice Clement
2017-09-02 18:45 Michał Górny
2017-09-02 18:45 Michał Górny
2017-06-14 21:31 Michał Górny
2017-03-16 22:32 Göktürk Yüksek
2017-03-05 18:47 Michał Górny
2017-03-05 14:37 Michał Górny
2017-03-05 14:37 Michał Górny
2016-11-26 12:04 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1581266803.268e7267b6975aaefad9af9c93eda3e296cbeddf.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox