sci-visualization/fsleyes: version bump 0.32.3
Package-Manager: Portage-2.3.95, Repoman-2.3.21 Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
parent
d7f8e92ad9
commit
5d8f478559
@ -1,3 +1,8 @@
|
||||
*fsleyes-0.32.3 (25 Mar 2020)
|
||||
|
||||
25 Mar 2020; <chymera@gentoo.org> +fsleyes-0.32.3.ebuild:
|
||||
sci-visualization/fsleyes: version bump 0.32.3
|
||||
|
||||
*fsleyes-0.32.0 (24 Jan 2020)
|
||||
|
||||
24 Jan 2020; <chymera@gentoo.org> +files/fsleyes-0.32.0-coverage.patch,
|
||||
|
@ -1 +1,2 @@
|
||||
DIST fsleyes-0.32.0.tar.gz 87700064 SHA256 5e728b265608df8cf1a18ddda8694446e44550b0072884a5bb2bf70cb6489862 SHA512 de501e0527c94faad77bffdc6e9262ae185e661bc1b2ca494d75e7f33d7532b7b786c0b776682a0fa08fc48708e3d090de5319b02d4f9b3c0abb75c7cf1e9d1a WHIRLPOOL 1446c04514dbaf07d86b61c231f56d12433d6f49b1dfafb971d444fca067a7bacd9d1593981b19fcb5f4d503ad736ff2f4a9588514a2851180af632108f3b301
|
||||
DIST fsleyes-0.32.3.tar.gz 87756679 SHA256 06df776bcca0e6457817132c86a3140edccc5c6f94ff8cfc2b9f54385ad4d394 SHA512 0027f923deac82d7d5f4916716dd46579c9a824d86415896fbb096bcc94cd3eead2f2d754b55d666764783abc9025d6d6f6313d1cee60bd1035348191475dd0f WHIRLPOOL f64a91ebc0e08094725faa311209f8ffb3e507b96808a17966aaf7664e30be7363a6133e05afcf0b958a6d9f3d0ad96b7a164a15bc65462a2875e4114e2dd37d
|
||||
|
80
sci-visualization/fsleyes/fsleyes-0.32.3.ebuild
Normal file
80
sci-visualization/fsleyes/fsleyes-0.32.3.ebuild
Normal file
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1 desktop virtualx
|
||||
|
||||
DESCRIPTION="The new FSL image viewer, released with FSL 5.0.10"
|
||||
HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master"
|
||||
SRC_URI="
|
||||
https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/-/archive/${PV}/${P}.tar.gz
|
||||
https://github.com/pauldmccarthy/fsleyes/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/fslpy-1.13.2[${PYTHON_USEDEP}]
|
||||
=dev-python/jinja-2*[${PYTHON_USEDEP}]
|
||||
>=dev-python/matplotlib-1.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.14.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pillow-3.4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopengl-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopengl_accelerate-3.1.0[${PYTHON_USEDEP}]
|
||||
=dev-python/pyparsing-2*[${PYTHON_USEDEP}]
|
||||
=dev-python/six-1*[${PYTHON_USEDEP}]
|
||||
>=dev-python/wxpython-3.0.2.0[${PYTHON_USEDEP}]
|
||||
>=sci-libs/scipy-0.18[${PYTHON_USEDEP}]
|
||||
sci-libs/nibabel[${PYTHON_USEDEP}]
|
||||
sci-visualization/fsleyes-widgets[${PYTHON_USEDEP}]
|
||||
sci-visualization/fsleyes-props[${PYTHON_USEDEP}]
|
||||
"
|
||||
#=sci-libs/nibabel-2*[${PYTHON_USEDEP}]
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.26.2-fsldir.patch"
|
||||
"${FILESDIR}/${PN}-0.32.0-coverage.patch"
|
||||
"${FILESDIR}/${PN}-0.32.0-tests_timeout.patch"
|
||||
"${FILESDIR}/${PN}-0.32.0-tests_fail.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s/Pillow>=3.2.0,<6.0/Pillow>=3.2.0/g" requirements.txt
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
doicon userdoc/images/fsleyes_icon.png
|
||||
local size
|
||||
for size in 16 32 128 256 512 ; do
|
||||
doicon -s ${size} assets/icons/app_icon/${PN}.iconset/icon_${size}x${size}.png
|
||||
done
|
||||
make_desktop_entry fsleyes FSLeyes /usr/share/icons/hicolor/128x128/apps/icon_128x128.png
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
python_test() {
|
||||
virtx pytest -vv || die
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user