Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/repoze-sphinx-autointerface/
Date: Sun, 10 Apr 2022 12:10:48
Message-Id: 1649592633.a7f926fbdd776871cc15bf7f12b042c77111304b.mgorny@gentoo
1 commit: a7f926fbdd776871cc15bf7f12b042c77111304b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 10 12:01:46 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 10 12:10:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7f926fb
7
8 dev-python/repoze-sphinx-autointerface: PEP517, remove namespace dep
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 ...ld => repoze-sphinx-autointerface-0.8-r1.ebuild} | 21 ++++++---------------
13 1 file changed, 6 insertions(+), 15 deletions(-)
14
15 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
16 similarity index 58%
17 rename from dev-python/repoze-sphinx-autointerface/repoze-sphinx-autointerface-0.8.ebuild
18 rename to dev-python/repoze-sphinx-autointerface/repoze-sphinx-autointerface-0.8-r1.ebuild
19 index 519d2a62939c..bf2778ecc434 100644
20 --- a/dev-python/repoze-sphinx-autointerface/repoze-sphinx-autointerface-0.8.ebuild
21 +++ b/dev-python/repoze-sphinx-autointerface/repoze-sphinx-autointerface-0.8-r1.ebuild
22 @@ -1,10 +1,11 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 +# Copyright 1999-2022 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=8
28
29 +DISTUTILS_USE_PEP517=setuptools
30 PYTHON_COMPAT=( python3_{8..10} )
31 -DISTUTILS_USE_SETUPTOOLS=rdepend
32 +
33 inherit distutils-r1
34
35 MY_PN=${PN//-/.}
36 @@ -20,21 +21,11 @@ SLOT="0"
37 KEYWORDS="~amd64 ~arm64 ~x86"
38
39 RDEPEND="
40 - dev-python/namespace-repoze[${PYTHON_USEDEP}]
41 dev-python/sphinx[${PYTHON_USEDEP}]
42 dev-python/zope-interface[${PYTHON_USEDEP}]
43 "
44
45 -python_install() {
46 - distutils-r1_python_install
47 -
48 - # install the namespace (it's the only subpackage)
49 - python_moduleinto repoze.sphinx
50 - python_domodule repoze/sphinx/__init__.py
51 -}
52 -
53 -python_install_all() {
54 - distutils-r1_python_install_all
55 -
56 - find "${D}" -name '*.pth' -delete || die
57 +python_compile() {
58 + distutils-r1_python_compile
59 + find "${BUILD_DIR}" -name '*.pth' -delete || die
60 }