Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/wxmaxima/
Date: Sun, 18 Aug 2019 15:37:38
Message-Id: 1566142630.31bda1755c666363258845f563cda7c576bb06a7.grozin@gentoo
1 commit: 31bda1755c666363258845f563cda7c576bb06a7
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 18 15:37:10 2019 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 18 15:37:10 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31bda175
7
8 sci-mathematics/wxmaxima: cleaning old versions
9
10 Package-Manager: Portage-2.3.71, Repoman-2.3.17
11 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
12
13 sci-mathematics/wxmaxima/Manifest | 2 -
14 sci-mathematics/wxmaxima/wxmaxima-15.08.2.ebuild | 75 ------------------------
15 sci-mathematics/wxmaxima/wxmaxima-19.03.1.ebuild | 57 ------------------
16 3 files changed, 134 deletions(-)
17
18 diff --git a/sci-mathematics/wxmaxima/Manifest b/sci-mathematics/wxmaxima/Manifest
19 index 810d7ffaf03..a0860a7964a 100644
20 --- a/sci-mathematics/wxmaxima/Manifest
21 +++ b/sci-mathematics/wxmaxima/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST wxmaxima-15.08.2.tar.gz 5592673 BLAKE2B cacb508cbcb24e27a43998ba0079b14117980669c25b39b017c0c659ef48d2ad338c6503aea99447a14250ed1a68a3414880828fc8ffdcbd3177b8eb9355a919 SHA512 a537c49477f54df4fd9e4e42a5e0d0d740f1ede817d807a98b7cec877a3ad77b2be0a61ae487a7fa5beb193b112eca163b8873292ecab5acf118d58a91e91af6
24 DIST wxmaxima-18.11.4.tar.gz 12156776 BLAKE2B 75be0fb88402af011885616a646f7abcad25516ea9b0b375daf02edac5518b113188290262bc431e8bfb4836fc1f731982a1c41c62871818e4d2cc68c96ccb31 SHA512 964de93edc5c46e98de3de405b1873fa0ed594d54f1ddc030377b023110261cb1e6b0b08dbf210551888bf890e28d16e9b1698768c93dde413d5e1918cbd234e
25 -DIST wxmaxima-19.03.1.tar.gz 12065575 BLAKE2B a376ac6f8dafd8779b6161695595a3f2fc87e8242086a0f97bfb2823151c198a94c824baa9297dd586271ef121fc9af692b33ac06b2266d58dbbab9212c14d98 SHA512 7aa9e03104d276a1cc753a4edfdc0948822efe3ef93b08090a91efc50efe4ec0d913ff5f87069c1433c18f5b8bf086d025dd6bf7560f3b42a70e883914cc995a
26 DIST wxmaxima-19.05.7.tar.gz 13832202 BLAKE2B 6afe37dfcefe3f1711cc1cc89e4c61071dff2d49c60742a6d64ece9fa029823f6e94e20eb69e6d6cd8ccad1f5f656670089d593752f4be4d179222f5f2090d53 SHA512 3a7caee5ab03eefd4d2811345678d7b74081b0a4315dcc7739dbf4d265d274bb47a93ace5980a30185a13f40c1c970a8e4ba444bdd64b8b9ebd3b9a263cc6c06
27
28 diff --git a/sci-mathematics/wxmaxima/wxmaxima-15.08.2.ebuild b/sci-mathematics/wxmaxima/wxmaxima-15.08.2.ebuild
29 deleted file mode 100644
30 index 58c69f66ff4..00000000000
31 --- a/sci-mathematics/wxmaxima/wxmaxima-15.08.2.ebuild
32 +++ /dev/null
33 @@ -1,75 +0,0 @@
34 -# Copyright 1999-2015 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -
39 -WX_GTK_VER="3.0"
40 -
41 -inherit eutils gnome2-utils wxwidgets fdo-mime
42 -
43 -DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit"
44 -HOMEPAGE="http://andrejv.github.io/wxmaxima/"
45 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
46 -
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -KEYWORDS="amd64 ppc x86"
50 -
51 -DEPEND="
52 - dev-libs/libxml2:2
53 - x11-libs/wxGTK:${WX_GTK_VER}"
54 -RDEPEND="${DEPEND}
55 - media-fonts/jsmath
56 - sci-visualization/gnuplot[wxwidgets]
57 - sci-mathematics/maxima"
58 -
59 -src_prepare() {
60 - local i
61 -
62 - # consistent package names
63 - sed -e "s:\${datadir}/wxMaxima:\${datadir}/${PN}:g" \
64 - -i Makefile.in data/Makefile.in test/Makefile.in || die "sed failed"
65 -
66 - sed -e 's:share/wxMaxima:share/wxmaxima:g' \
67 - -i src/wxMaxima.cpp src/wxMaximaFrame.cpp src/Dirstructure.cpp src/Dirstructure.h \
68 - || die "sed failed"
69 -
70 - # correct gettext behavior
71 - if [[ -n "${LINGUAS+x}" ]] ; then
72 - for i in $(cd "${S}"/locales ; echo *.mo) ; do
73 - if ! has ${i%.mo} ${LINGUAS} ; then
74 - sed -i \
75 - -e "/^WXMAXIMA_LINGUAS/s# ${i%.mo}##" \
76 - -e "/^WXWIN_LINGUAS/s# ${i%.mo}##" \
77 - locales/Makefile.in || die
78 - fi
79 - done
80 - fi
81 -}
82 -
83 -src_configure() {
84 - econf \
85 - --enable-printing \
86 - --with-wx-config=${WX_CONFIG}
87 -}
88 -
89 -src_install () {
90 - default
91 - doicon -s 128 data/wxmaxima.png
92 - make_desktop_entry wxmaxima wxMaxima wxmaxima
93 - dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README
94 -}
95 -
96 -pkg_preinst() {
97 - gnome2_icon_savelist
98 -}
99 -
100 -pkg_postinst() {
101 - gnome2_icon_cache_update
102 - fdo-mime_desktop_database_update
103 -}
104 -
105 -pkg_postrm() {
106 - gnome2_icon_cache_update
107 - fdo-mime_desktop_database_update
108 -}
109
110 diff --git a/sci-mathematics/wxmaxima/wxmaxima-19.03.1.ebuild b/sci-mathematics/wxmaxima/wxmaxima-19.03.1.ebuild
111 deleted file mode 100644
112 index 8da63e3b2c6..00000000000
113 --- a/sci-mathematics/wxmaxima/wxmaxima-19.03.1.ebuild
114 +++ /dev/null
115 @@ -1,57 +0,0 @@
116 -# Copyright 1999-2019 Gentoo Authors
117 -# Distributed under the terms of the GNU General Public License v2
118 -
119 -EAPI=6
120 -WX_GTK_VER="3.0"
121 -PLOCALES="ca cs da de el es fi fr gl hu it ja kab nb pl pt_BR ru tr uk zh_CN zh_TW"
122 -inherit cmake-utils wxwidgets l10n xdg-utils gnome2-utils
123 -
124 -DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit"
125 -HOMEPAGE="http://wxmaxima-developers.github.io/wxmaxima/"
126 -SRC_URI="https://github.com/wxMaxima-developers/wxmaxima/archive/Version-${PV}.tar.gz -> ${P}.tar.gz"
127 -
128 -LICENSE="GPL-2"
129 -SLOT="0"
130 -KEYWORDS="~amd64 ~ppc ~x86"
131 -IUSE=""
132 -S="${WORKDIR}"/${PN}-Version-${PV}
133 -
134 -DEPEND="
135 - dev-libs/libxml2:2
136 - x11-libs/wxGTK:${WX_GTK_VER}"
137 -RDEPEND="${DEPEND}
138 - media-fonts/jsmath
139 - sci-visualization/gnuplot[wxwidgets]
140 - sci-mathematics/maxima"
141 -
142 -src_prepare() {
143 - setup-wxwidgets
144 - cmake-utils_src_prepare
145 -
146 - sed -e "s|share/doc/${PN}|share/doc/${PF}|g" -i "${S}"/info/CMakeLists.txt \
147 - || die "sed info/CMakeLists.txt failed"
148 -
149 - # locales
150 - rm_po() {
151 - rm "${S}"/locales/${1}.po || die "rm ${1}.po failed"
152 - }
153 - l10n_find_plocales_changes "${S}"/locales '' '.po'
154 - l10n_for_each_disabled_locale_do rm_po
155 -}
156 -
157 -src_install() {
158 - docompress -x /usr/share/doc/${PF}/wxmaxima.hhp /usr/share/doc/${PF}/wxmaxima_tr.hhp
159 - cmake-utils_src_install
160 -}
161 -
162 -pkg_postinst() {
163 - xdg_desktop_database_update
164 - xdg_mimeinfo_database_update
165 - gnome2_icon_cache_update
166 -}
167 -
168 -pkg_postrm() {
169 - xdg_desktop_database_update
170 - xdg_mimeinfo_database_update
171 - gnome2_icon_cache_update
172 -}