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/oslo-i18n/
Date: Sat, 21 May 2022 17:17:20
Message-Id: 1653153434.eb11e64a0a4f71ddb0e36a1194a9a4960b8e9987.mgorny@gentoo
1 commit: eb11e64a0a4f71ddb0e36a1194a9a4960b8e9987
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 21 17:13:24 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 21 17:17:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb11e64a
7
8 dev-python/oslo-i18n: Use PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/oslo-i18n/oslo-i18n-5.1.0-r1.ebuild | 38 ++++++++++++++++++++++++++
13 1 file changed, 38 insertions(+)
14
15 diff --git a/dev-python/oslo-i18n/oslo-i18n-5.1.0-r1.ebuild b/dev-python/oslo-i18n/oslo-i18n-5.1.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..ebd950ee136a
18 --- /dev/null
19 +++ b/dev-python/oslo-i18n/oslo-i18n-5.1.0-r1.ebuild
20 @@ -0,0 +1,38 @@
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_PN=${PN/-/.}
32 +MY_P=${MY_PN}-${PV}
33 +
34 +DESCRIPTION="Oslo i18n library"
35 +HOMEPAGE="
36 + https://opendev.org/openstack/oslo.i18n/
37 + https://github.com/openstack/oslo.i18n/
38 + https://pypi.org/project/oslo.i18n/
39 +"
40 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
41 +S=${WORKDIR}/${MY_P}
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
46 +
47 +RDEPEND="
48 + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
49 +"
50 +BDEPEND="
51 + ${RDEPEND}
52 + test? (
53 + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
54 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
55 + )
56 +"
57 +
58 +distutils_enable_tests unittest