From 0a23f4a6357d65d47eb01c267c7d4b687f9a029f Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Mon, 28 Sep 2015 07:02:31 +0200 Subject: net-misc/youtube-dl: Version bump. Package-Manager: portage-2.2.20.1 --- net-misc/youtube-dl/Manifest | 2 +- net-misc/youtube-dl/youtube-dl-2015.09.09.ebuild | 87 ------------------------ net-misc/youtube-dl/youtube-dl-2015.09.28.ebuild | 87 ++++++++++++++++++++++++ 3 files changed, 88 insertions(+), 88 deletions(-) delete mode 100644 net-misc/youtube-dl/youtube-dl-2015.09.09.ebuild create mode 100644 net-misc/youtube-dl/youtube-dl-2015.09.28.ebuild diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest index a22ec33b5645..ca600bca0360 100644 --- a/net-misc/youtube-dl/Manifest +++ b/net-misc/youtube-dl/Manifest @@ -1,3 +1,3 @@ DIST youtube-dl-2015.04.03.tar.gz 1472296 SHA256 0521a15a24a9b620728a2f45ea9163ca74660ed443781b6e69b4e06d36d7bf59 SHA512 6b2c85cfa222a31f3462aab583fa98bb92544cd5fb0d395ca0b69a26c24ab174870d02264e058281f09305752d50aa5a06d0d747205499a530b275e3194fc6f9 WHIRLPOOL 391e06ea261f92e03a0b38618307f1c9d53a2dfb9f2062fe0cd3ded1ea0c411033a17ded581616032c74a9e4fb398a57e565bf847196a23a9f89433f861362ae -DIST youtube-dl-2015.09.09.tar.gz 1729706 SHA256 fa2419fc47d0108b800c52dbe292fe1edf40259163035b57efb3b981e517511b SHA512 4f33be2afe7d0bcc91720555ca03d56f9c9cbc3280e36ae70afcc36ed931a1cb840580279e93e72bea9c1d4bbf275d8c557f1596cf8d2f3245969f8033495e08 WHIRLPOOL 42510a54291af9e195dca924385fd2e4a2cf30508b2792e2f77d0ac25cb59f84142c1321cca83c9079bc11207a8278fd1e15832263a020a7967aad6d10fbe6cc DIST youtube-dl-2015.09.22.tar.gz 1740309 SHA256 447cb37694a5dc3b4897ac382642305526a60b6da196c2bcfcabc0ccc83764b2 SHA512 92f679cbcd5edda96edb3a6108f58a537e3debd0dc205526cc59d60942c5b0fb77fa6fb49e71d291451c8c9c679e7971ed842c836d9a8fd6b47ce4e7bd8ec478 WHIRLPOOL 97191ba8daecca6aa2d6f789de091a6cd528781596e20b0b19d276a1c549a033a09f2b82c82293761aa1dd15db4ebea2458090551eb07c02f1f35f5e7d45772a +DIST youtube-dl-2015.09.28.tar.gz 1742315 SHA256 6396ee3150f51bd6ca2717b7d09f9524fbab22c04c3d2b560b99061d92127a60 SHA512 bbbaa0d27702fb0fddc17ca65dea80cd7df5bd795f8e35d4094e4f05ad1792ac26937a3e26c311a04caf49c60f67fbd0044d2969d2c330a479eb75f79e2babbb WHIRLPOOL 0b8d6b5776a7f21c5e9986fb79be43102544894451da10b648da978363d1740d2accb62c0b496ed0be376496adebc528f4b870249b053f0523405b22d03009f4 diff --git a/net-misc/youtube-dl/youtube-dl-2015.09.09.ebuild b/net-misc/youtube-dl/youtube-dl-2015.09.09.ebuild deleted file mode 100644 index db29af284def..000000000000 --- a/net-misc/youtube-dl/youtube-dl-2015.09.09.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=(python{2_7,3_3,3_4}) -DISTUTILS_SINGLE_IMPL=true -inherit bash-completion-r1 distutils-r1 eutils - -DESCRIPTION="Download videos from YouTube.com (and more sites...)" -HOMEPAGE="https://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 - sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \ - youtube_dl/version.py || die - # these have single line import statements - local xxx=( - alphaporno anysex behindkink drtuber eporner eroprofile extremetube - fourtube foxgay goshgay hellporno hentaistigma hornbunny keezmovies - mofosex motherless porn91 pornhd pornotube pornovoisines pornoxo - redtube sexykarma sexu sunporno slutload spankbang spankwire thisav - trutube tube8 vporn xbef xnxx xtube xvideos xxxymovies youjizz - youporn - ) - # these have multi-line import statements - local mxxx=( - pornhub xhamster tnaflix - ) - # do single line imports - sed -i \ - -e $( printf '/%s/d;' ${xxx[@]} ) \ - youtube_dl/extractor/__init__.py \ - || die - - # do multiple line imports - sed -i \ - -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \ - youtube_dl/extractor/__init__.py \ - || die - - sed -i \ - -e $( printf '/%s/d;' ${mxxx[@]} ) \ - youtube_dl/extractor/generic.py \ - youtube_dl/extractor/tumblr.py \ - || die - - rm \ - $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ - $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \ - test/test_age_restriction.py \ - || die - fi - - epatch_user -} - -src_compile() { - distutils-r1_src_compile -} - -src_test() { - emake test -} - -src_install() { - python_domodule youtube_dl - dobin bin/${PN} - dodoc README.txt - doman ${PN}.1 - newbashcomp ${PN}.bash-completion ${PN} - python_fix_shebang "${ED}" -} diff --git a/net-misc/youtube-dl/youtube-dl-2015.09.28.ebuild b/net-misc/youtube-dl/youtube-dl-2015.09.28.ebuild new file mode 100644 index 000000000000..db29af284def --- /dev/null +++ b/net-misc/youtube-dl/youtube-dl-2015.09.28.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=(python{2_7,3_3,3_4}) +DISTUTILS_SINGLE_IMPL=true +inherit bash-completion-r1 distutils-r1 eutils + +DESCRIPTION="Download videos from YouTube.com (and more sites...)" +HOMEPAGE="https://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 + sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \ + youtube_dl/version.py || die + # these have single line import statements + local xxx=( + alphaporno anysex behindkink drtuber eporner eroprofile extremetube + fourtube foxgay goshgay hellporno hentaistigma hornbunny keezmovies + mofosex motherless porn91 pornhd pornotube pornovoisines pornoxo + redtube sexykarma sexu sunporno slutload spankbang spankwire thisav + trutube tube8 vporn xbef xnxx xtube xvideos xxxymovies youjizz + youporn + ) + # these have multi-line import statements + local mxxx=( + pornhub xhamster tnaflix + ) + # do single line imports + sed -i \ + -e $( printf '/%s/d;' ${xxx[@]} ) \ + youtube_dl/extractor/__init__.py \ + || die + + # do multiple line imports + sed -i \ + -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \ + youtube_dl/extractor/__init__.py \ + || die + + sed -i \ + -e $( printf '/%s/d;' ${mxxx[@]} ) \ + youtube_dl/extractor/generic.py \ + youtube_dl/extractor/tumblr.py \ + || die + + rm \ + $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \ + $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \ + test/test_age_restriction.py \ + || die + fi + + epatch_user +} + +src_compile() { + distutils-r1_src_compile +} + +src_test() { + emake test +} + +src_install() { + python_domodule youtube_dl + dobin bin/${PN} + dodoc README.txt + doman ${PN}.1 + newbashcomp ${PN}.bash-completion ${PN} + python_fix_shebang "${ED}" +} -- cgit v1.2.3-65-gdbad