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
)
distutils-r1_src_prepare
}
-
-python_test() {
- pytest -vv || die "Testing failed"
-}