1 |
commit: c4488912f7cc1fe4f5fc39023fd5fd707a089c7f |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 27 07:12:06 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 27 09:29:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4488912 |
7 |
|
8 |
dev-python/flufl-i18n: enable py3.10, cleanup |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/flufl-i18n/flufl-i18n-3.2.ebuild | 16 ++++++---------- |
13 |
1 file changed, 6 insertions(+), 10 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/flufl-i18n/flufl-i18n-3.2.ebuild b/dev-python/flufl-i18n/flufl-i18n-3.2.ebuild |
16 |
index bc9300e4f4e..59ecea88255 100644 |
17 |
--- a/dev-python/flufl-i18n/flufl-i18n-3.2.ebuild |
18 |
+++ b/dev-python/flufl-i18n/flufl-i18n-3.2.ebuild |
19 |
@@ -3,31 +3,27 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
-PYTHON_COMPAT=( python3_{7..9} ) |
24 |
+PYTHON_COMPAT=( python3_{8..10} ) |
25 |
inherit distutils-r1 |
26 |
|
27 |
MY_P=${P/-/.} |
28 |
+ |
29 |
DESCRIPTION="A high level API for Python internationalization" |
30 |
HOMEPAGE="https://gitlab.com/warsaw/flufl.i18n" |
31 |
SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" |
32 |
-S=${WORKDIR}/${MY_P} |
33 |
+S="${WORKDIR}/${MY_P}" |
34 |
|
35 |
LICENSE="Apache-2.0" |
36 |
SLOT="0" |
37 |
KEYWORDS="~amd64 ~x86" |
38 |
|
39 |
-RDEPEND=" |
40 |
- dev-python/atpublic[${PYTHON_USEDEP}] |
41 |
- $(python_gen_cond_dep ' |
42 |
- dev-python/typing-extensions[${PYTHON_USEDEP}] |
43 |
- ' python3_7)" |
44 |
-BDEPEND=" |
45 |
- test? ( dev-python/sybil[${PYTHON_USEDEP}] )" |
46 |
+RDEPEND="dev-python/atpublic[${PYTHON_USEDEP}]" |
47 |
+BDEPEND="test? ( dev-python/sybil[${PYTHON_USEDEP}] )" |
48 |
|
49 |
distutils_enable_tests pytest |
50 |
|
51 |
src_prepare() { |
52 |
- sed -i -e 's:--cov=flufl::' setup.cfg || die |
53 |
+ sed -e '/addopts/d' -i setup.cfg || die |
54 |
distutils-r1_src_prepare |
55 |
} |