diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-10-27 08:24:45 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-10-27 08:24:45 +0000 |
commit | 2ea06d1398a289f145c6423f1093a0716e4b222f (patch) | |
tree | 70fa3a94180c0b17cc6e796b18d3ad1128850225 /dev-python/pyplusplus/pyplusplus-1.0.0.ebuild | |
parent | Remove redundant python_export_best (done by the eclass). Fix eclass use. (diff) | |
download | historical-2ea06d1398a289f145c6423f1093a0716e4b222f.tar.gz historical-2ea06d1398a289f145c6423f1093a0716e4b222f.tar.bz2 historical-2ea06d1398a289f145c6423f1093a0716e4b222f.zip |
Remove redundant python_export_best (done by the eclass). Fix eclass use.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'dev-python/pyplusplus/pyplusplus-1.0.0.ebuild')
-rw-r--r-- | dev-python/pyplusplus/pyplusplus-1.0.0.ebuild | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/dev-python/pyplusplus/pyplusplus-1.0.0.ebuild b/dev-python/pyplusplus/pyplusplus-1.0.0.ebuild index b1a9b36416a8..925a2a64c1c9 100644 --- a/dev-python/pyplusplus/pyplusplus-1.0.0.ebuild +++ b/dev-python/pyplusplus/pyplusplus-1.0.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0.ebuild,v 1.1 2013/08/30 10:49:59 heroxbd Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/pyplusplus-1.0.0.ebuild,v 1.2 2013/10/27 08:24:43 mgorny Exp $ EAPI=5 @@ -17,30 +17,25 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc examples" -DEPEND="doc? ( >=dev-python/epydoc-3 ) +DEPEND="doc? ( >=dev-python/epydoc-3[${PYTHON_USEDEP}] ) app-arch/unzip" -RDEPEND="=dev-python/pygccxml-1.0.0" +RDEPEND="=dev-python/pygccxml-1.0.0[${PYTHON_USEDEP}]" S=${WORKDIR}/Py++-${PV} python_compile_all() { if use doc; then - python_export_best - "$(PYTHON)" setup.py doc + esetup.py doc fi } python_test() { - "$(PYTHON)" unittests/test_all.py + "${PYTHON}" unittests/test_all.py } python_install_all() { - use doc && local HTML_DOCS=( docs/documentation/apidocs/* ) - - if use examples; then - insinto /usr/share/doc/${PF} - doins -r examples - fi + use doc && local HTML_DOCS=( docs/documentation/apidocs/. ) + use examples && local EXAMPLES=( examples/. ) distutils-r1_python_install_all } |