Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/cattrs/
Date: Tue, 29 Jun 2021 03:25:07
Message-Id: 1624937100.9cea627aafe3aca38fcc5a06928fef55dfb30271.Alessandro-Barbieri@gentoo
1 commit: 9cea627aafe3aca38fcc5a06928fef55dfb30271
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Tue Jun 29 03:13:46 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Tue Jun 29 03:25:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9cea627a
7
8 dev-python/cattrs: add more test deps
9
10 Closes: https://bugs.gentoo.org/799080
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
13
14 dev-python/cattrs/cattrs-1.7.0.ebuild | 17 ++++++++++++-----
15 1 file changed, 12 insertions(+), 5 deletions(-)
16
17 diff --git a/dev-python/cattrs/cattrs-1.7.0.ebuild b/dev-python/cattrs/cattrs-1.7.0.ebuild
18 index d8e1cf75e..faf55aabb 100644
19 --- a/dev-python/cattrs/cattrs-1.7.0.ebuild
20 +++ b/dev-python/cattrs/cattrs-1.7.0.ebuild
21 @@ -1,24 +1,31 @@
22 # Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=8
26 +EAPI=7
27
28 DISTUTILS_USE_SETUPTOOLS=pyproject.toml
29 -PYTHON_COMPAT=( python3_{8..9} pypy3 )
30 +PYTHON_COMPAT=( python3_{8..9} )
31
32 inherit distutils-r1
33
34 SRC_URI="https://github.com/Tinche/cattrs/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
35 -KEYWORDS="~amd64 ~x86"
36 +KEYWORDS=""
37 DESCRIPTION="Complex custom class converters for attrs"
38 HOMEPAGE="https://github.com/Tinche/cattrs"
39 LICENSE="MIT"
40 SLOT="0"
41
42 -RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]"
43 +RDEPEND=">=dev-python/attrs-20[${PYTHON_USEDEP}]"
44 DEPEND="
45 ${RDEPEND}
46 - test? ( dev-python/hypothesis[${PYTHON_USEDEP}] )
47 + test? (
48 + dev-python/bson[${PYTHON_USEDEP}]
49 + dev-python/immutables[${PYTHON_USEDEP}]
50 + dev-python/hypothesis[${PYTHON_USEDEP}]
51 + dev-python/orjson[${PYTHON_USEDEP}]
52 + dev-python/pytest-benchmark[${PYTHON_USEDEP}]
53 + dev-python/ujson[${PYTHON_USEDEP}]
54 + )
55 "
56
57 distutils_enable_tests pytest