idella4 14/06/28 03:55:41 Modified: pyechonest-7.2.1.ebuild ChangeLog Log: drop py2.6, add missing dep, tidy doc build/install, patch by submitted by fau, fixes Bug #515176 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path 1.4 dev-python/pyechonest/pyechonest-7.2.1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyechonest/pyechonest-7.2.1.ebuild?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyechonest/pyechonest-7.2.1.ebuild?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyechonest/pyechonest-7.2.1.ebuild?r1=1.3&r2=1.4 Index: pyechonest-7.2.1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/pyechonest/pyechonest-7.2.1.ebuild,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- pyechonest-7.2.1.ebuild 8 Jun 2013 16:41:45 -0000 1.3 +++ pyechonest-7.2.1.ebuild 28 Jun 2014 03:55:41 -0000 1.4 @@ -1,10 +1,10 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyechonest/pyechonest-7.2.1.ebuild,v 1.3 2013/06/08 16:41:45 sochotnicky Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyechonest/pyechonest-7.2.1.ebuild,v 1.4 2014/06/28 03:55:41 idella4 Exp $ EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_COMPAT=( python2_7 ) inherit distutils-r1 @@ -17,21 +17,23 @@ KEYWORDS="~amd64 ~x86" IUSE="doc examples" -DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + + +python_prepare_all() { + # Prevent un-needed download during build + sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/source/conf.py || die + distutils-r1_python_prepare_all +} python_compile_all() { - if use doc; then - einfo "Generation of documentation by" ${PYTHON} - PYTHONPATH=".." emake -C doc html || die "Generation of documentation failed" - fi + use doc && emake -C doc html } python_install_all() { - use doc && dohtml -r doc/build/html/ - - if use examples; then - docompress -x usr/share/doc/${P}/examples/ - insinto usr/share/doc/${P}/examples - doins -r examples/* - fi + use doc && local HTML_DOCS=( doc/build/html/. ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all } 1.7 dev-python/pyechonest/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyechonest/ChangeLog?rev=1.7&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyechonest/ChangeLog?rev=1.7&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyechonest/ChangeLog?r1=1.6&r2=1.7 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/pyechonest/ChangeLog,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- ChangeLog 22 Mar 2014 18:57:12 -0000 1.6 +++ ChangeLog 28 Jun 2014 03:55:41 -0000 1.7 @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyechonest # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyechonest/ChangeLog,v 1.6 2014/03/22 18:57:12 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyechonest/ChangeLog,v 1.7 2014/06/28 03:55:41 idella4 Exp $ + + 28 Jun 2014; Ian Delaney <[email protected]> pyechonest-7.2.1.ebuild: + drop py2.6, add missing dep, tidy doc build/install, patch by submitted by + fau, fixes Bug #515176 22 Mar 2014; Michael Palimaka <[email protected]> -pyechonest-7.1.0.ebuild:
