Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-dl/
Date: Sun, 18 Nov 2018 01:18:25
Message-Id: 1542503887.4780970c6db8cedfcee662b3f095201f4d7193e2.whissi@gentoo
1 commit: 4780970c6db8cedfcee662b3f095201f4d7193e2
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 18 01:17:07 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 18 01:18:07 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4780970c
7
8 net-misc/youtube-dl: bump to v2018.11.18
9
10 - EAPI bump to EAPI=7
11
12 Package-Manager: Portage-2.3.51, Repoman-2.3.12
13 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
14
15 net-misc/youtube-dl/Manifest | 1 +
16 ...9999999.ebuild => youtube-dl-2018.11.18.ebuild} | 23 +++++++++++-----------
17 net-misc/youtube-dl/youtube-dl-99999999.ebuild | 2 +-
18 3 files changed, 14 insertions(+), 12 deletions(-)
19
20 diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest
21 index bed9a122e42..6a860eb22ff 100644
22 --- a/net-misc/youtube-dl/Manifest
23 +++ b/net-misc/youtube-dl/Manifest
24 @@ -2,3 +2,4 @@ DIST youtube-dl-2017.11.15.tar.gz 2834012 BLAKE2B fd93e3923f99874be58681a886c09e
25 DIST youtube-dl-2018.08.22.tar.gz 3025389 BLAKE2B e8d2d8bccab8c169d08de35544e5efb05c65799c26894807e075edfe090d36de30fea787f54d59e4fc8b671356ce2e1d9002627948fb05becc9d2e3bc634164c SHA512 ef17c744ac27b3bf547124f18a155908a66ee75f3f6fb5d7dd8a1d8da61a5a598bbade6cf0362e8c93c337dcf47750db5f56357919226430f02d0b764011ffb5
26 DIST youtube-dl-2018.10.05.tar.gz 3044157 BLAKE2B c65651eebda6bd9c28245415f7aa804c78a74fa33a9717a3e9589734334ed8d12d5432eadd18d55ee46d4b51b1cacbe458c2ad175ed2e135b838fac54d468192 SHA512 b581372522d467b3277d81bdc9978352c720d4f33e0d8249cd0271eb1814a153324a5b34608d88d392bb52b1c57d0a6f425baf8377d5609810ef770839586714
27 DIST youtube-dl-2018.10.29.tar.gz 3045428 BLAKE2B cf21d3113c07b7d62a373ada4a366fa61231eb8aa7f14192683451c99cf3f4f59d1abc04053359c2c3b40e7f80cfc2c5325f66a1b73196bb561a2244988f5114 SHA512 86f94acc888084348466d8aabc3711f25cbeb28c9a7afe08dcf23034d3b43d0e0a9c58dab60fe9c7eb2ab8ce2e3ce97b849e1eb11f547d173bb25dbb9df1b39f
28 +DIST youtube-dl-2018.11.18.tar.gz 3057924 BLAKE2B eb995cd269c3febcda950d87466df85a31128aaf95dbbd1cb9ee3d329610ffae3194c57f5063b47e49de3e387b5f60a5e10c237dc5d944ce47a6cffacab31935 SHA512 47e503c18f2db948beeda6a61b034953fab61d7d122641be7564a0f6dc0fe66ff93d6ef436c2acbcaf7255248a0b53e4df8c5ed1efca1139dc518a3ffacb737d
29
30 diff --git a/net-misc/youtube-dl/youtube-dl-99999999.ebuild b/net-misc/youtube-dl/youtube-dl-2018.11.18.ebuild
31 similarity index 85%
32 copy from net-misc/youtube-dl/youtube-dl-99999999.ebuild
33 copy to net-misc/youtube-dl/youtube-dl-2018.11.18.ebuild
34 index 62abae9c200..c28ce5a6c07 100644
35 --- a/net-misc/youtube-dl/youtube-dl-99999999.ebuild
36 +++ b/net-misc/youtube-dl/youtube-dl-2018.11.18.ebuild
37 @@ -1,17 +1,17 @@
38 # Copyright 1999-2018 Gentoo Authors
39 # Distributed under the terms of the GNU General Public License v2
40
41 -EAPI=6
42 +EAPI="7"
43 PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
44 -inherit bash-completion-r1 distutils-r1 git-r3 readme.gentoo-r1
45 +inherit bash-completion-r1 distutils-r1 readme.gentoo-r1
46
47 DESCRIPTION="Download videos from YouTube.com (and more sites...)"
48 HOMEPAGE="https://rg3.github.com/youtube-dl/"
49 -EGIT_REPO_URI="https://github.com/rg3/youtube-dl.git"
50 +SRC_URI="https://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
51
52 LICENSE="public-domain"
53 SLOT="0"
54 -KEYWORDS=""
55 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
56 IUSE="+offensive test"
57
58 RDEPEND="
59 @@ -22,6 +22,8 @@ DEPEND="
60 test? ( dev-python/nose[coverage(+)] )
61 "
62
63 +S="${WORKDIR}/${PN}"
64 +
65 python_prepare_all() {
66 if ! use offensive; then
67 sed -i -e "/..version../s|'$|+gentoo.no.offensive.sites'|g" \
68 @@ -70,8 +72,6 @@ python_prepare_all() {
69
70 src_compile() {
71 distutils-r1_src_compile
72 -
73 - emake ${PN}.{bash-completion,fish,zsh}
74 }
75
76 python_test() {
77 @@ -79,15 +79,16 @@ python_test() {
78 }
79
80 python_install_all() {
81 - dodoc README.md
82 + dodoc README.txt
83 + doman ${PN}.1
84
85 newbashcomp ${PN}.bash-completion ${PN}
86
87 insinto /usr/share/zsh/site-functions
88 - newins ${PN}.zsh _${PN}
89 + newins youtube-dl.zsh _youtube-dl
90
91 insinto /usr/share/fish/vendor_completions.d
92 - doins ${PN}.fish
93 + doins youtube-dl.fish
94
95 distutils-r1_python_install_all
96
97 @@ -96,8 +97,8 @@ python_install_all() {
98 }
99
100 pkg_postinst() {
101 - elog "${PN}(1) / https://bugs.gentoo.org/355661 /"
102 - elog "https://github.com/rg3/${PN}/blob/master/README.md#faq :"
103 + elog "youtube-dl(1) / https://bugs.gentoo.org/355661 /"
104 + elog "https://github.com/rg3/youtube-dl/blob/master/README.md#faq :"
105 elog
106 elog "${PN} works fine on its own on most sites. However, if you want"
107 elog "to convert video/audio, you'll need avconf (media-video/libav) or"
108
109 diff --git a/net-misc/youtube-dl/youtube-dl-99999999.ebuild b/net-misc/youtube-dl/youtube-dl-99999999.ebuild
110 index 62abae9c200..4de5d95c46f 100644
111 --- a/net-misc/youtube-dl/youtube-dl-99999999.ebuild
112 +++ b/net-misc/youtube-dl/youtube-dl-99999999.ebuild
113 @@ -1,7 +1,7 @@
114 # Copyright 1999-2018 Gentoo Authors
115 # Distributed under the terms of the GNU General Public License v2
116
117 -EAPI=6
118 +EAPI="7"
119 PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
120 inherit bash-completion-r1 distutils-r1 git-r3 readme.gentoo-r1