1 |
commit: 42a90d86af7de67508087b416990dabf413955ef |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Fri Oct 9 10:04:21 2020 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Oct 9 10:04:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=42a90d86 |
7 |
|
8 |
sci-libs/itk: eclass and RESTRICT updates |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
sci-libs/itk/itk-5.0.1.ebuild | 11 +++++------ |
14 |
sci-libs/itk/itk-5.1.0.ebuild | 1 - |
15 |
2 files changed, 5 insertions(+), 7 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/itk/itk-5.0.1.ebuild b/sci-libs/itk/itk-5.0.1.ebuild |
18 |
index e1ec7166a..f345e06b1 100644 |
19 |
--- a/sci-libs/itk/itk-5.0.1.ebuild |
20 |
+++ b/sci-libs/itk/itk-5.0.1.ebuild |
21 |
@@ -1,11 +1,11 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
|
28 |
PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
29 |
|
30 |
-inherit toolchain-funcs cmake-utils python-single-r1 |
31 |
+inherit toolchain-funcs cmake python-single-r1 |
32 |
|
33 |
MY_PN="InsightToolkit" |
34 |
MY_P="${MY_PN}-${PV}" |
35 |
@@ -22,7 +22,6 @@ SRC_URI=" |
36 |
https://github.com/InsightSoftwareConsortium/ITK/releases/download/v${PV}/InsightData-${PV}.tar.gz |
37 |
) |
38 |
" |
39 |
-RESTRICT="primaryuri" |
40 |
|
41 |
LICENSE="Apache-2.0" |
42 |
SLOT="0" |
43 |
@@ -87,7 +86,7 @@ src_prepare() { |
44 |
cp "$filename" ".ExternalData/MD5/${MD5}" || die |
45 |
done |
46 |
fi |
47 |
- cmake-utils_src_prepare |
48 |
+ cmake_src_prepare |
49 |
} |
50 |
|
51 |
src_configure() { |
52 |
@@ -144,11 +143,11 @@ src_configure() { |
53 |
-DITK_WRAP_PYTHON=OFF |
54 |
) |
55 |
fi |
56 |
- cmake-utils_src_configure |
57 |
+ cmake_src_configure |
58 |
} |
59 |
|
60 |
src_install() { |
61 |
- cmake-utils_src_install |
62 |
+ cmake_src_install |
63 |
|
64 |
if use examples; then |
65 |
insinto /usr/share/doc/${PF}/examples |
66 |
|
67 |
diff --git a/sci-libs/itk/itk-5.1.0.ebuild b/sci-libs/itk/itk-5.1.0.ebuild |
68 |
index 64fd555cb..4728ba4a4 100644 |
69 |
--- a/sci-libs/itk/itk-5.1.0.ebuild |
70 |
+++ b/sci-libs/itk/itk-5.1.0.ebuild |
71 |
@@ -32,7 +32,6 @@ SRC_URI=" |
72 |
${GLI_TEST_SRC} |
73 |
) |
74 |
" |
75 |
-RESTRICT="primaryuri" |
76 |
|
77 |
LICENSE="Apache-2.0" |
78 |
SLOT="0" |