# Copyright owners: Gentoo Foundation # Arfrever Frehtes Taifersar Arahesis # Distributed under the terms of the GNU General Public License v2 EAPI="4-python" PYTHON_MULTIPLE_ABIS="1" PYTHON_RESTRICTED_ABIS="3.*" inherit distutils MY_PN="Pyro" MY_P="${MY_PN}-${PV}" DESCRIPTION="Advanced and powerful Distributed Object Technology system written entirely in Python" HOMEPAGE="http://irmen.home.xs4all.nl/pyro3/ https://pypi.python.org/pypi/Pyro" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="3" KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" IUSE="doc examples" RDEPEND="!dev-python/pyro:0" DEPEND="${RDEPEND} $(python_abi_depend dev-python/setuptools)" S="${WORKDIR}/${MY_P}" PYTHON_MODULES="Pyro" src_install() { distutils_src_install if use doc; then dohtml -r docs/* fi if use examples; then insinto /usr/share/doc/${PF}/examples doins -r examples/* fi }