/[gentoo-x86]/net-misc/youtube-dl/youtube-dl-2013.01.13.ebuild
Gentoo

Contents of /net-misc/youtube-dl/youtube-dl-2013.01.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (hide annotations) (download)
Sat Mar 23 16:30:47 2013 UTC (6 years, 10 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Old.

(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 jer 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 jer 1.11 # $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2013.01.13.ebuild,v 1.10 2013/03/04 11:23:25 jer Exp $
4 jer 1.1
5     EAPI=5
6     PYTHON_COMPAT=(python{2_5,2_6,2_7})
7    
8     inherit bash-completion-r1 eutils python-single-r1
9    
10 jer 1.10 DESCRIPTION="Download videos from YouTube.com (and mores sites...)"
11 jer 1.1 HOMEPAGE="http://rg3.github.com/youtube-dl/"
12     SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
13    
14     LICENSE="public-domain"
15     SLOT="0"
16 jer 1.9 KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
17 jer 1.1 IUSE="offensive test"
18    
19 jer 1.4 DEPEND="test? ( dev-python/nose[coverage(+)] )"
20 jer 1.1
21     S="${WORKDIR}/${PN}"
22    
23 jer 1.2 src_prepare() {
24 jer 1.1 use offensive || epatch "${FILESDIR}"/${P}-offensive.patch
25     }
26    
27     src_install() {
28     rm -vf youtube_dl/*.py[co]
29     python_domodule youtube_dl
30     dobin bin/${PN}
31     dodoc CHANGELOG README.txt
32     doman ${PN}.1
33     dobashcomp ${PN}.bash-completion ${PN}
34 scarabeus 1.3 python_fix_shebang "${ED}"
35 jer 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20