1
0
Fork 0

sci-visualization/niicat: new package ahead of Gentoo Scinece

This commit is contained in:
Jimmy2027 2019-11-13 19:10:16 +01:00
parent 2209e6570d
commit 4260942b07
3 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,4 @@
*niicat-0_alpha (13 Nov 2019)
13 Nov 2019; <hendrik@gentoo.org> +metadata.xml, +niicat-0_alpha.ebuild:
sci-visualization/niicat: new package ahead of Gentoo Science

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>klugh@student.ethz.ch</email>
<name>Hendrik Klug</name>
</maintainer>
<longdescription lang="en">
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.
</longdescription>
<upstream>
<remote-id type="github">wasserth/niicat</remote-id>
</upstream>
</pkgmetadata>

View File

@ -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
"