From b074359befb8e1c1469d6c732688f29ec50dc146 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sat, 5 Sep 2015 14:50:43 +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.08.23.ebuild | 87 ------------------------ net-misc/youtube-dl/youtube-dl-2015.09.03.ebuild | 87 ++++++++++++++++++++++++ 3 files changed, 88 insertions(+), 88 deletions(-) delete mode 100644 net-misc/youtube-dl/youtube-dl-2015.08.23.ebuild create mode 100644 net-misc/youtube-dl/youtube-dl-2015.09.03.ebuild (limited to 'net-misc') diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest index 825bef46372d..4b4b4bb4feb1 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.08.23.tar.gz 1715870 SHA256 774de06d23a87a37a040399101f716c86b17d21ff78971346263217d6862757e SHA512 83868d04b106539c546f1fd7555a0226acb42c33ed8c53e61415e76a9320329020c4c5f69292c7a4bb91d95b55cdbfe3abeb5bc8086b0f495ed1db44ff1d46f6 WHIRLPOOL dd55b82e6c96f698fa053d9fe9723aa19f2283f8580dcf7884ccf9fd697ee20152471ec0041c530741b2e9ff14e5ba7a0d5f2608685a38ab958e617d6a9bc5ad DIST youtube-dl-2015.08.28.tar.gz 1717348 SHA256 7763dc3869804696b1f1b66cb460d578d1af8de0a73046d449803bd3ac5f5045 SHA512 c55322d39077d7843004c0c873aaa4541c082b637a70fa214f7e1ad4f092db91b56d2014e9fef1cf55d4be19b815c20c7ca333e6a18b65943202957e3e68ac2a WHIRLPOOL bfa425702bebe7768c6672fd171dc1557211cca4b31985b811b7453c5e9e98914f53db67ae78dd4bb31796de7361ef96731760cfc7d8a67bb90a615e8410671f +DIST youtube-dl-2015.09.03.tar.gz 1724479 SHA256 dfa0efc89412eb58d1cdf641a7747ad95dcd31d8d08b006334a2e603325eb273 SHA512 8c8163eb570bbc04089726aaa0ccc7cbcb79a6c8fb5036c929ba86042f1ca9fba422d8bc20c835cd94ede05ae30445f57299405dd6422b8f8199cf1fc59ffd8e WHIRLPOOL 2a41a5c34c3ef1adbf4a62e3abc9624696a623262f645176d42592c75ffeccf144c08d772077eb908efa02cba4abd7d7a2c53b6763fbebb927a0598e401b52ec diff --git a/net-misc/youtube-dl/youtube-dl-2015.08.23.ebuild b/net-misc/youtube-dl/youtube-dl-2015.08.23.ebuild deleted file mode 100644 index db29af284def..000000000000 --- a/net-misc/youtube-dl/youtube-dl-2015.08.23.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.03.ebuild b/net-misc/youtube-dl/youtube-dl-2015.09.03.ebuild new file mode 100644 index 000000000000..db29af284def --- /dev/null +++ b/net-misc/youtube-dl/youtube-dl-2015.09.03.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-18-g5258