radhermit 15/07/23 06:36:36 Modified: ChangeLog pkgcore-9999.ebuild Log: Simplify building and installing docs. (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 4F064CA3)
Revision Changes Path 1.193 sys-apps/pkgcore/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.193&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/ChangeLog?rev=1.193&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/ChangeLog?r1=1.192&r2=1.193 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v retrieving revision 1.192 retrieving revision 1.193 diff -u -r1.192 -r1.193 --- ChangeLog 23 Jul 2015 06:25:12 -0000 1.192 +++ ChangeLog 23 Jul 2015 06:36:36 -0000 1.193 @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/pkgcore # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.192 2015/07/23 06:25:12 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/ChangeLog,v 1.193 2015/07/23 06:36:36 radhermit Exp $ + + 23 Jul 2015; Tim Harder <[email protected]> pkgcore-9999.ebuild: + Simplify building and installing docs. 23 Jul 2015; Tim Harder <[email protected]> pkgcore-9999.ebuild: Add setuptools dep. 1.29 sys-apps/pkgcore/pkgcore-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/pkgcore-9999.ebuild?rev=1.29&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/pkgcore-9999.ebuild?rev=1.29&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pkgcore/pkgcore-9999.ebuild?r1=1.28&r2=1.29 Index: pkgcore-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-9999.ebuild,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- pkgcore-9999.ebuild 23 Jul 2015 06:25:12 -0000 1.28 +++ pkgcore-9999.ebuild 23 Jul 2015 06:36:36 -0000 1.29 @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-9999.ebuild,v 1.28 2015/07/23 06:25:12 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pkgcore/pkgcore-9999.ebuild,v 1.29 2015/07/23 06:36:36 radhermit Exp $ EAPI=5 PYTHON_COMPAT=( python2_7 ) @@ -32,41 +32,24 @@ pkg_setup() { # disable snakeoil 2to3 caching... unset PY2TO3_CACHEDIR - - mydistutilsargs=( - build - --disable-html-docs - --disable-man-pages - ) } python_compile_all() { - esetup.py $(use doc && echo 'build_docs') - if [[ ${PV} == *9999 ]]; then esetup.py build_man ln -s "${BUILD_DIR}/sphinx/man" man || die fi - # symlinks generated manpages into source root - # dead symlinks are tolerated - ln -s "${BUILD_DIR}/sphinx/html" html || die + if use doc; then + esetup.py build_html + ln -s "${BUILD_DIR}/sphinx/html" html || die + fi } python_test() { esetup.py test } -src_install() { - mydistutilsargs+=( - install - --disable-html-docs - --disable-man-pages - ) - - distutils-r1_src_install -} - python_install_all() { local cmds=( install_man
