1 |
commit: af478281564183c5659840bec7e424d7b078d9fb |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 10 17:57:21 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 10 18:06:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af478281 |
7 |
|
8 |
dev-python/tomli-w: Enable py3.11 |
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 | 15 +++++++++++---- |
13 |
1 file changed, 11 insertions(+), 4 deletions(-) |
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 |
index a2553aaaab0f..2d68495a7fe3 100644 |
17 |
--- a/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild |
18 |
+++ b/dev-python/tomli-w/tomli-w-1.0.0-r1.ebuild |
19 |
@@ -4,23 +4,30 @@ |
20 |
EAPI=8 |
21 |
|
22 |
DISTUTILS_USE_PEP517=flit |
23 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
24 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
25 |
|
26 |
inherit distutils-r1 |
27 |
|
28 |
DESCRIPTION="A lil' TOML writer" |
29 |
HOMEPAGE=" |
30 |
https://pypi.org/project/tomli-w/ |
31 |
- https://github.com/hukkin/tomli-w/" |
32 |
+ https://github.com/hukkin/tomli-w/ |
33 |
+" |
34 |
SRC_URI=" |
35 |
https://github.com/hukkin/tomli-w/archive/${PV}.tar.gz |
36 |
- -> ${P}.gh.tar.gz" |
37 |
+ -> ${P}.gh.tar.gz |
38 |
+" |
39 |
|
40 |
LICENSE="MIT" |
41 |
SLOT="0" |
42 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
43 |
|
44 |
BDEPEND=" |
45 |
- test? ( dev-python/tomli[${PYTHON_USEDEP}] )" |
46 |
+ test? ( dev-python/tomli[${PYTHON_USEDEP}] ) |
47 |
+" |
48 |
|
49 |
distutils_enable_tests pytest |
50 |
+ |
51 |
+python_test() { |
52 |
+ epytest tests |
53 |
+} |