1 |
commit: 34608a71618411d5b607289faa9b99abd1a4c5f6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 27 09:48:11 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 27 10:02:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34608a71 |
7 |
|
8 |
dev-python/tomli-w: Switch to PEP 517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild | 26 ++++++++++++++++++++++++++ |
13 |
1 file changed, 26 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild b/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..d45b2248a1e7 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild |
20 |
@@ -0,0 +1,26 @@ |
21 |
+# Copyright 2021-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=flit |
27 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="A lil' TOML writer" |
32 |
+HOMEPAGE=" |
33 |
+ https://pypi.org/project/tomli-w/ |
34 |
+ https://github.com/hukkin/tomli-w/" |
35 |
+SRC_URI=" |
36 |
+ https://github.com/hukkin/tomli-w/archive/${PV}.tar.gz |
37 |
+ -> ${P}.gh.tar.gz" |
38 |
+ |
39 |
+LICENSE="MIT" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
42 |
+ |
43 |
+BDEPEND=" |
44 |
+ test? ( dev-python/tomli[${PYTHON_USEDEP}] )" |
45 |
+ |
46 |
+distutils_enable_tests pytest |