summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-04-27 08:58:36 +0200
committerMichał Górny <mgorny@gentoo.org>2020-04-27 09:18:35 +0200
commit577fb95b3e0ee8a6c124b940494e46e50f05787e (patch)
tree63006387f09027c760a851d11a14bbbf111bcc34 /dev-python/brotlipy
parentdev-python/pyzbar: Correct dependencies (diff)
downloadgentoo-577fb95b3e0ee8a6c124b940494e46e50f05787e.tar.gz
gentoo-577fb95b3e0ee8a6c124b940494e46e50f05787e.tar.bz2
gentoo-577fb95b3e0ee8a6c124b940494e46e50f05787e.zip
dev-python/brotlipy: Modernize
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/brotlipy')
-rw-r--r--dev-python/brotlipy/brotlipy-0.7.0-r1.ebuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/dev-python/brotlipy/brotlipy-0.7.0-r1.ebuild b/dev-python/brotlipy/brotlipy-0.7.0-r1.ebuild
index 7cd6af268498..3f600dc16b68 100644
--- a/dev-python/brotlipy/brotlipy-0.7.0-r1.ebuild
+++ b/dev-python/brotlipy/brotlipy-0.7.0-r1.ebuild
@@ -20,21 +20,18 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
# module name collision with app-arch/brotli
RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]
!app-arch/brotli[python]"
DEPEND="
- ${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}]
)
"
+distutils_enable_tests pytest
+
PATCHES=(
"${FILESDIR}"/brotlipy-0.7.0-test-deadline.patch
)
@@ -49,7 +46,3 @@ src_prepare() {
distutils-r1_src_prepare
}
-
-python_test() {
- pytest -vv || die "Testing failed"
-}