From 5db303f692ab6b0f2fcb8903871da08bdbca2df2 Mon Sep 17 00:00:00 2001 From: Jimmy2027 Date: Wed, 13 Nov 2019 18:18:50 +0100 Subject: [PATCH] ebuild for niicat --- sci-visualization/niicat/metadata.xml | 15 +++++++++++ .../niicat/niicat-0_alpha.ebuild | 26 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 sci-visualization/niicat/metadata.xml create mode 100644 sci-visualization/niicat/niicat-0_alpha.ebuild diff --git a/sci-visualization/niicat/metadata.xml b/sci-visualization/niicat/metadata.xml new file mode 100644 index 0000000..8498e96 --- /dev/null +++ b/sci-visualization/niicat/metadata.xml @@ -0,0 +1,15 @@ + + + + + klugh@student.ethz.ch + Hendrik Klug + + + This is a tool to quickly preview nifti images on the terminal. This can be helpful if you are working on a remote server via SSH and do not have a -X connection. + Per default it uses libsixel to display the images. If you add the option -ic it will use iTerm2's imgcat command instead of libsixel to display the images. + + + wasserth/niicat + + diff --git a/sci-visualization/niicat/niicat-0_alpha.ebuild b/sci-visualization/niicat/niicat-0_alpha.ebuild new file mode 100644 index 0000000..f37f98b --- /dev/null +++ b/sci-visualization/niicat/niicat-0_alpha.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6} ) + +inherit distutils-r1 git-r3 + +DESCRIPTION="This is a tool to quickly preview nifti images on the terminal" +HOMEPAGE="https://github.com/wasserth/niicat" +SRC_URI="" +EGIT_REPO_URI="https://github.com/wasserth/niicat" +EGIT_COMMIT="e4195584828e6af4f5d0efa6c2e551df9d94a99b" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" #??? +IUSE="doc test" #??? + +RDEPEND=" + >=sci-libs/nibabel-2.3.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + media-libs/libsixel +"