1 |
commit: 009414de03de7d24f6d65c2d154f9b9c0ba51a25 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 29 18:03:26 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 29 18:03:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=009414de |
7 |
|
8 |
dev-python/jaraco-logging: add 3.1.2 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/jaraco-logging/Manifest | 1 + |
13 |
.../jaraco-logging/jaraco-logging-3.1.2.ebuild | 45 ++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jaraco-logging/Manifest b/dev-python/jaraco-logging/Manifest |
17 |
index bd27ff494286..3b3cd35adf73 100644 |
18 |
--- a/dev-python/jaraco-logging/Manifest |
19 |
+++ b/dev-python/jaraco-logging/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST jaraco.logging-3.1.1.gh.tar.gz 10804 BLAKE2B 32d978ae8e9105986926649dcccd710aea44e2b8ea2f4b41dfdb6cb6512cc8597951909c4e217d608245fb37b29ced544429b4f960d080f5a3436f454d042826 SHA512 80cca221c713b3868ac06332451c2bf31cb3c95e27b82275a8cd70533cd790b4e420a5851c0a5ba067a85aa4efa266e38e2b5792e2a0e97fde158357b16b1794 |
22 |
+DIST jaraco.logging-3.1.2.gh.tar.gz 7193 BLAKE2B fab2b65f2cc40d96df1a145bd047aecfca9af8c54c438ec40f965c8698d5db328591c7857390638b6bb48d2faae5cd1ad4541f6eb7c3b85a7ca06d257ad15c98 SHA512 deebf628dd62b6948cdf12931018407de1fb653279e57efce0df1acdf11e4ebab33840ef1e1e452b711ddc70b62fe925ebaf49e065d3450a96f8f6c8bbb0120c |
23 |
|
24 |
diff --git a/dev-python/jaraco-logging/jaraco-logging-3.1.2.ebuild b/dev-python/jaraco-logging/jaraco-logging-3.1.2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..7c8eaa3c8628 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/jaraco-logging/jaraco-logging-3.1.2.ebuild |
29 |
@@ -0,0 +1,45 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( pypy3 python3_{8..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_P="${P/-/.}" |
41 |
+DESCRIPTION="Additional facilities to supplement Python's stdlib logging module" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/jaraco/jaraco.logging/ |
44 |
+ https://pypi.org/project/jaraco.logging/ |
45 |
+" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/jaraco/jaraco.logging/archive/v${PV}.tar.gz |
48 |
+ -> ${MY_P}.gh.tar.gz |
49 |
+" |
50 |
+S=${WORKDIR}/${MY_P} |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~riscv ~x86" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ dev-python/tempora[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] |
61 |
+" |
62 |
+ |
63 |
+distutils_enable_tests pytest |
64 |
+ |
65 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
66 |
+ |
67 |
+python_test() { |
68 |
+ # create a pkgutil-style __init__.py in order to fix pytest's |
69 |
+ # determination of package paths |
70 |
+ cat > jaraco/__init__.py <<-EOF || die |
71 |
+ __path__ = __import__("pkgutil").extend_path(__path__, __name__) |
72 |
+ EOF |
73 |
+ epytest --doctest-modules |
74 |
+} |