Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/wxmaxima/
Date: Sun, 27 Nov 2016 13:14:58
Message-Id: 1480252381.ec230166ba93d587b36ea23ae53ccef4fbb561cd.pacho@gentoo
1 commit: ec230166ba93d587b36ea23ae53ccef4fbb561cd
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 27 13:13:01 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 27 13:13:01 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec230166
7
8 sci-mathematics/wxmaxima: Drop old
9
10 Package-Manager: portage-2.3.2
11
12 sci-mathematics/wxmaxima/Manifest | 2 -
13 sci-mathematics/wxmaxima/wxmaxima-13.04.2.ebuild | 80 ------------------------
14 sci-mathematics/wxmaxima/wxmaxima-16.04.1.ebuild | 76 ----------------------
15 3 files changed, 158 deletions(-)
16
17 diff --git a/sci-mathematics/wxmaxima/Manifest b/sci-mathematics/wxmaxima/Manifest
18 index f15ead4..103e705 100644
19 --- a/sci-mathematics/wxmaxima/Manifest
20 +++ b/sci-mathematics/wxmaxima/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST wxMaxima-13.04.2.tar.gz 1652680 SHA256 29352db75dd3ff27393ab0971543fd0b3c3a9c330c2c8d07ebfd373741ded4eb SHA512 36d035282aca8d40d9f5950c21e8e3abe8d3a76ffbb91f6436a3588e252ca2455c4c1c4e5eed4111888f917406ac758f551198ca97acb67bcc6655e579db20aa WHIRLPOOL 7579a5d7b72e0c10f9162b92da03b2f4f51052cf8800fc0c01312718cfc31c0d8ff608aff6f873e07b46247a2c2ad7dc666e0e469dda1f1a8e8af52629a6e69d
23 DIST wxmaxima-15.08.2.tar.gz 5592673 SHA256 7ad3f018e42d15d06bee5af10053edb72e441c1d1feee318dc6eb927db6a26c5 SHA512 a537c49477f54df4fd9e4e42a5e0d0d740f1ede817d807a98b7cec877a3ad77b2be0a61ae487a7fa5beb193b112eca163b8873292ecab5acf118d58a91e91af6 WHIRLPOOL a4df36704bbd33f841ddf3b9651662a092708850cdc637e6f6bfabc195c1e7e34dd66e14d92ee1cba69f3810bc74a4295837709d38bf6d6ce83b81d7776a3b9a
24 -DIST wxmaxima-16.04.1.tar.gz 5177734 SHA256 907fecb2f5f0b5430eb9ade2ece8c41e4bdf73315c2484ffa4832ec47266b684 SHA512 4d24daf6d6df08d88b7c833d48bdaddc8d8a52cca357b8c940ceb3825122ed351f417780a81af1b41b3b014518b14efbb51d8e247bb228dc1e4f83d0fed79365 WHIRLPOOL a750935002ea0f4bb46cb7bc70c02cdf049adef20a351e9e4a93e53426e22fcab6292b31731531149d4e4e66897adee043d0d90046079723ad809d4ae6886750
25 DIST wxmaxima-16.04.2.tar.gz 5178050 SHA256 761c2a5630a6d81fa84bc9eba431112910dce818c4dd77338e3a0691c2fcf8ba SHA512 da8159e7c779f50bde7a6f6852987c18aaf724b1ebf0bdc4d231f40b80e04cee2870a520251d212681b3f0a7533d28b744d3684fc395a26d2a46b48c1a31a856 WHIRLPOOL 613950e86516ab73d99180bf2ccc3f8f82167005a89fc07ea3ac0682054325c857bd54d1ab6fd7da200d045db28f9f4f0b2b05f9107916bdf39285afba9bfd0e
26
27 diff --git a/sci-mathematics/wxmaxima/wxmaxima-13.04.2.ebuild b/sci-mathematics/wxmaxima/wxmaxima-13.04.2.ebuild
28 deleted file mode 100644
29 index ff8730a..00000000
30 --- a/sci-mathematics/wxmaxima/wxmaxima-13.04.2.ebuild
31 +++ /dev/null
32 @@ -1,80 +0,0 @@
33 -# Copyright 1999-2015 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=5
38 -
39 -WX_GTK_VER="2.8"
40 -
41 -inherit eutils gnome2-utils wxwidgets fdo-mime
42 -
43 -MYP=wxMaxima-${PV}
44 -
45 -DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit"
46 -HOMEPAGE="http://wxmaxima.sourceforge.net/"
47 -SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
48 -
49 -LICENSE="GPL-2"
50 -SLOT="0"
51 -KEYWORDS="amd64 ppc x86"
52 -
53 -DEPEND="
54 - dev-libs/libxml2:2
55 - x11-libs/wxGTK:${WX_GTK_VER}"
56 -RDEPEND="${DEPEND}
57 - media-fonts/jsmath
58 - sci-visualization/gnuplot[wxwidgets]
59 - sci-mathematics/maxima"
60 -
61 -S="${WORKDIR}/${MYP}"
62 -
63 -src_prepare() {
64 - local i
65 -
66 - # consistent package names
67 - sed -e "s:\${datadir}/wxMaxima:\${datadir}/${PN}:g" \
68 - -i Makefile.in data/Makefile.in || die "sed failed"
69 -
70 - sed -e 's:share/wxMaxima:share/wxmaxima:g' \
71 - -i src/wxMaxima.cpp src/wxMaximaFrame.cpp src/Config.cpp \
72 - || die "sed failed"
73 -
74 - # correct gettext behavior
75 - if [[ -n "${LINGUAS+x}" ]] ; then
76 - for i in $(cd "${S}"/locales ; echo *.mo) ; do
77 - if ! has ${i%.mo} ${LINGUAS} ; then
78 - sed -i \
79 - -e "/^WXMAXIMA_LINGUAS/s# ${i%.mo}##" \
80 - -e "/^WXWIN_LINGUAS/s# ${i%.mo}##" \
81 - locales/Makefile.in || die
82 - fi
83 - done
84 - fi
85 -}
86 -
87 -src_configure() {
88 - econf \
89 - --enable-printing \
90 - --with-wx-config=${WX_CONFIG}
91 -}
92 -
93 -src_install () {
94 - default
95 - doicon -s 128 data/wxmaxima.png
96 - make_desktop_entry wxmaxima wxMaxima wxmaxima
97 - dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README
98 -}
99 -
100 -pkg_preinst() {
101 - gnome2_icon_savelist
102 -}
103 -
104 -pkg_postinst() {
105 - gnome2_icon_cache_update
106 - fdo-mime_desktop_database_update
107 -}
108 -
109 -pkg_postrm() {
110 - gnome2_icon_cache_update
111 - fdo-mime_desktop_database_update
112 -}
113
114 diff --git a/sci-mathematics/wxmaxima/wxmaxima-16.04.1.ebuild b/sci-mathematics/wxmaxima/wxmaxima-16.04.1.ebuild
115 deleted file mode 100644
116 index 1e05229..00000000
117 --- a/sci-mathematics/wxmaxima/wxmaxima-16.04.1.ebuild
118 +++ /dev/null
119 @@ -1,76 +0,0 @@
120 -# Copyright 1999-2016 Gentoo Foundation
121 -# Distributed under the terms of the GNU General Public License v2
122 -# $Id$
123 -
124 -EAPI=5
125 -
126 -WX_GTK_VER="3.0"
127 -
128 -inherit eutils gnome2-utils wxwidgets fdo-mime
129 -
130 -DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit"
131 -HOMEPAGE="http://andrejv.github.io/wxmaxima/"
132 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
133 -
134 -LICENSE="GPL-2"
135 -SLOT="0"
136 -KEYWORDS="~amd64 ~ppc ~x86"
137 -
138 -DEPEND="
139 - dev-libs/libxml2:2
140 - x11-libs/wxGTK:${WX_GTK_VER}"
141 -RDEPEND="${DEPEND}
142 - media-fonts/jsmath
143 - sci-visualization/gnuplot[wxwidgets]
144 - sci-mathematics/maxima"
145 -
146 -src_prepare() {
147 - local i
148 -
149 - # consistent package names
150 - sed -e "s:\${datadir}/wxMaxima:\${datadir}/${PN}:g" \
151 - -i Makefile.in data/Makefile.in test/Makefile.in || die "sed failed"
152 -
153 - sed -e 's:share/wxMaxima:share/wxmaxima:g' \
154 - -i src/wxMaxima.cpp src/wxMaximaFrame.cpp src/Dirstructure.cpp src/Dirstructure.h \
155 - || die "sed failed"
156 -
157 - # correct gettext behavior
158 - if [[ -n "${LINGUAS+x}" ]] ; then
159 - for i in $(cd "${S}"/locales ; echo *.mo) ; do
160 - if ! has ${i%.mo} ${LINGUAS} ; then
161 - sed -i \
162 - -e "/^WXMAXIMA_LINGUAS/s# ${i%.mo}##" \
163 - -e "/^WXWIN_LINGUAS/s# ${i%.mo}##" \
164 - locales/Makefile.in || die
165 - fi
166 - done
167 - fi
168 -}
169 -
170 -src_configure() {
171 - econf \
172 - --enable-printing \
173 - --with-wx-config=${WX_CONFIG}
174 -}
175 -
176 -src_install () {
177 - default
178 - doicon -s 128 data/wxmaxima.png
179 - make_desktop_entry wxmaxima wxMaxima wxmaxima
180 - dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README
181 -}
182 -
183 -pkg_preinst() {
184 - gnome2_icon_savelist
185 -}
186 -
187 -pkg_postinst() {
188 - gnome2_icon_cache_update
189 - fdo-mime_desktop_database_update
190 -}
191 -
192 -pkg_postrm() {
193 - gnome2_icon_cache_update
194 - fdo-mime_desktop_database_update
195 -}