commit:     42a90d86af7de67508087b416990dabf413955ef
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Fri Oct  9 10:04:21 2020 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Fri Oct  9 10:04:21 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=42a90d86

sci-libs/itk: eclass and RESTRICT updates

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 sci-libs/itk/itk-5.0.1.ebuild | 11 +++++------
 sci-libs/itk/itk-5.1.0.ebuild |  1 -
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/sci-libs/itk/itk-5.0.1.ebuild b/sci-libs/itk/itk-5.0.1.ebuild
index e1ec7166a..f345e06b1 100644
--- a/sci-libs/itk/itk-5.0.1.ebuild
+++ b/sci-libs/itk/itk-5.0.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
 
-inherit toolchain-funcs cmake-utils python-single-r1
+inherit toolchain-funcs cmake python-single-r1
 
 MY_PN="InsightToolkit"
 MY_P="${MY_PN}-${PV}"
@@ -22,7 +22,6 @@ SRC_URI="
                
https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${PV}/InsightData-${PV}.tar.gz
                )
        "
-RESTRICT="primaryuri"
 
 LICENSE="Apache-2.0"
 SLOT="0"
@@ -87,7 +86,7 @@ src_prepare() {
                        cp "$filename" ".ExternalData/MD5/${MD5}" || die
                done
        fi
-       cmake-utils_src_prepare
+       cmake_src_prepare
 }
 
 src_configure() {
@@ -144,11 +143,11 @@ src_configure() {
                        -DITK_WRAP_PYTHON=OFF
                )
        fi
-       cmake-utils_src_configure
+       cmake_src_configure
 }
 
 src_install() {
-       cmake-utils_src_install
+       cmake_src_install
 
        if use examples; then
                insinto /usr/share/doc/${PF}/examples

diff --git a/sci-libs/itk/itk-5.1.0.ebuild b/sci-libs/itk/itk-5.1.0.ebuild
index 64fd555cb..4728ba4a4 100644
--- a/sci-libs/itk/itk-5.1.0.ebuild
+++ b/sci-libs/itk/itk-5.1.0.ebuild
@@ -32,7 +32,6 @@ SRC_URI="
                ${GLI_TEST_SRC}
                )
        "
-RESTRICT="primaryuri"
 
 LICENSE="Apache-2.0"
 SLOT="0"

Reply via email to