1 |
commit: 1946d031ffd66caa2a686d0bbcf9e3ed6f7e4694 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 18 14:12:58 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 18 14:17:26 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1946d031 |
7 |
|
8 |
net-misc/youtube-dl: Old. |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
net-misc/youtube-dl/Manifest | 1 - |
13 |
net-misc/youtube-dl/youtube-dl-2017.04.09.ebuild | 98 ------------------------ |
14 |
2 files changed, 99 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest |
17 |
index 7eb031f3342..41e42f88955 100644 |
18 |
--- a/net-misc/youtube-dl/Manifest |
19 |
+++ b/net-misc/youtube-dl/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
DIST youtube-dl-2017.03.16.tar.gz 2631620 SHA256 55df3cbda9cf86e49baf54040340ec74c692bb3d6da3d2f5a1bc1238017dd492 SHA512 f3b8942f6b2be3b1cfd4bddfb74c17bad48c8ef4bea34114970ecb9d65b5a3dcbe71beba6d7c2dbda168371bbb2e8bbaddce58039bd9d158bf23950a2a88123c WHIRLPOOL 8345da00074e62ec9a9c244cb9ef64930fbd0e5e9e5bc1709bfcf56517cc6312031a09523c3016db2a1542c16a0297bea9d6883a201ae94e347e358307e92422 |
22 |
-DIST youtube-dl-2017.04.09.tar.gz 2669689 SHA256 91bb2147ccf0bf505aeea0107b33b57e7503a6475b521cd0f8b9ea049f6fa22c SHA512 813e9258f8f56f40a3facbb9fac19d3fa8fea43c7842225129cf4c8fd744994d45ef46a54146e8fa5ca3a427301fdcdbcd50bf1ba0f2f914d80a1a93af559384 WHIRLPOOL 8a1d1b0c6fabdbc797a0cb41d02a320bf9a66a99054f619661c5af9aee717add61e51f93149814a5fd396f5e365c666997e63f0c72d0a76914c9d0b9a17904a6 |
23 |
DIST youtube-dl-2017.04.11.tar.gz 2671689 SHA256 4df5af6b3199a93a7e4dc58de0c6da6759b065ceeeaac9470865a5cefdfdc149 SHA512 d831505902f4857a1701cc71286b3ad62e60eeafec3cec3ddde2fe74ff24a826b800146986d47c69bc74b1ef4bb15ae39174e1da34d04b19c859ce4c0f140c5b WHIRLPOOL 91a98c60ac9cb45dbfc3870e81d5d538047763136ba6f99ec21df74b6409f78062546e016cc7c4c5e89cdbcca61788382b783c22f2901dfec228e1edf4892c4b |
24 |
DIST youtube-dl-2017.04.17.tar.gz 2684486 SHA256 326f7ec2e0abe0aada4675987e967120a52ce2599c9b20e0d448de0c9f64302e SHA512 dfe8d762f0fb70dee87cd7156011582ef3cba33ce359a227c8e7e39e76fe51690452b2820e8cd41bf109e19f5e4976c9a2e50cb18533c4161720df0fa858d761 WHIRLPOOL c12269136093ddb2b7e2b9d59bfca2c87f921943b8977c9318400301742208e929f71f3e5bdbb3db9ae08cd7e71ac4dab5f28d2f78e3a855620f0ad06bb8c1b9 |
25 |
|
26 |
diff --git a/net-misc/youtube-dl/youtube-dl-2017.04.09.ebuild b/net-misc/youtube-dl/youtube-dl-2017.04.09.ebuild |
27 |
deleted file mode 100644 |
28 |
index 0527ae290b0..00000000000 |
29 |
--- a/net-misc/youtube-dl/youtube-dl-2017.04.09.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,98 +0,0 @@ |
32 |
-# Copyright 1999-2017 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=5 |
36 |
- |
37 |
-PYTHON_COMPAT=(python{2_7,3_4,3_5}) |
38 |
-inherit bash-completion-r1 distutils-r1 eutils |
39 |
- |
40 |
-DESCRIPTION="Download videos from YouTube.com (and more sites...)" |
41 |
-HOMEPAGE="https://rg3.github.com/youtube-dl/" |
42 |
-SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="public-domain" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" |
47 |
-IUSE="+offensive test" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
-" |
52 |
-DEPEND=" |
53 |
- ${RDEPEND} |
54 |
- test? ( dev-python/nose[coverage(+)] ) |
55 |
-" |
56 |
- |
57 |
-S="${WORKDIR}/${PN}" |
58 |
- |
59 |
-python_prepare_all() { |
60 |
- if ! use offensive; then |
61 |
- sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \ |
62 |
- youtube_dl/version.py || die |
63 |
- # these have single line import statements |
64 |
- local xxx=( |
65 |
- alphaporno anysex behindkink camwithher chaturbate eporner |
66 |
- eroprofile extremetube fourtube foxgay goshgay hellporno |
67 |
- hentaistigma hornbunny keezmovies lovehomeporn mofosex motherless |
68 |
- myvidster porn91 porncom pornflip pornhd pornotube pornovoisines |
69 |
- pornoxo ruleporn sexu slutload spankbang spankwire sunporno thisav |
70 |
- tube8 vporn watchindianporn xbef xnxx xtube xvideos xxxymovies |
71 |
- youjizz youporn |
72 |
- ) |
73 |
- # these have multi-line import statements |
74 |
- local mxxx=( |
75 |
- drtuber pornhub redtube tnaflix xhamster |
76 |
- ) |
77 |
- # do single line imports |
78 |
- sed -i \ |
79 |
- -e $( printf '/%s/d;' ${xxx[@]} ) \ |
80 |
- youtube_dl/extractor/extractors.py \ |
81 |
- || die |
82 |
- |
83 |
- # do multiple line imports |
84 |
- sed -i \ |
85 |
- -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \ |
86 |
- youtube_dl/extractor/extractors.py \ |
87 |
- || die |
88 |
- |
89 |
- sed -i \ |
90 |
- -e $( printf '/%s/d;' ${mxxx[@]} ) \ |
91 |
- youtube_dl/extractor/generic.py \ |
92 |
- || die |
93 |
- |
94 |
- rm \ |
95 |
- $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ |
96 |
- $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \ |
97 |
- test/test_age_restriction.py \ |
98 |
- || die |
99 |
- fi |
100 |
- |
101 |
- epatch_user |
102 |
- |
103 |
- distutils-r1_python_prepare_all |
104 |
-} |
105 |
- |
106 |
-src_compile() { |
107 |
- distutils-r1_src_compile |
108 |
-} |
109 |
- |
110 |
-python_test() { |
111 |
- emake test |
112 |
-} |
113 |
- |
114 |
-python_install_all() { |
115 |
- dodoc README.txt |
116 |
- doman ${PN}.1 |
117 |
- |
118 |
- newbashcomp ${PN}.bash-completion ${PN} |
119 |
- |
120 |
- insinto /usr/share/zsh/site-functions |
121 |
- newins youtube-dl.zsh _youtube-dl |
122 |
- |
123 |
- insinto /usr/share/fish/completions |
124 |
- doins youtube-dl.fish |
125 |
- |
126 |
- distutils-r1_python_install_all |
127 |
- |
128 |
- rm -r "${ED}"/usr/etc || die |
129 |
-} |