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/jaraco-logging/
Date: Sat, 09 Apr 2022 21:20:07
Message-Id: 1649539180.bc3b0eeb747b5824f79375ca65c182c89432e974.mgorny@gentoo
1 commit: bc3b0eeb747b5824f79375ca65c182c89432e974
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 9 21:19:40 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 9 21:19:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc3b0eeb
7
8 dev-python/jaraco-logging: EAPI 8, PEP517
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../jaraco-logging/jaraco-logging-3.1.0-r1.ebuild | 36 ++++++++++++++++++++++
13 1 file changed, 36 insertions(+)
14
15 diff --git a/dev-python/jaraco-logging/jaraco-logging-3.1.0-r1.ebuild b/dev-python/jaraco-logging/jaraco-logging-3.1.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..f72cbefc5a94
18 --- /dev/null
19 +++ b/dev-python/jaraco-logging/jaraco-logging-3.1.0-r1.ebuild
20 @@ -0,0 +1,36 @@
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=( pypy3 python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +MY_PN="${PN/-/.}"
32 +DESCRIPTION="Additional facilities to supplement Python's stdlib logging module"
33 +HOMEPAGE="https://github.com/jaraco/jaraco.logging"
34 +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
35 +S="${WORKDIR}/${MY_PN}-${PV}"
36 +
37 +LICENSE="MIT"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~x86"
40 +
41 +RDEPEND="
42 + dev-python/tempora[${PYTHON_USEDEP}]
43 +"
44 +BDEPEND="
45 + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
46 +"
47 +
48 +distutils_enable_sphinx docs \
49 + '>=dev-python/jaraco-packaging-3.2' \
50 + '>=dev-python/rst-linker-1.9'
51 +distutils_enable_tests pytest
52 +
53 +python_compile() {
54 + distutils-r1_python_compile
55 + rm "${BUILD_DIR}/install$(python_get_sitedir)"/jaraco/__init__.py || die
56 +}