From 9bd4432b2d98b537459526383ee896ae7d981452 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Tue, 13 Oct 2015 06:22:18 +0200 Subject: net-misc/youtube-dl: Version bump. Package-Manager: portage-2.2.23 --- net-misc/youtube-dl/Manifest | 2 +- net-misc/youtube-dl/youtube-dl-2015.10.09.ebuild | 87 ------------------------ net-misc/youtube-dl/youtube-dl-2015.10.13.ebuild | 87 ++++++++++++++++++++++++ 3 files changed, 88 insertions(+), 88 deletions(-) delete mode 100644 net-misc/youtube-dl/youtube-dl-2015.10.09.ebuild create mode 100644 net-misc/youtube-dl/youtube-dl-2015.10.13.ebuild (limited to 'net-misc') diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest index 23686160e27b..75dd35089617 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.10.09.tar.gz 1754748 SHA256 33103a3197ee1bfa5e9fa78449ed19de888d6b36cc27f46f5c2e76ea11aee0ab SHA512 5e1c9e2344bd4b02834310be8cfae27f734a846d995a5890522ad9d2908832127ab20b76557a7986b146bb2ad7c278815c50523a946ee8a3eb2b5cd76db31290 WHIRLPOOL bd6f1b1525b5b2fae35490ba7823dde878d88f20f13d3f6de4a95a677ec03ed1b527ff8845406cdee658f6d6c668bd528f20863fb753616caab3fa3dfd8b0e44 DIST youtube-dl-2015.10.12.tar.gz 1758938 SHA256 3e620a6d7edb656b48eef913d3350e925679ccdb959184c5fa88f4e55604289f SHA512 810ac5ad45c1fb7f01b09636f9fc1bfef1dc4bd4d00f8b6c50393e380e291a18b2410050c111f9f08f8a467df111afc7714043c5f766301aa2955e7d9a9e2168 WHIRLPOOL 6957b6a2bf883632087b4bd3830e1cf9ea12e91f90a08d334b0eda93a72b2c6f8a89a22f8df3fbdf90d1208af425b663bb258f5ddc7d3308d12ad3040ed3e8cf +DIST youtube-dl-2015.10.13.tar.gz 1758950 SHA256 4588f98ecd082ac4d1574c6bbc386eaf625fe1b2b321f4f84a2eb6bea45b41f9 SHA512 c9bc2a0a7786467720d31c60d2b8319640d0e724ed1b2dd584553380f19714ad4351ea6051ad689252473aeb15524c096f2f2d89931dafdfd76d45bdca4d7fdb WHIRLPOOL 08c9652e606a7710a050aafdf5eadd3c183e9039d2a7947a766a6fd67696337d5156918f16e5341d3e1662798d1148e7dee1311c5626c845b2f11a89167f0d44 diff --git a/net-misc/youtube-dl/youtube-dl-2015.10.09.ebuild b/net-misc/youtube-dl/youtube-dl-2015.10.09.ebuild deleted file mode 100644 index db29af284def..000000000000 --- a/net-misc/youtube-dl/youtube-dl-2015.10.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.10.13.ebuild b/net-misc/youtube-dl/youtube-dl-2015.10.13.ebuild new file mode 100644 index 000000000000..db29af284def --- /dev/null +++ b/net-misc/youtube-dl/youtube-dl-2015.10.13.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