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