From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- net-misc/streamlink/Manifest | 4 +- net-misc/streamlink/streamlink-1.3.0-r1.ebuild | 82 ++++++++++++++++++++++++++ net-misc/streamlink/streamlink-1.3.0.ebuild | 78 ------------------------ net-misc/streamlink/streamlink-9999.ebuild | 42 +++++++------ 4 files changed, 107 insertions(+), 99 deletions(-) create mode 100644 net-misc/streamlink/streamlink-1.3.0-r1.ebuild delete mode 100644 net-misc/streamlink/streamlink-1.3.0.ebuild (limited to 'net-misc/streamlink') diff --git a/net-misc/streamlink/Manifest b/net-misc/streamlink/Manifest index a02bd0c44a8f..d1f78a6ba8b9 100644 --- a/net-misc/streamlink/Manifest +++ b/net-misc/streamlink/Manifest @@ -1,4 +1,4 @@ DIST streamlink-1.3.0.tar.gz 694190 BLAKE2B cd262290cd81f1954567e217eaf9568c00180ee7f6955c8227b7067488d685385fe8b4b3bcd6004e7e8f7f66236696a48e744cb24c4d00f2111f00633ffeb1bf SHA512 5a114e0b1e617b2a41f8fe00f9bd6846843dd7643b4283d2fe30ea869cc9d6f495458b0ddb97955a87b7ad64e5628343262af5068b8a7a19d0d84a32020b3365 -EBUILD streamlink-1.3.0.ebuild 1992 BLAKE2B e39f67d0517b4d7203ab2fcd1c1739eac895b30fe94fd7c3052842253eda5a3cafc39296f8c34fa058a4984f844174e3407648de97bc9f1e035e38178d7e7eb3 SHA512 085b351ba808fe26230468ad3e3c0a3b577fd22e4186f8b9e4d4fd7866fc66d863d0b427a0744c787c1588c0802662d29abf4698e445ab7cbc9c50c071e24250 -EBUILD streamlink-9999.ebuild 1992 BLAKE2B e39f67d0517b4d7203ab2fcd1c1739eac895b30fe94fd7c3052842253eda5a3cafc39296f8c34fa058a4984f844174e3407648de97bc9f1e035e38178d7e7eb3 SHA512 085b351ba808fe26230468ad3e3c0a3b577fd22e4186f8b9e4d4fd7866fc66d863d0b427a0744c787c1588c0802662d29abf4698e445ab7cbc9c50c071e24250 +EBUILD streamlink-1.3.0-r1.ebuild 2159 BLAKE2B 06e4eedee820ca62d69137842c2ef3146c900a6cae3147579603894b29a031893af853132a37ccf31489cb03b110a2f2200f1cbcb1961bc8f428e101976dd699 SHA512 2396dbe90aa88d795fc818ab6e8e31abad0bd527ee848e3ce63f8335cbcad147458911d3284468acf2638701ed9fa8ba365b3547067d8f95684c6baebc215e3e +EBUILD streamlink-9999.ebuild 2159 BLAKE2B 06e4eedee820ca62d69137842c2ef3146c900a6cae3147579603894b29a031893af853132a37ccf31489cb03b110a2f2200f1cbcb1961bc8f428e101976dd699 SHA512 2396dbe90aa88d795fc818ab6e8e31abad0bd527ee848e3ce63f8335cbcad147458911d3284468acf2638701ed9fa8ba365b3547067d8f95684c6baebc215e3e MISC metadata.xml 330 BLAKE2B ad3caca1dc3dd2ea5915a6d14f9741ba7352d8a961939dacf89efdcae0cf1203343ca11ea230efc30cf69d359e09e7cd06218404943f8e4e3853a5c6676f7ff6 SHA512 73730cc94810711b86088a41beba0d0da4f20c4ca377c24122ebeac1ea68e712d03d0e79518df847aa15cb9d8a3f04658715f0b75dfaa1a6dfbedc0a15c33672 diff --git a/net-misc/streamlink/streamlink-1.3.0-r1.ebuild b/net-misc/streamlink/streamlink-1.3.0-r1.ebuild new file mode 100644 index 000000000000..28994a6a0f82 --- /dev/null +++ b/net-misc/streamlink/streamlink-1.3.0-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://github.com/streamlink/${PN}.git" + GIT_ECLASS="git-r3" +fi + +PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_REQ_USE='xml(+),threads(+)' +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 $GIT_ECLASS + +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" +IUSE="doc test" +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=" + $(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=" + $(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. + export STREAMLINK_USE_PYCOUNTRY=1 +} + +python_compile_all() { + use doc && emake -C docs html man +} + +python_test() { + esetup.py test +} + +python_install_all() { + if use doc; then + local HTML_DOCS=( docs/_build/html/. ) + doman docs/_build/man/* + fi + distutils-r1_python_install_all +} diff --git a/net-misc/streamlink/streamlink-1.3.0.ebuild b/net-misc/streamlink/streamlink-1.3.0.ebuild deleted file mode 100644 index 04417d2b4e75..000000000000 --- a/net-misc/streamlink/streamlink-1.3.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="https://github.com/streamlink/${PN}.git" - GIT_ECLASS="git-r3" -fi - -PYTHON_COMPAT=( python3_{6,7} ) -PYTHON_REQ_USE='xml(+),threads(+)' -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 $GIT_ECLASS - -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" -IUSE="doc test" -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}] -" -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_configure_all() { - # Avoid iso-639, iso3166 dependencies since we use pycountry. - export STREAMLINK_USE_PYCOUNTRY=1 -} - -python_compile_all() { - use doc && emake -C docs html man -} - -python_test() { - esetup.py test -} - -python_install_all() { - if use doc; then - local HTML_DOCS=( docs/_build/html/. ) - doman docs/_build/man/* - fi - distutils-r1_python_install_all -} diff --git a/net-misc/streamlink/streamlink-9999.ebuild b/net-misc/streamlink/streamlink-9999.ebuild index 04417d2b4e75..28994a6a0f82 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. -- cgit v1.2.3