1 |
commit: 231aed1c354f277414583357f5a626bfdc6282bc |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jun 30 21:58:06 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Jun 30 21:58:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=231aed1c |
7 |
|
8 |
dev-python/cattrs: keyword 1.7.0 for ~amd64 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/cattrs/cattrs-1.7.0.ebuild | 26 ++++++++++++++++++-------- |
13 |
1 file changed, 18 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/cattrs/cattrs-1.7.0.ebuild b/dev-python/cattrs/cattrs-1.7.0.ebuild |
16 |
index faf55aabb..3811ca471 100644 |
17 |
--- a/dev-python/cattrs/cattrs-1.7.0.ebuild |
18 |
+++ b/dev-python/cattrs/cattrs-1.7.0.ebuild |
19 |
@@ -3,28 +3,38 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
+DISTUTILS_SINGLE_IMPL=1 |
24 |
DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
25 |
PYTHON_COMPAT=( python3_{8..9} ) |
26 |
|
27 |
inherit distutils-r1 |
28 |
|
29 |
SRC_URI="https://github.com/Tinche/cattrs/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
30 |
-KEYWORDS="" |
31 |
+KEYWORDS="~amd64" |
32 |
DESCRIPTION="Complex custom class converters for attrs" |
33 |
HOMEPAGE="https://github.com/Tinche/cattrs" |
34 |
LICENSE="MIT" |
35 |
SLOT="0" |
36 |
|
37 |
-RDEPEND=">=dev-python/attrs-20[${PYTHON_USEDEP}]" |
38 |
+RDEPEND=" |
39 |
+ ${PYTHON_DEPS} |
40 |
+ $(python_gen_cond_dep '>=dev-python/attrs-20[${PYTHON_USEDEP}]') |
41 |
+" |
42 |
DEPEND=" |
43 |
${RDEPEND} |
44 |
test? ( |
45 |
- dev-python/bson[${PYTHON_USEDEP}] |
46 |
- dev-python/immutables[${PYTHON_USEDEP}] |
47 |
- dev-python/hypothesis[${PYTHON_USEDEP}] |
48 |
- dev-python/orjson[${PYTHON_USEDEP}] |
49 |
- dev-python/pytest-benchmark[${PYTHON_USEDEP}] |
50 |
- dev-python/ujson[${PYTHON_USEDEP}] |
51 |
+ $(python_gen_cond_dep ' |
52 |
+ dev-python/bson[${PYTHON_USEDEP}] |
53 |
+ dev-python/immutables[${PYTHON_USEDEP}] |
54 |
+ dev-python/hypothesis[${PYTHON_USEDEP}] |
55 |
+ dev-python/msgpack[${PYTHON_USEDEP}] |
56 |
+ dev-python/pendulum[${PYTHON_USEDEP}] |
57 |
+ dev-python/pytest-benchmark[${PYTHON_USEDEP}] |
58 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
59 |
+ dev-python/tomlkit[${PYTHON_USEDEP}] |
60 |
+ dev-python/ujson[${PYTHON_USEDEP}] |
61 |
+ ') |
62 |
+ dev-python/orjson[${PYTHON_SINGLE_USEDEP}] |
63 |
) |
64 |
" |