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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Jun 10 20:50:41 2013 UTC (6 years, 8 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Old.

(Portage version: 2.2.0_alpha179/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.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2013.05.10.ebuild,v 1.1 2013/05/13 11:15:20 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     DESCRIPTION="Download videos from YouTube.com (and mores sites...)"
11     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     KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
17     IUSE="offensive test"
18    
19     DEPEND="test? ( dev-python/nose[coverage(+)] )"
20    
21     S="${WORKDIR}/${PN}"
22    
23     src_prepare() {
24     use offensive || epatch "${FILESDIR}"/${PN}-2013.05.10-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     python_fix_shebang "${ED}"
35     }

  ViewVC Help
Powered by ViewVC 1.1.20