commit:     a7f926fbdd776871cc15bf7f12b042c77111304b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 10 12:01:46 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 10 12:10:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7f926fb

dev-python/repoze-sphinx-autointerface: PEP517, remove namespace dep

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...ld => repoze-sphinx-autointerface-0.8-r1.ebuild} | 21 ++++++---------------
 1 file changed, 6 insertions(+), 15 deletions(-)

diff --git 
a/dev-python/repoze-sphinx-autointerface/repoze-sphinx-autointerface-0.8.ebuild 
b/dev-python/repoze-sphinx-autointerface/repoze-sphinx-autointerface-0.8-r1.ebuild
similarity index 58%
rename from 
dev-python/repoze-sphinx-autointerface/repoze-sphinx-autointerface-0.8.ebuild
rename to 
dev-python/repoze-sphinx-autointerface/repoze-sphinx-autointerface-0.8-r1.ebuild
index 519d2a62939c..bf2778ecc434 100644
--- 
a/dev-python/repoze-sphinx-autointerface/repoze-sphinx-autointerface-0.8.ebuild
+++ 
b/dev-python/repoze-sphinx-autointerface/repoze-sphinx-autointerface-0.8-r1.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
+
 inherit distutils-r1
 
 MY_PN=${PN//-/.}
@@ -20,21 +21,11 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
 
 RDEPEND="
-       dev-python/namespace-repoze[${PYTHON_USEDEP}]
        dev-python/sphinx[${PYTHON_USEDEP}]
        dev-python/zope-interface[${PYTHON_USEDEP}]
 "
 
-python_install() {
-       distutils-r1_python_install
-
-       # install the namespace (it's the only subpackage)
-       python_moduleinto repoze.sphinx
-       python_domodule repoze/sphinx/__init__.py
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-
-       find "${D}" -name '*.pth' -delete || die
+python_compile() {
+       distutils-r1_python_compile
+       find "${BUILD_DIR}" -name '*.pth' -delete || die
 }

Reply via email to