summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-01-14 12:51:41 +0000
committerJeroen Roovers <jer@gentoo.org>2013-01-14 12:51:41 +0000
commit4a3dd4b3da7f2b7761cbf178963c0bc08b406d62 (patch)
tree4c4fc99c3f3393a40a2848593e5d8d6fd9219da8 /net-misc
parentChange to QA_PREBUILT to suppress more warnings. On-disk binaries will be ide... (diff)
downloadgentoo-2-4a3dd4b3da7f2b7761cbf178963c0bc08b406d62.tar.gz
gentoo-2-4a3dd4b3da7f2b7761cbf178963c0bc08b406d62.tar.bz2
gentoo-2-4a3dd4b3da7f2b7761cbf178963c0bc08b406d62.zip
Version bump.
(Portage version: 2.2.0_alpha151/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/youtube-dl/ChangeLog8
-rw-r--r--net-misc/youtube-dl/files/youtube-dl-2013.01.13-offensive.patch46
-rw-r--r--net-misc/youtube-dl/youtube-dl-2013.01.13.ebuild35
3 files changed, 88 insertions, 1 deletions
diff --git a/net-misc/youtube-dl/ChangeLog b/net-misc/youtube-dl/ChangeLog
index 323b7ad1b01b..c524d7b63f7f 100644
--- a/net-misc/youtube-dl/ChangeLog
+++ b/net-misc/youtube-dl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/youtube-dl
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.135 2013/01/09 15:15:04 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.136 2013/01/14 12:51:41 jer Exp $
+
+*youtube-dl-2013.01.13 (14 Jan 2013)
+
+ 14 Jan 2013; Jeroen Roovers <jer@gentoo.org> +youtube-dl-2013.01.13.ebuild,
+ +files/youtube-dl-2013.01.13-offensive.patch:
+ Version bump.
09 Jan 2013; Jeroen Roovers <jer@gentoo.org> youtube-dl-2013.01.08.ebuild:
Install CHANGELOG.
diff --git a/net-misc/youtube-dl/files/youtube-dl-2013.01.13-offensive.patch b/net-misc/youtube-dl/files/youtube-dl-2013.01.13-offensive.patch
new file mode 100644
index 000000000000..7f79ccc2d778
--- /dev/null
+++ b/net-misc/youtube-dl/files/youtube-dl-2013.01.13-offensive.patch
@@ -0,0 +1,46 @@
+--- a/test/tests.json
++++ b/test/tests.json
+@@ -30,30 +30,6 @@
+ "file": "5779306.m4v"
+ },
+ {
+- "name": "XVideos",
+- "md5": "1d0c835822f0a71a7bf011855db929d0",
+- "url": "http://www.xvideos.com/video939581/funny_porns_by_s_-1",
+- "file": "939581.flv"
+- },
+- {
+- "name": "YouPorn",
+- "md5": "c37ddbaaa39058c76a7e86c6813423c1",
+- "url": "http://www.youporn.com/watch/505835/sex-ed-is-it-safe-to-masturbate-daily/",
+- "file": "505835.mp4"
+- },
+- {
+- "name": "Pornotube",
+- "md5": "374dd6dcedd24234453b295209aa69b6",
+- "url": "http://pornotube.com/c/173/m/1689755/Marilyn-Monroe-Bathing",
+- "file": "1689755.flv"
+- },
+- {
+- "name": "YouJizz",
+- "md5": "07e15fa469ba384c7693fd246905547c",
+- "url": "http://www.youjizz.com/videos/zeichentrick-1-2189178.html",
+- "file": "2189178.flv"
+- },
+- {
+ "name": "Vimeo",
+ "md5": "8879b6cc097e987f02484baf890129e5",
+ "url": "http://vimeo.com/56015672",
+@@ -79,12 +55,6 @@
+ "file": "PracticalUnix_intro-environment.mp4"
+ },
+ {
+- "name": "XNXX",
+- "md5": "0831677e2b4761795f68d417e0b7b445",
+- "url": "http://video.xnxx.com/video1135332/lida_naked_funny_actress_5_",
+- "file": "1135332.flv"
+- },
+- {
+ "name": "Youku",
+ "url": "http://v.youku.com/v_show/id_XNDgyMDQ2NTQw.html",
+ "file": "XNDgyMDQ2NTQw_part00.flv",
diff --git a/net-misc/youtube-dl/youtube-dl-2013.01.13.ebuild b/net-misc/youtube-dl/youtube-dl-2013.01.13.ebuild
new file mode 100644
index 000000000000..152a3eed67aa
--- /dev/null
+++ b/net-misc/youtube-dl/youtube-dl-2013.01.13.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2013.01.13.ebuild,v 1.1 2013/01/14 12:51:41 jer Exp $
+
+EAPI=5
+PYTHON_COMPAT=(python{2_5,2_6,2_7})
+
+inherit bash-completion-r1 eutils python-single-r1
+
+DESCRIPTION="A small command-line program to download videos from YouTube."
+HOMEPAGE="http://rg3.github.com/youtube-dl/"
+SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
+IUSE="offensive test"
+
+DEPEND="test? ( dev-python/nose[coverage] )"
+
+S="${WORKDIR}/${PN}"
+
+src_test() {
+ use offensive || epatch "${FILESDIR}"/${P}-offensive.patch
+ default
+}
+
+src_install() {
+ rm -vf youtube_dl/*.py[co]
+ python_domodule youtube_dl
+ dobin bin/${PN}
+ dodoc CHANGELOG README.txt
+ doman ${PN}.1
+ dobashcomp ${PN}.bash-completion ${PN}
+}