dev-python/blosc: Port to py3.9

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-06-10 11:24:34 +02:00
parent 2139642ab9
commit 0843e5fe16

View File

@@ -2,7 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..8} )
DISTUTILS_USE_SETUPTOOLS=no
PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
@@ -17,9 +19,9 @@ IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-libs/c-blosc:="
DEPEND="${RDEPEND}
DEPEND="${RDEPEND}"
BDEPEND="
dev-python/scikit-build[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
@@ -32,12 +34,6 @@ python_prepare_all() {
DOCS=( ANNOUNCE.rst README.rst RELEASE_NOTES.rst )
}
python_compile_all() {
esetup.py build_clib
esetup.py build_ext --inplace
esetup.py build
}
python_test() {
cd "${BUILD_DIR}"/lib || die
PYTHONPATH=. nosetests -v || die