commit:     6582546f7efc4be481b58d7cfd055f02b5d9e1f1
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Mon Jun 25 21:38:20 2018 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Jun 26 00:24:27 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6582546f

sci-biology/ants: Version bump and improvements

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../ants/{ants-9999.ebuild => ants-2.3.1.ebuild}    | 17 +++++++++--------
 sci-biology/ants/ants-9999.ebuild                   |  8 ++++----
 sci-biology/ants/metadata.xml                       | 21 +++++++++++++--------
 3 files changed, 26 insertions(+), 20 deletions(-)

diff --git a/sci-biology/ants/ants-9999.ebuild 
b/sci-biology/ants/ants-2.3.1.ebuild
similarity index 63%
copy from sci-biology/ants/ants-9999.ebuild
copy to sci-biology/ants/ants-2.3.1.ebuild
index 3f5ce2ddb..e48e7892a 100644
--- a/sci-biology/ants/ants-9999.ebuild
+++ b/sci-biology/ants/ants-2.3.1.ebuild
@@ -1,26 +1,27 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-inherit cmake-utils git-r3 multilib
+inherit cmake-utils multilib
 
 DESCRIPTION="Advanced Normalitazion Tools for neuroimaging"
 HOMEPAGE="http://stnava.github.io/ANTs/";
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/stnava/ANTs.git";
+SRC_URI="https://github.com/ANTsX/ANTs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
 
-DEPEND=""
-RDEPEND="${DEPEND}"
+DEPEND=">=dev-util/cmake-3.10.3"
+RDEPEND=""
+
+S="${WORKDIR}/ANTs-${PV}"
 
 src_install() {
        cd "${WORKDIR}/${P}_build/ANTS-build" || die "build dir not found"
        default
-       cd "${WORKDIR}/${P}/Scripts" || die "scripts dir not found"
+       cd "${S}/Scripts" || die "scripts dir not found"
        dobin *.sh
        dodir /usr/$(get_libdir)/ants
        install -t "${D}"usr/$(get_libdir)/ants *

diff --git a/sci-biology/ants/ants-9999.ebuild 
b/sci-biology/ants/ants-9999.ebuild
index 3f5ce2ddb..da7514fca 100644
--- a/sci-biology/ants/ants-9999.ebuild
+++ b/sci-biology/ants/ants-9999.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 inherit cmake-utils git-r3 multilib
 
@@ -14,13 +14,13 @@ SLOT="0"
 LICENSE="BSD"
 KEYWORDS=""
 
-DEPEND=""
-RDEPEND="${DEPEND}"
+DEPEND=">=dev-util/cmake-3.10.3"
+RDEPEND=""
 
 src_install() {
        cd "${WORKDIR}/${P}_build/ANTS-build" || die "build dir not found"
        default
-       cd "${WORKDIR}/${P}/Scripts" || die "scripts dir not found"
+       cd "${WORKDIR}/ANTs-${PV}/Scripts" || die "scripts dir not found"
        dobin *.sh
        dodir /usr/$(get_libdir)/ants
        install -t "${D}"usr/$(get_libdir)/ants *

diff --git a/sci-biology/ants/metadata.xml b/sci-biology/ants/metadata.xml
index e55eec26d..6d6b0d88a 100644
--- a/sci-biology/ants/metadata.xml
+++ b/sci-biology/ants/metadata.xml
@@ -1,16 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
+       <maintainer type="person">
+               <email>horea.chr...@gmail.com</email>
+               <name>Horea Christian</name>
+       </maintainer>
        <maintainer type="project">
                <email>s...@gentoo.org</email>
                <name>Gentoo Science Project</name>
        </maintainer>
-       <longdescription>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.
-</longdescription>
+       <longdescription>
+               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.
+       </longdescription>
 </pkgmetadata>

Reply via email to