radhermit 15/08/02 01:42:51 Modified: pychroot-9999.ebuild ChangeLog Log: Add support for building and installing man pages. (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Revision Changes Path 1.5 dev-python/pychroot/pychroot-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pychroot/pychroot-9999.ebuild?rev=1.5&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pychroot/pychroot-9999.ebuild?rev=1.5&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pychroot/pychroot-9999.ebuild?r1=1.4&r2=1.5 Index: pychroot-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/pychroot/pychroot-9999.ebuild,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- pychroot-9999.ebuild 1 Aug 2015 18:59:50 -0000 1.4 +++ pychroot-9999.ebuild 2 Aug 2015 01:42:51 -0000 1.5 @@ -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/dev-python/pychroot/pychroot-9999.ebuild,v 1.4 2015/08/01 18:59:50 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pychroot/pychroot-9999.ebuild,v 1.5 2015/08/02 01:42:51 radhermit Exp $ EAPI=5 PYTHON_COMPAT=( python{2_7,3_3,3_4} ) @@ -30,7 +30,20 @@ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) dev-python/pytest[${PYTHON_USEDEP}] )" +[[ ${PV} == *9999 ]] && DEPEND+=" dev-python/sphinx[${PYTHON_USEDEP}]" + +python_compile_all() { + if [[ ${PV} == *9999 ]]; then + emake -C doc man + ln -s doc/_build/man || die + fi +} python_test() { esetup.py test } + +python_install_all() { + distutils-r1_python_install_all + doman man/* +} 1.10 dev-python/pychroot/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pychroot/ChangeLog?rev=1.10&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pychroot/ChangeLog?rev=1.10&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pychroot/ChangeLog?r1=1.9&r2=1.10 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/pychroot/ChangeLog,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ChangeLog 1 Aug 2015 18:59:50 -0000 1.9 +++ ChangeLog 2 Aug 2015 01:42:51 -0000 1.10 @@ -1,6 +1,9 @@ # ChangeLog for dev-python/pychroot # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pychroot/ChangeLog,v 1.9 2015/08/01 18:59:50 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pychroot/ChangeLog,v 1.10 2015/08/02 01:42:51 radhermit Exp $ + + 02 Aug 2015; Tim Harder <[email protected]> pychroot-9999.ebuild: + Add support for building and installing man pages. 01 Aug 2015; Tim Harder <[email protected]> pychroot-9999.ebuild: Update DESCRIPTION, add setuptools as an rdep, and force snakeoil from git.
