1 |
commit: a7942b4794cc924fc76722e93c6068a21b893c7e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 18 06:06:34 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 18 06:06:34 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7942b47 |
7 |
|
8 |
dev-python/ini2toml: Bump to 0.12 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/ini2toml/Manifest | 1 + |
13 |
dev-python/ini2toml/ini2toml-0.12.ebuild | 45 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/ini2toml/Manifest b/dev-python/ini2toml/Manifest |
17 |
index fba01729057a..9d29bdceceaf 100644 |
18 |
--- a/dev-python/ini2toml/Manifest |
19 |
+++ b/dev-python/ini2toml/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ini2toml-0.11.3.gh.tar.gz 94011 BLAKE2B c827b4030f7c80fa749cdccc170dfced7c869836c90e3350e486be94a30541983c79161e6fb4b007258a692abd62e8b724ac758f6c952b0c7b820e9b5679706d SHA512 f1331bc47a2d4593788de9d8b1fdbc2231ac22524aaf3a83695c810e0dcbdce4bb46c48363ea150a583e4b24264d7a25f85ece737b31fa0ec0b8a6a2e098a9d5 |
22 |
+DIST ini2toml-0.12.tar.gz 101098 BLAKE2B 8e44600718318ce9c2ebaa5205864c1ca6ce87852a59496801578f32e223b9283d2f724acf004136743f87c8a081e58fd1176abe85288f8c463fc2520f708633 SHA512 c324a65fa20af880f2731b740dbf041ef7673d7ab817a9ee1947bf781d39bc000fcd8a725a546fc6af0dbecd0ec0534b2f9b83f3d8ab4afc0239d94acca06df5 |
23 |
|
24 |
diff --git a/dev-python/ini2toml/ini2toml-0.12.ebuild b/dev-python/ini2toml/ini2toml-0.12.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..b796d712c588 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/ini2toml/ini2toml-0.12.ebuild |
29 |
@@ -0,0 +1,45 @@ |
30 |
+# Copyright 2022-2023 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_{9..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 pypi |
39 |
+ |
40 |
+DESCRIPTION="Automatically conversion of .ini/.cfg files to TOML equivalents" |
41 |
+HOMEPAGE=" |
42 |
+ https://pypi.org/project/ini2toml/ |
43 |
+ https://github.com/abravalheri/ini2toml/ |
44 |
+" |
45 |
+ |
46 |
+LICENSE="MPL-2.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/packaging-20.7[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/tomli-w-0.4.0[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+BDEPEND=" |
55 |
+ dev-python/setuptools-scm[${PYTHON_USEDEP}] |
56 |
+ test? ( |
57 |
+ dev-python/configupdater[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/pyproject-fmt-0.4.0[${PYTHON_USEDEP}] |
59 |
+ dev-python/tomli[${PYTHON_USEDEP}] |
60 |
+ dev-python/tomlkit[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+distutils_enable_tests pytest |
65 |
+ |
66 |
+EPYTEST_IGNORE=( |
67 |
+ # validate_pyproject is not packaged |
68 |
+ tests/test_examples.py |
69 |
+) |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ sed -i -e 's:--cov ini2toml --cov-report term-missing::' setup.cfg || die |
73 |
+ distutils-r1_src_prepare |
74 |
+} |