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/brotlipy/
Date: Mon, 27 Apr 2020 07:19:04
Message-Id: 1587971915.577fb95b3e0ee8a6c124b940494e46e50f05787e.mgorny@gentoo
1 commit: 577fb95b3e0ee8a6c124b940494e46e50f05787e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 27 06:58:36 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 27 07:18:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=577fb95b
7
8 dev-python/brotlipy: Modernize
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/brotlipy/brotlipy-0.7.0-r1.ebuild | 11 ++---------
13 1 file changed, 2 insertions(+), 9 deletions(-)
14
15 diff --git a/dev-python/brotlipy/brotlipy-0.7.0-r1.ebuild b/dev-python/brotlipy/brotlipy-0.7.0-r1.ebuild
16 index 7cd6af26849..3f600dc16b6 100644
17 --- a/dev-python/brotlipy/brotlipy-0.7.0-r1.ebuild
18 +++ b/dev-python/brotlipy/brotlipy-0.7.0-r1.ebuild
19 @@ -20,21 +20,18 @@ SRC_URI="
20 LICENSE="MIT"
21 SLOT="0"
22 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc x86"
23 -IUSE="test"
24 -RESTRICT="!test? ( test )"
25
26 # module name collision with app-arch/brotli
27 RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]
28 !app-arch/brotli[python]"
29 DEPEND="
30 - ${RDEPEND}
31 - dev-python/setuptools[${PYTHON_USEDEP}]
32 test? (
33 dev-python/hypothesis[${PYTHON_USEDEP}]
34 - dev-python/pytest[${PYTHON_USEDEP}]
35 )
36 "
37
38 +distutils_enable_tests pytest
39 +
40 PATCHES=(
41 "${FILESDIR}"/brotlipy-0.7.0-test-deadline.patch
42 )
43 @@ -49,7 +46,3 @@ src_prepare() {
44
45 distutils-r1_src_prepare
46 }
47 -
48 -python_test() {
49 - pytest -vv || die "Testing failed"
50 -}