Gentoo Archives: gentoo-commits

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