1
0
Fork 0

ebuild for niicat

This commit is contained in:
Jimmy2027 2019-11-13 18:18:50 +01:00
parent 95cd426de4
commit 5db303f692
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<?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
"