Merge branch 'master' of github.com:TheChymera/overlay
This commit is contained in:
commit
ca5f02d066
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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() {
|
||||
|
2
sci-visualization/fsleyes/ChangeLog
Normal file
2
sci-visualization/fsleyes/ChangeLog
Normal file
@ -0,0 +1,2 @@
|
||||
15 Apr 2019; <chymera@gentoo.org> fsleyes-0.27.3.ebuild:
|
||||
sci-visualization/fsleyes:
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user