Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/streamlink/
Date: Sun, 19 Jan 2020 18:17:03
Message-Id: 1579457796.56b9c37e01b51c02eea8e6993b99c137b683b46b.leio@gentoo
1 commit: 56b9c37e01b51c02eea8e6993b99c137b683b46b
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 19 10:15:30 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 19 18:16:36 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b9c37e
7
8 net-misc/streamlink-9999: make copyable to release versions
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 net-misc/streamlink/streamlink-9999.ebuild | 14 +++++++++++---
14 1 file changed, 11 insertions(+), 3 deletions(-)
15
16 diff --git a/net-misc/streamlink/streamlink-9999.ebuild b/net-misc/streamlink/streamlink-9999.ebuild
17 index 7e262bddb1a..976c7ea53a2 100644
18 --- a/net-misc/streamlink/streamlink-9999.ebuild
19 +++ b/net-misc/streamlink/streamlink-9999.ebuild
20 @@ -3,17 +3,25 @@
21
22 EAPI=6
23
24 +if [[ ${PV} = 9999* ]]; then
25 + EGIT_REPO_URI="https://github.com/streamlink/${PN}.git"
26 + GIT_ECLASS="git-r3"
27 +fi
28 +
29 PYTHON_COMPAT=( python{2_7,3_6} )
30 PYTHON_REQ_USE='xml(+),threads(+)'
31 DISTUTILS_SINGLE_IMPL=1
32
33 -inherit distutils-r1 git-r3
34 +inherit distutils-r1 $GIT_ECLASS
35
36 DESCRIPTION="CLI for extracting streams from websites to a video player of your choice"
37 HOMEPAGE="https://streamlink.github.io/"
38 -EGIT_REPO_URI="https://github.com/${PN}/${PN}"
39
40 -KEYWORDS=""
41 +if [[ ${PV} != 9999* ]]; then
42 + SRC_URI="https://github.com/streamlink/${PN}/releases/download/${PV}/${P}.tar.gz"
43 + KEYWORDS="~amd64 ~x86"
44 +fi
45 +
46 LICENSE="BSD-2 Apache-2.0"
47 SLOT="0"
48 IUSE="doc test"