1 |
commit: d3aa25ecd030e441a2ac6de9e6ebfbadbc02173d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 04:48:30 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 05:11:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3aa25ec |
7 |
|
8 |
dev-python/configupdater: New package, v3.1 |
9 |
|
10 |
A new test dep for dev-python/ini2toml. |
11 |
|
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
dev-python/configupdater/Manifest | 1 + |
15 |
dev-python/configupdater/configupdater-3.1.ebuild | 32 +++++++++++++++++++++++ |
16 |
dev-python/configupdater/metadata.xml | 11 ++++++++ |
17 |
3 files changed, 44 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/configupdater/Manifest b/dev-python/configupdater/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000000..be50b3831097 |
22 |
--- /dev/null |
23 |
+++ b/dev-python/configupdater/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST configupdater-3.1.gh.tar.gz 138671 BLAKE2B 48e349780e11ca26b4b15b44aa298058840cfcea47fc7b2e555f3ca743de1956a15255bfea2c5f96624e02e399bed99ae45f3422ab1660b8ae83087ddf6117e1 SHA512 89685a93f3bec907184d818b5adea4f87967df313fe4e4216aeef2c227fdf0b0f98757ec27da7f43adff6e2ee37020dd57b98569d5811c9dc7c3201852b27432 |
26 |
|
27 |
diff --git a/dev-python/configupdater/configupdater-3.1.ebuild b/dev-python/configupdater/configupdater-3.1.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..bb6d09e8a58f |
30 |
--- /dev/null |
31 |
+++ b/dev-python/configupdater/configupdater-3.1.ebuild |
32 |
@@ -0,0 +1,32 @@ |
33 |
+# Copyright 2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+DISTUTILS_USE_PEP517=setuptools |
39 |
+PYTHON_COMPAT=( pypy3 python3_{8..11} ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="Parser like ConfigParser but for updating configuration files" |
44 |
+HOMEPAGE=" |
45 |
+ https://github.com/pyscaffold/configupdater/ |
46 |
+ https://pypi.org/project/ConfigUpdater/ |
47 |
+" |
48 |
+SRC_URI=" |
49 |
+ https://github.com/pyscaffold/configupdater/archive/v${PV}.tar.gz |
50 |
+ -> ${P}.gh.tar.gz |
51 |
+" |
52 |
+ |
53 |
+LICENSE="MIT PSF-2 PYTHON" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64" |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ distutils-r1_src_prepare |
63 |
+ sed -i -e '/--cov/d' setup.cfg || die |
64 |
+} |
65 |
|
66 |
diff --git a/dev-python/configupdater/metadata.xml b/dev-python/configupdater/metadata.xml |
67 |
new file mode 100644 |
68 |
index 000000000000..9fbb7c1b9718 |
69 |
--- /dev/null |
70 |
+++ b/dev-python/configupdater/metadata.xml |
71 |
@@ -0,0 +1,11 @@ |
72 |
+<?xml version="1.0" encoding="UTF-8"?> |
73 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
74 |
+<pkgmetadata> |
75 |
+ <maintainer type="project"> |
76 |
+ <email>python@g.o</email> |
77 |
+ </maintainer> |
78 |
+ <upstream> |
79 |
+ <remote-id type="github">pyscaffold/configupdater</remote-id> |
80 |
+ <remote-id type="pypi">ConfigUpdater</remote-id> |
81 |
+ </upstream> |
82 |
+</pkgmetadata> |