mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/numexpr: add patch merged upstream to fix test failures
Package-Manager: portage-2.2.20
This commit is contained in:
@@ -23,6 +23,8 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-testfix.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
# TODO: mkl can be used but it fails for me
|
||||
# only works with mkl in tree. newer mkl will use pkgconfig
|
||||
@@ -46,8 +48,6 @@ python_compile() {
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://github.com/pydata/numexpr/issues/177
|
||||
# there are 2 known test failures under py3 only
|
||||
pushd "${BUILD_DIR}"/lib > /dev/null
|
||||
"${PYTHON}" -c "import numexpr; numexpr.test()" || die
|
||||
pushd > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user