1 |
commit: 4932df62ec2ab9fac59ff2627e734be0ea36636d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 17 06:51:59 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 17 07:03:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4932df62 |
7 |
|
8 |
dev-python/tomli: New NIH toml parser for dev-python/black |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/tomli/Manifest | 1 + |
13 |
dev-python/tomli/metadata.xml | 11 +++++++++++ |
14 |
dev-python/tomli/tomli-1.0.4.ebuild | 25 +++++++++++++++++++++++++ |
15 |
3 files changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/tomli/Manifest b/dev-python/tomli/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..76649fa27b6 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/tomli/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST tomli-1.0.4.gh.tar.gz 120508 BLAKE2B bd75568315b405598578b395ec0e20b7f37e9ceee58f145cda8adaf58a3fa549cd35902650f5b2aa84b764ab32eac8a21d3ffd94c0c4c43eab3c3a0b49203a71 SHA512 e30e06ea805c94359596c3d6db82464ccafcdde0172cae12d62c889c70986159b3198cf465183854bef1b048c21e487c2b0dad2825e2477d363885e749b238ee |
24 |
|
25 |
diff --git a/dev-python/tomli/metadata.xml b/dev-python/tomli/metadata.xml |
26 |
new file mode 100644 |
27 |
index 00000000000..8a278aa4b56 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/tomli/metadata.xml |
30 |
@@ -0,0 +1,11 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="project"> |
35 |
+ <email>python@g.o</email> |
36 |
+ </maintainer> |
37 |
+ <upstream> |
38 |
+ <remote-id type="github">hukkin/tomli</remote-id> |
39 |
+ <remote-id type="pypi">tomli</remote-id> |
40 |
+ </upstream> |
41 |
+</pkgmetadata> |
42 |
|
43 |
diff --git a/dev-python/tomli/tomli-1.0.4.ebuild b/dev-python/tomli/tomli-1.0.4.ebuild |
44 |
new file mode 100644 |
45 |
index 00000000000..770d80a88e1 |
46 |
--- /dev/null |
47 |
+++ b/dev-python/tomli/tomli-1.0.4.ebuild |
48 |
@@ -0,0 +1,25 @@ |
49 |
+# Copyright 2021 Gentoo Authors |
50 |
+# Distributed under the terms of the GNU General Public License v2 |
51 |
+ |
52 |
+EAPI=8 |
53 |
+ |
54 |
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
55 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
56 |
+inherit distutils-r1 |
57 |
+ |
58 |
+DESCRIPTION="A lil' TOML parser" |
59 |
+HOMEPAGE=" |
60 |
+ https://pypi.org/project/tomli/ |
61 |
+ https://github.com/hukkin/tomli/" |
62 |
+SRC_URI=" |
63 |
+ https://github.com/hukkin/tomli/archive/${PV}.tar.gz |
64 |
+ -> ${P}.gh.tar.gz" |
65 |
+ |
66 |
+LICENSE="MIT" |
67 |
+SLOT="0" |
68 |
+KEYWORDS="~amd64 ~x86" |
69 |
+ |
70 |
+BDEPEND=" |
71 |
+ test? ( dev-python/python-dateutil[${PYTHON_USEDEP}] )" |
72 |
+ |
73 |
+distutils_enable_tests pytest |