From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes/
Date: Tue, 11 Oct 2022 19:20:32 +0000 (UTC) [thread overview]
Message-ID: <1665515814.957a023f81d9815aba951deeb01c4f70f7013656.andrewammerlaan@gentoo> (raw)
commit: 957a023f81d9815aba951deeb01c4f70f7013656
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 19:08:08 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 19:16:54 2022 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=957a023f
sci-visualization/fsleyes: add 1.5.0
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-visualization/fsleyes/fsleyes-1.5.0.ebuild | 65 ++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
diff --git a/sci-visualization/fsleyes/fsleyes-1.5.0.ebuild b/sci-visualization/fsleyes/fsleyes-1.5.0.ebuild
new file mode 100644
index 000000000..83fe78c68
--- /dev/null
+++ b/sci-visualization/fsleyes/fsleyes-1.5.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+inherit xdg 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"
+
+RDEPEND="
+ >=dev-python/fslpy-3.9[${PYTHON_USEDEP}]
+ >=dev-python/jinja-2[${PYTHON_USEDEP}]
+ >=dev-python/matplotlib-1.5.1[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.14[${PYTHON_USEDEP}]
+ >=dev-python/pillow-3.2.0[${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/wxpython-4[${PYTHON_USEDEP}]
+ >=dev-python/scipy-0.18[${PYTHON_USEDEP}]
+ >=sci-libs/nibabel-2.3[${PYTHON_USEDEP}]
+ >=sci-visualization/fsleyes-widgets-0.12.3[${PYTHON_USEDEP}]
+ >=sci-visualization/fsleyes-props-1.8[${PYTHON_USEDEP}]
+ "
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.26.2-fsldir.patch"
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx userdoc dev-python/sphinx_rtd_theme
+
+python_prepare_all() {
+ # do not depend on pytest-cov
+ sed -i -e '/addopts/d' setup.cfg || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ doicon -s 48 fsleyes/assets/linux/hicolor/48x48/apps/*.png
+ domenu fsleyes/assets/linux/*.desktop
+ insinto /usr/share/metainfo
+ doins fsleyes/assets/linux/*.appdata.xml
+ local size
+ for size in 16 32 128 256 512 ; do
+ newicon -s ${size} fsleyes/assets/icons/app_icon/${PN}.iconset/icon_${size}x${size}.png "${PN}.png"
+ done
+}
+
+python_test() {
+ virtx epytest
+}
next reply other threads:[~2022-10-11 19:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-11 19:20 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-12 12:28 [gentoo-commits] proj/sci:master commit in: sci-visualization/fsleyes/ Paul Zander
2022-10-11 19:20 Andrew Ammerlaan
2021-02-01 1:54 Horea Christian
2021-01-20 12:31 Andrew Ammerlaan
2021-01-20 12:29 Andrew Ammerlaan
2020-09-27 15:26 Aisha Tammy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1665515814.957a023f81d9815aba951deeb01c4f70f7013656.andrewammerlaan@gentoo \
--to=andrewammerlaan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox