diff --git a/sci-biology/ants/ChangeLog b/sci-biology/ants/ChangeLog new file mode 100644 index 0000000..53f939d --- /dev/null +++ b/sci-biology/ants/ChangeLog @@ -0,0 +1,6 @@ +*ants-2.3.1-r1 (25 Mar 2019) +*ants-9999 (25 Mar 2019) + + 25 Mar 2019; +ants-2.3.1-r1.ebuild, +ants-9999.ebuild, + +files/99ants, +metadata.xml: + sci-biology/ants: fixes ahead of Gentoo Science diff --git a/sci-biology/ants/Manifest b/sci-biology/ants/Manifest new file mode 100644 index 0000000..a689309 --- /dev/null +++ b/sci-biology/ants/Manifest @@ -0,0 +1 @@ +DIST ants-2.3.1.tar.gz 2437950 SHA256 c0680feab0ebb85c8cd6685043126666929b35e1cf387a5cc1d3a2d7169bddd3 SHA512 c22af10b7aed1dc5c6b06d6b7d3b2c33ced382926ab5972dd55e4766ff0269330bf01e6975712d991e96c5d9d23f78c8081a3ff475ea92d539c695105b5cfe9a WHIRLPOOL 54c0f411bbd305530c9a8fcdfc66e42f76991c209330375e11d65522ad7a2d58066fc349aae68d003aaab413b59bdabf2f9f5cdfd5626269caa9968909785964 diff --git a/sci-biology/ants/ants-2.3.1-r1.ebuild b/sci-biology/ants/ants-2.3.1-r1.ebuild new file mode 100644 index 0000000..656d0d4 --- /dev/null +++ b/sci-biology/ants/ants-2.3.1-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils multilib + +DESCRIPTION="Advanced Normalitazion Tools for neuroimaging" +HOMEPAGE="http://stnava.github.io/ANTs/" +SRC_URI="https://github.com/ANTsX/ANTs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" + +DEPEND=">=dev-util/cmake-3.10.3" +RDEPEND="" + +S="${WORKDIR}/ANTs-${PV}" + +RESTRICT="network-sandbox" + +src_install() { + cd "${WORKDIR}/${P}_build/ANTS-build" || die "build dir not found" + default + cd "${S}/Scripts" || die "scripts dir not found" + dobin *.sh + dodir /usr/$(get_libdir)/ants + install -t "${D}"usr/$(get_libdir)/ants * + doenvd "${FILESDIR}"/99ants +} diff --git a/sci-biology/ants/ants-9999.ebuild b/sci-biology/ants/ants-9999.ebuild new file mode 100644 index 0000000..885d1c3 --- /dev/null +++ b/sci-biology/ants/ants-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils git-r3 multilib + +DESCRIPTION="Advanced Normalitazion Tools for neuroimaging" +HOMEPAGE="http://stnava.github.io/ANTs/" +SRC_URI="" +EGIT_REPO_URI="https://github.com/stnava/ANTs.git" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="" + +DEPEND=">=dev-util/cmake-3.10.3" +RDEPEND="" + +src_install() { + cd "${WORKDIR}/${P}_build/ANTS-build" || die "build dir not found" + default + cd "${WORKDIR}/ANTs-${PV}/Scripts" || die "scripts dir not found" + dobin *.sh + dodir /usr/$(get_libdir)/ants + install -t "${D}"usr/$(get_libdir)/ants * + doenvd "${FILESDIR}"/99ants +} diff --git a/sci-biology/ants/files/99ants b/sci-biology/ants/files/99ants new file mode 100644 index 0000000..c0d7bef --- /dev/null +++ b/sci-biology/ants/files/99ants @@ -0,0 +1 @@ +ANTSPATH=/usr/bin/ diff --git a/sci-biology/ants/metadata.xml b/sci-biology/ants/metadata.xml new file mode 100644 index 0000000..6d6b0d8 --- /dev/null +++ b/sci-biology/ants/metadata.xml @@ -0,0 +1,21 @@ + + + + + horea.christ@gmail.com + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + + ANTs extracts information from complex datasets that include imaging + (Word Cloud). Paired with ANTsR (answer), ANTs is useful for managing, + interpreting and visualizing multidimensional data. ANTs is popularly + considered a state-of-the-art medical image registration and segmentation + toolkit. ANTsR is an emerging tool supporting standardized multimodality + image analysis. ANTs depends on the Insight ToolKit (ITK), a widely used + medical image processing library to which ANTs developers contribute. + +