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/zconfig/
Date: Sat, 09 Apr 2022 19:12:44
Message-Id: 1649530768.4c8e1c777298050913b2800496eec8a3259d3eed.mgorny@gentoo
1 commit: 4c8e1c777298050913b2800496eec8a3259d3eed
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 9 18:59:28 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 9 18:59:28 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c8e1c77
7
8 dev-python/zconfig: Switch to PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/zconfig/zconfig-3.6.0-r1.ebuild | 34 ++++++++++++++++++++++++++++++
13 1 file changed, 34 insertions(+)
14
15 diff --git a/dev-python/zconfig/zconfig-3.6.0-r1.ebuild b/dev-python/zconfig/zconfig-3.6.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..7f1778180f2f
18 --- /dev/null
19 +++ b/dev-python/zconfig/zconfig-3.6.0-r1.ebuild
20 @@ -0,0 +1,34 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +MY_P="ZConfig-${PV}"
32 +DESCRIPTION="Configuration library supporting a hierarchical schema-driven model"
33 +HOMEPAGE="https://pypi.org/project/ZConfig/"
34 +SRC_URI="mirror://pypi/${MY_P:0:1}/ZConfig/${MY_P}.tar.gz"
35 +S="${WORKDIR}/${MY_P}"
36 +
37 +LICENSE="ZPL"
38 +SLOT="0"
39 +KEYWORDS="~amd64"
40 +
41 +BDEPEND="
42 + test? (
43 + dev-python/docutils[${PYTHON_USEDEP}]
44 + dev-python/manuel[${PYTHON_USEDEP}]
45 + dev-python/zope-exceptions[${PYTHON_USEDEP}]
46 + dev-python/zope-interface[${PYTHON_USEDEP}]
47 + dev-python/zope-testrunner[${PYTHON_USEDEP}]
48 + )
49 +"
50 +
51 +DOCS=( CHANGES.rst README.rst )
52 +
53 +distutils_enable_tests unittest
54 +distutils_enable_sphinx doc dev-python/sphinxcontrib-programoutput