idella4 14/06/14 13:51:51 Modified: twill-0.9-r1.ebuild ChangeLog Log: clean old python impls, drop unused IUSE add doc examples, doc build (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path 1.4 dev-python/twill/twill-0.9-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twill/twill-0.9-r1.ebuild?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twill/twill-0.9-r1.ebuild?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twill/twill-0.9-r1.ebuild?r1=1.3&r2=1.4 Index: twill-0.9-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/twill/twill-0.9-r1.ebuild,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- twill-0.9-r1.ebuild 31 Mar 2014 21:18:11 -0000 1.3 +++ twill-0.9-r1.ebuild 14 Jun 2014 13:51:51 -0000 1.4 @@ -1,9 +1,9 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twill/twill-0.9-r1.ebuild,v 1.3 2014/03/31 21:18:11 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/twill/twill-0.9-r1.ebuild,v 1.4 2014/06/14 13:51:51 idella4 Exp $ EAPI="5" -PYTHON_COMPAT=( python{2_6,2_7} pypy pypy2_0 ) +PYTHON_COMPAT=( python2_7 pypy ) inherit distutils-r1 @@ -17,15 +17,25 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~x86" -IUSE="test" +IUSE="doc examples" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( $(python_gen_cond_dep 'dev-python/epydoc[${PYTHON_USEDEP}]' python2_7) + $(python_gen_cond_dep 'dev-python/dnspython[${PYTHON_USEDEP}]' python2_7) )" S="${WORKDIR}/${MY_P}" +python_compile_all() { + if use doc; then + pushd doc > /dev/null + chmod +x make-epydoc.sh + ./make-epydoc.sh + popd> /dev/null + fi +} + python_install_all() { - dodoc -r doc/. - insinto /usr/share/doc/${PF}/examples - doins -r examples/* - docompress -x /usr/share/doc/${PF}/examples + use doc && HTML_DOCS=( doc/epydoc-html/. ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all } 1.14 dev-python/twill/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twill/ChangeLog?rev=1.14&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twill/ChangeLog?rev=1.14&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twill/ChangeLog?r1=1.13&r2=1.14 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/twill/ChangeLog,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- ChangeLog 31 Mar 2014 21:18:11 -0000 1.13 +++ ChangeLog 14 Jun 2014 13:51:51 -0000 1.14 @@ -1,6 +1,9 @@ # ChangeLog for dev-python/twill # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twill/ChangeLog,v 1.13 2014/03/31 21:18:11 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/twill/ChangeLog,v 1.14 2014/06/14 13:51:51 idella4 Exp $ + + 14 Jun 2014; Ian Delaney <idel...@gentoo.org> twill-0.9-r1.ebuild: + clean old python impls, drop unused IUSE add doc examples, doc build 31 Mar 2014; Michał Górny <mgo...@gentoo.org> twill-0.9-r1.ebuild: Add support for the new PyPy slotting.