1 |
commit: 9f26206113dabd0031243eff6abe001cfc73879d |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 31 15:38:30 2015 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 31 15:38:50 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f262061 |
7 |
|
8 |
net-misc/youtube-dl: Old. |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-misc/youtube-dl/Manifest | 1 - |
13 |
net-misc/youtube-dl/youtube-dl-2015.12.21.ebuild | 87 ------------------------ |
14 |
2 files changed, 88 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest |
17 |
index ed0f6f3..e769940 100644 |
18 |
--- a/net-misc/youtube-dl/Manifest |
19 |
+++ b/net-misc/youtube-dl/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
DIST youtube-dl-2015.04.03.tar.gz 1472296 SHA256 0521a15a24a9b620728a2f45ea9163ca74660ed443781b6e69b4e06d36d7bf59 SHA512 6b2c85cfa222a31f3462aab583fa98bb92544cd5fb0d395ca0b69a26c24ab174870d02264e058281f09305752d50aa5a06d0d747205499a530b275e3194fc6f9 WHIRLPOOL 391e06ea261f92e03a0b38618307f1c9d53a2dfb9f2062fe0cd3ded1ea0c411033a17ded581616032c74a9e4fb398a57e565bf847196a23a9f89433f861362ae |
22 |
-DIST youtube-dl-2015.12.21.tar.gz 1849071 SHA256 7a61ccbc3cd55e712b2fb94a7dedff5052548bbebab9f8c441feec8a02748d4d SHA512 36ad04ccd539a2c63d39e59444033e3eb8d9e2265b769869e54d598ec4a956e3ede939a23fad6531682d0166869b88fd728368a81064690af3f197a45b92b5aa WHIRLPOOL 561239e3c48e75f1e393961d78aeecc2a45058d56bb42ab07accac1d27793cba90a2729424c63f49c50cf9539f683eed069cbdb7ae2bbd45cf0433bc639660b2 |
23 |
DIST youtube-dl-2015.12.23.tar.gz 1850244 SHA256 fe7088979c78eb900c3db110a577866a01e1dd537cddda25258893f099fff9ba SHA512 e6ca9197b54972ee2a1518c6d76a05c96c0b556a1b0be96bd6fbcf0cccfae4d0555e0aa4c718c6132ca9cb7243f9758b5f28c80be231d702d12a6c32928fb39b WHIRLPOOL fd1dbdb741bc6674b881829b6103b886e0f379b7a5e4d2181f672d445a7a56ceffe6619f114486546e70db3a14b92c7f6ead57586a9d090da77e56d583350b27 |
24 |
DIST youtube-dl-2015.12.29.tar.gz 1863530 SHA256 4ff67c9cb65f36f0409dc2f35953fe1b66164512c06d46ebb345cb8a70e46208 SHA512 15bef247acca28f29c798bda8413155c8985e0f2ffc8be35ec539de95710747c2c6af4304286eebb21cb0d6932d4d0d51f5a0e581d479d9fec5dc930e01b7e6e WHIRLPOOL 2596183f3e3897790964703c2585299d094aa63f9be112549123e56ff9f0c4b2651749b9dd80f066e01d942cd0b884ce7717a3849d67c2d99d6234cb9034c957 |
25 |
|
26 |
diff --git a/net-misc/youtube-dl/youtube-dl-2015.12.21.ebuild b/net-misc/youtube-dl/youtube-dl-2015.12.21.ebuild |
27 |
deleted file mode 100644 |
28 |
index 7c5ab5b..0000000 |
29 |
--- a/net-misc/youtube-dl/youtube-dl-2015.12.21.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,87 +0,0 @@ |
32 |
-# Copyright 1999-2015 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
-# $Id$ |
35 |
- |
36 |
-EAPI=5 |
37 |
- |
38 |
-PYTHON_COMPAT=(python{2_7,3_3,3_4,3_5}) |
39 |
-DISTUTILS_SINGLE_IMPL=true |
40 |
-inherit bash-completion-r1 distutils-r1 eutils |
41 |
- |
42 |
-DESCRIPTION="Download videos from YouTube.com (and more sites...)" |
43 |
-HOMEPAGE="https://rg3.github.com/youtube-dl/" |
44 |
-SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="public-domain" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" |
49 |
-IUSE="offensive test" |
50 |
- |
51 |
-DEPEND=" |
52 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
- test? ( dev-python/nose[coverage(+)] ) |
54 |
-" |
55 |
- |
56 |
-S="${WORKDIR}/${PN}" |
57 |
- |
58 |
-src_prepare() { |
59 |
- if ! use offensive; then |
60 |
- sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \ |
61 |
- youtube_dl/version.py || die |
62 |
- # these have single line import statements |
63 |
- local xxx=( |
64 |
- alphaporno anysex behindkink drtuber eporner eroprofile extremetube |
65 |
- fourtube foxgay goshgay hellporno hentaistigma hornbunny keezmovies |
66 |
- mofosex motherless porn91 pornhd pornotube pornovoisines pornoxo |
67 |
- redtube sexykarma sexu sunporno slutload spankbang spankwire thisav |
68 |
- trutube tube8 vporn xbef xnxx xtube xvideos xxxymovies youjizz |
69 |
- youporn |
70 |
- ) |
71 |
- # these have multi-line import statements |
72 |
- local mxxx=( |
73 |
- pornhub xhamster tnaflix |
74 |
- ) |
75 |
- # do single line imports |
76 |
- sed -i \ |
77 |
- -e $( printf '/%s/d;' ${xxx[@]} ) \ |
78 |
- youtube_dl/extractor/__init__.py \ |
79 |
- || die |
80 |
- |
81 |
- # do multiple line imports |
82 |
- sed -i \ |
83 |
- -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \ |
84 |
- youtube_dl/extractor/__init__.py \ |
85 |
- || die |
86 |
- |
87 |
- sed -i \ |
88 |
- -e $( printf '/%s/d;' ${mxxx[@]} ) \ |
89 |
- youtube_dl/extractor/generic.py \ |
90 |
- youtube_dl/extractor/tumblr.py \ |
91 |
- || die |
92 |
- |
93 |
- rm \ |
94 |
- $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ |
95 |
- $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \ |
96 |
- test/test_age_restriction.py \ |
97 |
- || die |
98 |
- fi |
99 |
- |
100 |
- epatch_user |
101 |
-} |
102 |
- |
103 |
-src_compile() { |
104 |
- distutils-r1_src_compile |
105 |
-} |
106 |
- |
107 |
-src_test() { |
108 |
- emake test |
109 |
-} |
110 |
- |
111 |
-src_install() { |
112 |
- python_domodule youtube_dl |
113 |
- dobin bin/${PN} |
114 |
- dodoc README.txt |
115 |
- doman ${PN}.1 |
116 |
- newbashcomp ${PN}.bash-completion ${PN} |
117 |
- python_fix_shebang "${ED}" |
118 |
-} |