diff --git a/dev-python/yolk/yolk-0.4.3-r1.ebuild b/dev-python/yolk/yolk-0.4.3-r1.ebuild index 32decd0f64347..f9ccf8becec6c 100644 --- a/dev-python/yolk/yolk-0.4.3-r1.ebuild +++ b/dev-python/yolk/yolk-0.4.3-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=7 + PYTHON_COMPAT=( python2_7 pypy ) inherit distutils-r1 @@ -15,13 +16,16 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="examples" -DEPEND="dev-python/setuptools - dev-python/yolk-portage" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/yolk-portage[${PYTHON_USEDEP}]" RDEPEND="${DEPEND}" python_install_all() { + distutils-r1_python_install_all + if use examples; then docinto examples/plugins - dodoc -r examples/plugins/* + dodoc -r examples/plugins/. fi }