1 |
commit: a96b770e4b0eb7888a2c34df51a96757b5fae357 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 24 02:15:52 2020 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 24 02:19:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a96b770e |
7 |
|
8 |
sci-visualization/gwyddion: Drop Phython (2) support |
9 |
|
10 |
Package-Manager: Portage-2.3.85, Repoman-2.3.20 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
|
13 |
...wyddion-2.44.ebuild => gwyddion-2.44-r1.ebuild} | 18 ++++----------- |
14 |
...wyddion-2.47.ebuild => gwyddion-2.47-r1.ebuild} | 27 ++++------------------ |
15 |
2 files changed, 9 insertions(+), 36 deletions(-) |
16 |
|
17 |
diff --git a/sci-visualization/gwyddion/gwyddion-2.44.ebuild b/sci-visualization/gwyddion/gwyddion-2.44-r1.ebuild |
18 |
similarity index 78% |
19 |
rename from sci-visualization/gwyddion/gwyddion-2.44.ebuild |
20 |
rename to sci-visualization/gwyddion/gwyddion-2.44-r1.ebuild |
21 |
index 98103e3b4bb..47c8b1ba085 100644 |
22 |
--- a/sci-visualization/gwyddion/gwyddion-2.44.ebuild |
23 |
+++ b/sci-visualization/gwyddion/gwyddion-2.44-r1.ebuild |
24 |
@@ -1,12 +1,11 @@ |
25 |
-# Copyright 1999-2017 Gentoo Foundation |
26 |
+# Copyright 1999-2020 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
EAPI=5 |
30 |
|
31 |
-PYTHON_COMPAT=( python2_7 ) |
32 |
AUTOTOOLS_IN_SOURCE_BUILD=1 |
33 |
|
34 |
-inherit autotools-utils fdo-mime gnome2-utils python-single-r1 |
35 |
+inherit autotools-utils fdo-mime gnome2-utils |
36 |
|
37 |
DESCRIPTION="Framework for Scanning Mode Microscopy data analysis" |
38 |
HOMEPAGE="http://gwyddion.net/" |
39 |
@@ -15,7 +14,7 @@ SRC_URI="http://gwyddion.net/download/${PV}/${P}.tar.xz" |
40 |
LICENSE="GPL-2" |
41 |
SLOT="0" |
42 |
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" |
43 |
-IUSE="doc fits fftw gnome nls opengl perl python ruby sourceview xml X" |
44 |
+IUSE="doc fits fftw gnome nls opengl perl ruby sourceview xml X" |
45 |
|
46 |
RDEPEND=" |
47 |
media-libs/libpng:0 |
48 |
@@ -28,10 +27,6 @@ RDEPEND=" |
49 |
gnome? ( gnome-base/gconf:2 ) |
50 |
opengl? ( virtual/opengl x11-libs/gtkglext ) |
51 |
perl? ( dev-lang/perl ) |
52 |
- python? ( |
53 |
- ${PYTHON_DEPS} |
54 |
- dev-python/pygtk:2[${PYTHON_USEDEP}] |
55 |
- ) |
56 |
ruby? ( dev-ruby/narray ) |
57 |
sourceview? ( x11-libs/gtksourceview:2.0 ) |
58 |
xml? ( dev-libs/libxml2:2 )" |
59 |
@@ -45,10 +40,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
60 |
|
61 |
MAKEOPTS+=" V=1" |
62 |
|
63 |
-pkg_setup() { |
64 |
- use python && python-single-r1_pkg_setup |
65 |
-} |
66 |
- |
67 |
src_configure() { |
68 |
local myeconfargs=( |
69 |
--disable-rpath |
70 |
@@ -58,7 +49,7 @@ src_configure() { |
71 |
$(use_enable python pygwy) |
72 |
$(use_enable fits cfitsio) |
73 |
$(use_with perl) |
74 |
- $(use_with python) |
75 |
+ --without-python |
76 |
$(use_with ruby) |
77 |
$(use_with fftw fftw3) |
78 |
$(use_with opengl gl) |
79 |
@@ -71,7 +62,6 @@ src_configure() { |
80 |
|
81 |
src_install() { |
82 |
autotools-utils_src_install |
83 |
- use python && dodoc modules/pygwy/README.pygwy |
84 |
} |
85 |
|
86 |
pkg_postinst() { |
87 |
|
88 |
diff --git a/sci-visualization/gwyddion/gwyddion-2.47.ebuild b/sci-visualization/gwyddion/gwyddion-2.47-r1.ebuild |
89 |
similarity index 72% |
90 |
rename from sci-visualization/gwyddion/gwyddion-2.47.ebuild |
91 |
rename to sci-visualization/gwyddion/gwyddion-2.47-r1.ebuild |
92 |
index cc4509980eb..2ae4cecc209 100644 |
93 |
--- a/sci-visualization/gwyddion/gwyddion-2.47.ebuild |
94 |
+++ b/sci-visualization/gwyddion/gwyddion-2.47-r1.ebuild |
95 |
@@ -1,11 +1,9 @@ |
96 |
-# Copyright 1999-2017 Gentoo Foundation |
97 |
+# Copyright 1999-2020 Gentoo Authors |
98 |
# Distributed under the terms of the GNU General Public License v2 |
99 |
|
100 |
EAPI=6 |
101 |
|
102 |
-PYTHON_COMPAT=( python2_7 ) |
103 |
- |
104 |
-inherit fdo-mime gnome2-utils python-single-r1 |
105 |
+inherit fdo-mime gnome2-utils |
106 |
|
107 |
DESCRIPTION="Framework for Scanning Mode Microscopy data analysis" |
108 |
HOMEPAGE="http://gwyddion.net/" |
109 |
@@ -14,7 +12,7 @@ SRC_URI="http://gwyddion.net/download/${PV}/${P}.tar.xz" |
110 |
LICENSE="GPL-2" |
111 |
SLOT="0" |
112 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
113 |
-IUSE="doc fits fftw gnome nls opengl perl python ruby sourceview xml X" |
114 |
+IUSE="doc fits fftw gnome nls opengl perl ruby sourceview xml X" |
115 |
|
116 |
RDEPEND=" |
117 |
media-libs/libpng:0= |
118 |
@@ -27,10 +25,6 @@ RDEPEND=" |
119 |
gnome? ( gnome-base/gconf:2 ) |
120 |
opengl? ( virtual/opengl x11-libs/gtkglext ) |
121 |
perl? ( dev-lang/perl:= ) |
122 |
- python? ( |
123 |
- ${PYTHON_DEPS} |
124 |
- dev-python/pygtk:2[${PYTHON_USEDEP}] |
125 |
- ) |
126 |
ruby? ( dev-ruby/narray ) |
127 |
sourceview? ( x11-libs/gtksourceview:2.0 ) |
128 |
xml? ( dev-libs/libxml2:2 )" |
129 |
@@ -40,22 +34,16 @@ DEPEND="${RDEPEND} |
130 |
doc? ( dev-util/gtk-doc ) |
131 |
" |
132 |
|
133 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
134 |
- |
135 |
-pkg_setup() { |
136 |
- use python && python-single-r1_pkg_setup |
137 |
-} |
138 |
- |
139 |
src_configure() { |
140 |
econf \ |
141 |
--disable-rpath \ |
142 |
--without-kde4-thumbnailer \ |
143 |
$(use_enable doc gtk-doc) \ |
144 |
$(use_enable nls) \ |
145 |
- $(use_enable python pygwy) \ |
146 |
+ --disable-pygwy \ |
147 |
$(use_enable fits cfitsio) \ |
148 |
$(use_with perl) \ |
149 |
- $(use_with python) \ |
150 |
+ --without-python \ |
151 |
$(use_with ruby) \ |
152 |
$(use_with fftw fftw3) \ |
153 |
$(use_with opengl gl) \ |
154 |
@@ -64,11 +52,6 @@ src_configure() { |
155 |
$(use_with X x) |
156 |
} |
157 |
|
158 |
-src_install() { |
159 |
- default |
160 |
- use python && dodoc modules/pygwy/README.pygwy |
161 |
-} |
162 |
- |
163 |
pkg_postinst() { |
164 |
use gnome && gnome2_gconf_install |
165 |
fdo-mime_desktop_database_update |