1
0
mirror of synced 2025-01-03 18:41:59 +01:00

Merge branch 'master' of github.com:TheChymera/overlay

This commit is contained in:
Horea Christian 2019-04-20 06:47:54 +02:00
commit ca5f02d066
5 changed files with 21 additions and 18 deletions

View File

@ -35,17 +35,17 @@ RDEPEND="
# https://github.com/pauldmccarthy/fslpy/issues/3
#RESTRICT="test"
python_prepare_all() {
if use test; then
# Reported upstream
# https://github.com/pauldmccarthy/fslpy/issues/3
#sed -i -e \
# "/def test_loadVestLutFile():/i@pytest.mark.xfail(reason='Known to fail on Gentoo')" \
# tests/test_vest.py || die
rm tests/test_vest.py
fi
distutils-r1_python_prepare_all
}
#python_prepare_all() {
# if use test; then
# # Reported upstream
# # https://github.com/pauldmccarthy/fslpy/issues/3
# #sed -i -e \
# # "/def test_loadVestLutFile():/i@pytest.mark.xfail(reason='Known to fail on Gentoo')" \
# # tests/test_vest.py || die
# #rm tests/test_vest.py
# fi
# distutils-r1_python_prepare_all
#}
python_test() {
virtx pytest -m "not (dicomtest or fsltest)" --verbose || die

View File

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -37,8 +37,6 @@ RESTRICT="test"
python_test() {
rm bids/tests/test_config.py || die
distutils_install_for_testing
#cd "${TEST_DIR}" || die "no ${TEST_DIR} available"
pytest -vv || die
die
}

View File

@ -41,7 +41,7 @@ S="${WORKDIR}/${MYP}"
DOCS=( CONTRIBUTORS.txt RELEASE.txt TODO.txt )
# Fails on Gentoo
RESTRICT="test"
#RESTRICT="test"
python_prepare_all() {
# Remove pip dependency
@ -58,7 +58,10 @@ python_test() {
echo "backend : Agg" > matplotlibrc || die
#echo "backend.qt4 : PyQt4" >> matplotlibrc || die
#echo "backend.qt4 : PySide" >> matplotlibrc || die
pytest -vv || die
mkdir "${WORKDIR}/empty_test_dir" || die
cd "${WORKDIR}/empty_test_dir" || die
pytest --pyargs skimage || die
#pytest -vv || die
}
pkg_postinst() {

View File

@ -0,0 +1,2 @@
15 Apr 2019; <chymera@gentoo.org> fsleyes-0.27.3.ebuild:
sci-visualization/fsleyes:

View File

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -57,7 +57,7 @@ PATCHES=(
)
src_prepare() {
sed -i -e "s/Pillow>=3.2.0,<5.0/Pillow>=3.2.0/g" requirements.txt
sed -i -e "s/Pillow>=3.2.0,<6.0/Pillow>=3.2.0/g" requirements.txt
distutils-r1_src_prepare
}