diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-03-13 16:06:33 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-03-13 16:06:33 +0000 |
commit | 5d9d2f03955d42fdb96c5685616cfe57afbaaf91 (patch) | |
tree | 4f9d7dace9471b0e324aad32a7106679a6720a77 /net-misc | |
parent | Revision bump adds backported upstream patch by Michael Palimaka <kensington@... (diff) | |
download | gentoo-2-5d9d2f03955d42fdb96c5685616cfe57afbaaf91.tar.gz gentoo-2-5d9d2f03955d42fdb96c5685616cfe57afbaaf91.tar.bz2 gentoo-2-5d9d2f03955d42fdb96c5685616cfe57afbaaf91.zip |
Add a suffix to the internal package version when USE=-offensive.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/youtube-dl/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2013.12.20.ebuild | 4 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2014.02.10.ebuild | 4 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2014.02.13.ebuild | 54 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2014.02.17.ebuild | 54 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2014.02.21.ebuild | 54 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2014.02.22.ebuild | 54 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2014.02.24.ebuild | 54 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2014.02.26.ebuild | 54 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2014.02.28.ebuild | 54 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2014.03.03.ebuild | 54 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2014.03.07.1.ebuild | 54 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2014.03.10.ebuild | 4 | ||||
-rw-r--r-- | net-misc/youtube-dl/youtube-dl-2014.03.12.ebuild | 4 |
14 files changed, 22 insertions, 491 deletions
diff --git a/net-misc/youtube-dl/ChangeLog b/net-misc/youtube-dl/ChangeLog index 1b465a03bacc..f314b9e01208 100644 --- a/net-misc/youtube-dl/ChangeLog +++ b/net-misc/youtube-dl/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-misc/youtube-dl # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.315 2014/03/13 15:26:55 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/ChangeLog,v 1.316 2014/03/13 16:06:33 jer Exp $ + + 13 Mar 2014; Jeroen Roovers <jer@gentoo.org> youtube-dl-2013.12.20.ebuild, + youtube-dl-2014.02.10.ebuild, -youtube-dl-2014.02.13.ebuild, + -youtube-dl-2014.02.17.ebuild, -youtube-dl-2014.02.21.ebuild, + -youtube-dl-2014.02.22.ebuild, -youtube-dl-2014.02.24.ebuild, + -youtube-dl-2014.02.26.ebuild, -youtube-dl-2014.02.28.ebuild, + -youtube-dl-2014.03.03.ebuild, -youtube-dl-2014.03.07.1.ebuild, + youtube-dl-2014.03.10.ebuild, youtube-dl-2014.03.12.ebuild: + Add a suffix to the internal package version when USE=-offensive. *youtube-dl-2014.03.12 (13 Mar 2014) diff --git a/net-misc/youtube-dl/youtube-dl-2013.12.20.ebuild b/net-misc/youtube-dl/youtube-dl-2013.12.20.ebuild index 1100474a4260..6ef57c1e6731 100644 --- a/net-misc/youtube-dl/youtube-dl-2013.12.20.ebuild +++ b/net-misc/youtube-dl/youtube-dl-2013.12.20.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 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.12.20.ebuild,v 1.6 2014/01/19 10:16:39 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2013.12.20.ebuild,v 1.7 2014/03/13 16:06:33 jer Exp $ EAPI=5 @@ -26,6 +26,8 @@ S="${WORKDIR}/${PN}" src_prepare() { if ! use offensive; then + sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \ + youtube_dl/version.py || die local xxx=( extremetube mofosex pornhd pornhub pornotube redtube spankwire thisav tube8 xhamster xnxx xtube xvideos youjizz youporn diff --git a/net-misc/youtube-dl/youtube-dl-2014.02.10.ebuild b/net-misc/youtube-dl/youtube-dl-2014.02.10.ebuild index fdb647fd0391..f4e9a903d20f 100644 --- a/net-misc/youtube-dl/youtube-dl-2014.02.10.ebuild +++ b/net-misc/youtube-dl/youtube-dl-2014.02.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.02.10.ebuild,v 1.5 2014/03/05 16:11:35 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.02.10.ebuild,v 1.6 2014/03/13 16:06:33 jer Exp $ EAPI=5 @@ -26,6 +26,8 @@ S="${WORKDIR}/${PN}" src_prepare() { if ! use offensive; then + sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \ + youtube_dl/version.py || die local xxx=( extremetube mofosex pornhd pornhub pornotube redtube spankwire thisav tube8 xhamster xnxx xtube xvideos youjizz youporn diff --git a/net-misc/youtube-dl/youtube-dl-2014.02.13.ebuild b/net-misc/youtube-dl/youtube-dl-2014.02.13.ebuild deleted file mode 100644 index 8aa821611887..000000000000 --- a/net-misc/youtube-dl/youtube-dl-2014.02.13.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.02.13.ebuild,v 1.1 2014/02/14 14:21:36 jer Exp $ - -EAPI=5 - -PYTHON_COMPAT=(python{2_6,2_7,3_3}) -DISTUTILS_SINGLE_IMPL=true -inherit bash-completion-r1 distutils-r1 eutils - -DESCRIPTION="Download videos from YouTube.com (and mores sites...)" -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 ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" -IUSE="offensive test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[coverage(+)] ) -" - -S="${WORKDIR}/${PN}" - -src_prepare() { - if ! use offensive; then - local xxx=( - extremetube mofosex pornhd pornhub pornotube redtube spankwire - thisav tube8 xhamster xnxx xtube xvideos youjizz youporn - ) - sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die - rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ - test/test_age_restriction.py || die - fi -} - -src_compile() { - distutils-r1_src_compile -} - -src_test() { - emake test -} - -src_install() { - python_domodule youtube_dl - dobin bin/${PN} - dodoc CHANGELOG README.txt - doman ${PN}.1 - newbashcomp ${PN}.bash-completion ${PN} - python_fix_shebang "${ED}" -} diff --git a/net-misc/youtube-dl/youtube-dl-2014.02.17.ebuild b/net-misc/youtube-dl/youtube-dl-2014.02.17.ebuild deleted file mode 100644 index 00ca8450dad8..000000000000 --- a/net-misc/youtube-dl/youtube-dl-2014.02.17.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.02.17.ebuild,v 1.1 2014/02/17 14:21:40 jer Exp $ - -EAPI=5 - -PYTHON_COMPAT=(python{2_6,2_7,3_3}) -DISTUTILS_SINGLE_IMPL=true -inherit bash-completion-r1 distutils-r1 eutils - -DESCRIPTION="Download videos from YouTube.com (and mores sites...)" -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 ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" -IUSE="offensive test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[coverage(+)] ) -" - -S="${WORKDIR}/${PN}" - -src_prepare() { - if ! use offensive; then - local xxx=( - extremetube fourtube mofosex pornhd pornhub pornotube redtube - spankwire thisav tube8 xhamster xnxx xtube xvideos youjizz youporn - ) - sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die - rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ - test/test_age_restriction.py || die - fi -} - -src_compile() { - distutils-r1_src_compile -} - -src_test() { - emake test -} - -src_install() { - python_domodule youtube_dl - dobin bin/${PN} - dodoc CHANGELOG README.txt - doman ${PN}.1 - newbashcomp ${PN}.bash-completion ${PN} - python_fix_shebang "${ED}" -} diff --git a/net-misc/youtube-dl/youtube-dl-2014.02.21.ebuild b/net-misc/youtube-dl/youtube-dl-2014.02.21.ebuild deleted file mode 100644 index c58959a058a9..000000000000 --- a/net-misc/youtube-dl/youtube-dl-2014.02.21.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.02.21.ebuild,v 1.1 2014/02/21 14:51:47 jer Exp $ - -EAPI=5 - -PYTHON_COMPAT=(python{2_6,2_7,3_3}) -DISTUTILS_SINGLE_IMPL=true -inherit bash-completion-r1 distutils-r1 eutils - -DESCRIPTION="Download videos from YouTube.com (and mores sites...)" -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 ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" -IUSE="offensive test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[coverage(+)] ) -" - -S="${WORKDIR}/${PN}" - -src_prepare() { - if ! use offensive; then - local xxx=( - extremetube fourtube mofosex pornhd pornhub pornotube redtube - spankwire thisav tube8 xhamster xnxx xtube xvideos youjizz youporn - ) - sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die - rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ - test/test_age_restriction.py || die - fi -} - -src_compile() { - distutils-r1_src_compile -} - -src_test() { - emake test -} - -src_install() { - python_domodule youtube_dl - dobin bin/${PN} - dodoc CHANGELOG README.txt - doman ${PN}.1 - newbashcomp ${PN}.bash-completion ${PN} - python_fix_shebang "${ED}" -} diff --git a/net-misc/youtube-dl/youtube-dl-2014.02.22.ebuild b/net-misc/youtube-dl/youtube-dl-2014.02.22.ebuild deleted file mode 100644 index 1c358ec6744d..000000000000 --- a/net-misc/youtube-dl/youtube-dl-2014.02.22.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.02.22.ebuild,v 1.1 2014/02/22 15:35:24 jer Exp $ - -EAPI=5 - -PYTHON_COMPAT=(python{2_6,2_7,3_3}) -DISTUTILS_SINGLE_IMPL=true -inherit bash-completion-r1 distutils-r1 eutils - -DESCRIPTION="Download videos from YouTube.com (and mores sites...)" -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 ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" -IUSE="offensive test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[coverage(+)] ) -" - -S="${WORKDIR}/${PN}" - -src_prepare() { - if ! use offensive; then - local xxx=( - extremetube fourtube mofosex pornhd pornhub pornotube redtube - spankwire thisav trutube tube8 xhamster xnxx xtube xvideos youjizz youporn - ) - sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die - rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ - test/test_age_restriction.py || die - fi -} - -src_compile() { - distutils-r1_src_compile -} - -src_test() { - emake test -} - -src_install() { - python_domodule youtube_dl - dobin bin/${PN} - dodoc CHANGELOG README.txt - doman ${PN}.1 - newbashcomp ${PN}.bash-completion ${PN} - python_fix_shebang "${ED}" -} diff --git a/net-misc/youtube-dl/youtube-dl-2014.02.24.ebuild b/net-misc/youtube-dl/youtube-dl-2014.02.24.ebuild deleted file mode 100644 index a4b006f92ceb..000000000000 --- a/net-misc/youtube-dl/youtube-dl-2014.02.24.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.02.24.ebuild,v 1.1 2014/02/24 12:14:26 jer Exp $ - -EAPI=5 - -PYTHON_COMPAT=(python{2_6,2_7,3_3}) -DISTUTILS_SINGLE_IMPL=true -inherit bash-completion-r1 distutils-r1 eutils - -DESCRIPTION="Download videos from YouTube.com (and mores sites...)" -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 ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" -IUSE="offensive test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[coverage(+)] ) -" - -S="${WORKDIR}/${PN}" - -src_prepare() { - if ! use offensive; then - local xxx=( - extremetube fourtube mofosex pornhd pornhub pornotube redtube - spankwire thisav trutube tube8 xhamster xnxx xtube xvideos youjizz youporn - ) - sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die - rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ - test/test_age_restriction.py || die - fi -} - -src_compile() { - distutils-r1_src_compile -} - -src_test() { - emake test -} - -src_install() { - python_domodule youtube_dl - dobin bin/${PN} - dodoc CHANGELOG README.txt - doman ${PN}.1 - newbashcomp ${PN}.bash-completion ${PN} - python_fix_shebang "${ED}" -} diff --git a/net-misc/youtube-dl/youtube-dl-2014.02.26.ebuild b/net-misc/youtube-dl/youtube-dl-2014.02.26.ebuild deleted file mode 100644 index 8b1ac6f1cf54..000000000000 --- a/net-misc/youtube-dl/youtube-dl-2014.02.26.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.02.26.ebuild,v 1.1 2014/02/26 19:26:03 jer Exp $ - -EAPI=5 - -PYTHON_COMPAT=(python{2_6,2_7,3_3}) -DISTUTILS_SINGLE_IMPL=true -inherit bash-completion-r1 distutils-r1 eutils - -DESCRIPTION="Download videos from YouTube.com (and mores sites...)" -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 ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" -IUSE="offensive test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[coverage(+)] ) -" - -S="${WORKDIR}/${PN}" - -src_prepare() { - if ! use offensive; then - local xxx=( - extremetube fourtube mofosex pornhd pornhub pornotube redtube - spankwire thisav trutube tube8 xhamster xnxx xtube xvideos youjizz youporn - ) - sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die - rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ - test/test_age_restriction.py || die - fi -} - -src_compile() { - distutils-r1_src_compile -} - -src_test() { - emake test -} - -src_install() { - python_domodule youtube_dl - dobin bin/${PN} - dodoc CHANGELOG README.txt - doman ${PN}.1 - newbashcomp ${PN}.bash-completion ${PN} - python_fix_shebang "${ED}" -} diff --git a/net-misc/youtube-dl/youtube-dl-2014.02.28.ebuild b/net-misc/youtube-dl/youtube-dl-2014.02.28.ebuild deleted file mode 100644 index 2e030818fe01..000000000000 --- a/net-misc/youtube-dl/youtube-dl-2014.02.28.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.02.28.ebuild,v 1.1 2014/02/28 16:24:39 jer Exp $ - -EAPI=5 - -PYTHON_COMPAT=(python{2_6,2_7,3_3}) -DISTUTILS_SINGLE_IMPL=true -inherit bash-completion-r1 distutils-r1 eutils - -DESCRIPTION="Download videos from YouTube.com (and mores sites...)" -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 ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" -IUSE="offensive test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[coverage(+)] ) -" - -S="${WORKDIR}/${PN}" - -src_prepare() { - if ! use offensive; then - local xxx=( - extremetube fourtube mofosex pornhd pornhub pornotube redtube - spankwire thisav trutube tube8 xhamster xnxx xtube xvideos youjizz youporn - ) - sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die - rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ - test/test_age_restriction.py || die - fi -} - -src_compile() { - distutils-r1_src_compile -} - -src_test() { - emake test -} - -src_install() { - python_domodule youtube_dl - dobin bin/${PN} - dodoc CHANGELOG README.txt - doman ${PN}.1 - newbashcomp ${PN}.bash-completion ${PN} - python_fix_shebang "${ED}" -} diff --git a/net-misc/youtube-dl/youtube-dl-2014.03.03.ebuild b/net-misc/youtube-dl/youtube-dl-2014.03.03.ebuild deleted file mode 100644 index 1c160cbea168..000000000000 --- a/net-misc/youtube-dl/youtube-dl-2014.03.03.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.03.03.ebuild,v 1.1 2014/03/03 20:03:54 jer Exp $ - -EAPI=5 - -PYTHON_COMPAT=(python{2_6,2_7,3_3}) -DISTUTILS_SINGLE_IMPL=true -inherit bash-completion-r1 distutils-r1 eutils - -DESCRIPTION="Download videos from YouTube.com (and mores sites...)" -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 ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" -IUSE="offensive test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[coverage(+)] ) -" - -S="${WORKDIR}/${PN}" - -src_prepare() { - if ! use offensive; then - local xxx=( - extremetube fourtube mofosex pornhd pornhub pornotube redtube - spankwire thisav trutube tube8 xhamster xnxx xtube xvideos youjizz youporn - ) - sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die - rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ - test/test_age_restriction.py || die - fi -} - -src_compile() { - distutils-r1_src_compile -} - -src_test() { - emake test -} - -src_install() { - python_domodule youtube_dl - dobin bin/${PN} - dodoc CHANGELOG README.txt - doman ${PN}.1 - newbashcomp ${PN}.bash-completion ${PN} - python_fix_shebang "${ED}" -} diff --git a/net-misc/youtube-dl/youtube-dl-2014.03.07.1.ebuild b/net-misc/youtube-dl/youtube-dl-2014.03.07.1.ebuild deleted file mode 100644 index b81a35287e27..000000000000 --- a/net-misc/youtube-dl/youtube-dl-2014.03.07.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.03.07.1.ebuild,v 1.1 2014/03/07 22:38:11 jer Exp $ - -EAPI=5 - -PYTHON_COMPAT=(python{2_6,2_7,3_3}) -DISTUTILS_SINGLE_IMPL=true -inherit bash-completion-r1 distutils-r1 eutils - -DESCRIPTION="Download videos from YouTube.com (and mores sites...)" -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 ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" -IUSE="offensive test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[coverage(+)] ) -" - -S="${WORKDIR}/${PN}" - -src_prepare() { - if ! use offensive; then - local xxx=( - extremetube fourtube mofosex pornhd pornhub pornotube redtube - spankwire thisav trutube tube8 xhamster xnxx xtube xvideos youjizz youporn - ) - sed -i -e $( printf '/%s/d;' ${xxx[@]} ) youtube_dl/extractor/__init__.py || die - rm $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ - test/test_age_restriction.py || die - fi -} - -src_compile() { - distutils-r1_src_compile -} - -src_test() { - emake test -} - -src_install() { - python_domodule youtube_dl - dobin bin/${PN} - dodoc CHANGELOG README.txt - doman ${PN}.1 - newbashcomp ${PN}.bash-completion ${PN} - python_fix_shebang "${ED}" -} diff --git a/net-misc/youtube-dl/youtube-dl-2014.03.10.ebuild b/net-misc/youtube-dl/youtube-dl-2014.03.10.ebuild index f868479e06d5..8527a0b50ce9 100644 --- a/net-misc/youtube-dl/youtube-dl-2014.03.10.ebuild +++ b/net-misc/youtube-dl/youtube-dl-2014.03.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.03.10.ebuild,v 1.1 2014/03/10 14:26:29 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.03.10.ebuild,v 1.2 2014/03/13 16:06:33 jer Exp $ EAPI=5 @@ -26,6 +26,8 @@ S="${WORKDIR}/${PN}" src_prepare() { if ! use offensive; then + sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \ + youtube_dl/version.py || die local xxx=( extremetube fourtube mofosex pornhd pornhub pornotube redtube spankwire thisav trutube tube8 xhamster xnxx xtube xvideos youjizz youporn diff --git a/net-misc/youtube-dl/youtube-dl-2014.03.12.ebuild b/net-misc/youtube-dl/youtube-dl-2014.03.12.ebuild index 7f08961eb956..e9a0b8037e64 100644 --- a/net-misc/youtube-dl/youtube-dl-2014.03.12.ebuild +++ b/net-misc/youtube-dl/youtube-dl-2014.03.12.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.03.12.ebuild,v 1.1 2014/03/13 15:26:55 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2014.03.12.ebuild,v 1.2 2014/03/13 16:06:33 jer Exp $ EAPI=5 @@ -26,6 +26,8 @@ S="${WORKDIR}/${PN}" src_prepare() { if ! use offensive; then + sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \ + youtube_dl/version.py || die local xxx=( extremetube fourtube mofosex pornhd pornhub pornotube redtube spankwire thisav trutube tube8 xhamster xnxx xtube xvideos youjizz youporn |