1 |
Signed-off-by: Michał Górny <mgorny@g.o> |
2 |
--- |
3 |
dev-python/tomli/tomli-2.0.1-r1.ebuild | 36 ++++++++++++++++++++++++++ |
4 |
1 file changed, 36 insertions(+) |
5 |
create mode 100644 dev-python/tomli/tomli-2.0.1-r1.ebuild |
6 |
|
7 |
diff --git a/dev-python/tomli/tomli-2.0.1-r1.ebuild b/dev-python/tomli/tomli-2.0.1-r1.ebuild |
8 |
new file mode 100644 |
9 |
index 000000000000..338d877a350d |
10 |
--- /dev/null |
11 |
+++ b/dev-python/tomli/tomli-2.0.1-r1.ebuild |
12 |
@@ -0,0 +1,36 @@ |
13 |
+# Copyright 2021-2022 Gentoo Authors |
14 |
+# Distributed under the terms of the GNU General Public License v2 |
15 |
+ |
16 |
+# please keep this ebuild at EAPI 7 -- sys-apps/portage dep |
17 |
+EAPI=7 |
18 |
+ |
19 |
+DISTUTILS_USE_PEP517=no |
20 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
21 |
+ |
22 |
+inherit distutils-r1 |
23 |
+ |
24 |
+DESCRIPTION="A lil' TOML parser" |
25 |
+HOMEPAGE=" |
26 |
+ https://pypi.org/project/tomli/ |
27 |
+ https://github.com/hukkin/tomli/ |
28 |
+" |
29 |
+SRC_URI=" |
30 |
+ https://github.com/hukkin/tomli/archive/${PV}.tar.gz |
31 |
+ -> ${P}.gh.tar.gz |
32 |
+ https://files.pythonhosted.org/packages/py3/${PN::1}/${PN}/${P}-py3-none-any.whl |
33 |
+ -> ${P}-py3-none-any.whl.zip |
34 |
+" |
35 |
+ |
36 |
+LICENSE="MIT" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris" |
39 |
+ |
40 |
+BDEPEND=" |
41 |
+ app-arch/unzip |
42 |
+" |
43 |
+ |
44 |
+distutils_enable_tests unittest |
45 |
+ |
46 |
+python_compile() { |
47 |
+ python_domodule src/tomli "${WORKDIR}"/*.dist-info |
48 |
+} |
49 |
-- |
50 |
2.35.1 |