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: Fri, 28 Feb 2020 16:35:06
Message-Id: 1582907677.d6e6c92d1fb8f5001eccac2d075db369c05afadc.grozin@gentoo
1 commit: d6e6c92d1fb8f5001eccac2d075db369c05afadc
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 28 16:34:03 2020 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 28 16:34:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6e6c92d
7
8 sci-mathematics/wxmaxima: bump to 20.02.4
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
12
13 sci-mathematics/wxmaxima/Manifest | 1 +
14 sci-mathematics/wxmaxima/wxmaxima-20.02.4.ebuild | 49 ++++++++++++++++++++++++
15 2 files changed, 50 insertions(+)
16
17 diff --git a/sci-mathematics/wxmaxima/Manifest b/sci-mathematics/wxmaxima/Manifest
18 index 3fa7e6769a4..4eba5c07fea 100644
19 --- a/sci-mathematics/wxmaxima/Manifest
20 +++ b/sci-mathematics/wxmaxima/Manifest
21 @@ -1,3 +1,4 @@
22 DIST wxmaxima-18.11.4.tar.gz 12156776 BLAKE2B 75be0fb88402af011885616a646f7abcad25516ea9b0b375daf02edac5518b113188290262bc431e8bfb4836fc1f731982a1c41c62871818e4d2cc68c96ccb31 SHA512 964de93edc5c46e98de3de405b1873fa0ed594d54f1ddc030377b023110261cb1e6b0b08dbf210551888bf890e28d16e9b1698768c93dde413d5e1918cbd234e
23 DIST wxmaxima-20.01.1.tar.gz 14011946 BLAKE2B ed80f02158aa0c43f37c040225010b35eea49756d8f052bcfa245d31a4a2203880463f51833ed40f2e1365473eb138269287c30a52e9f9b98ef4d9a5daac8cf5 SHA512 bff946f87db39b4bf416ef3440fdfea277f9dc9ed95debcea5798211299ae8c8dbb136a44be586a79e538b99fd38c46febf5378caab6ac31a01a01033f083937
24 DIST wxmaxima-20.01.3.tar.gz 14221966 BLAKE2B cdaf62f5456446fe6edf1247323faa9f0aeb84dbe890cb03028f9f441c4c6bd3e7acf806b71a86b156ea7f10664c0188517b8f2aa15536e3350e16e3307f412c SHA512 4a977bd293255ac3c010610c74aa39fba8b8468aaa9fc59707bab69ede7a427e261ce827bae8d302ee1343bb0fce5e7aa5ee3c59f17198d5c473637571667abd
25 +DIST wxmaxima-20.02.4.tar.gz 15242422 BLAKE2B ea9dc613fa94d046a9d461c56a9d1564001f4fa28d90a553040e85b7dd442df025521dd9501257d12c808a2e9285b7f34b04c9f10d4ce658bc6d423055c9fbd7 SHA512 d5eb0e09de55c3e6ebafeaa95957ca8bbdacac9ec1d99f6041fa99b7fa59364b3228336675f9bffa71b879b17268b80c695f16c9259bee6d5cab9ef7ed86294b
26
27 diff --git a/sci-mathematics/wxmaxima/wxmaxima-20.02.4.ebuild b/sci-mathematics/wxmaxima/wxmaxima-20.02.4.ebuild
28 new file mode 100644
29 index 00000000000..9a2b704c52c
30 --- /dev/null
31 +++ b/sci-mathematics/wxmaxima/wxmaxima-20.02.4.ebuild
32 @@ -0,0 +1,49 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +WX_GTK_VER="3.0"
38 +PLOCALES="ca cs da de el en es fi fr gl hu it ja kab nb pl pt_BR ru tr uk zh_CN zh_TW"
39 +inherit cmake-utils wxwidgets l10n xdg
40 +
41 +DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit"
42 +HOMEPAGE="https://wxmaxima-developers.github.io/wxmaxima/"
43 +SRC_URI="https://github.com/wxMaxima-developers/wxmaxima/archive/Version-${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~ppc ~x86"
48 +IUSE=""
49 +S="${WORKDIR}"/${PN}-Version-${PV}
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 + setup-wxwidgets
61 + cmake-utils_src_prepare
62 +
63 + sed -e "s|share/doc/${PN}|share/doc/${PF}|g" -i "${S}"/info/CMakeLists.txt \
64 + || die "sed info/CMakeLists.txt failed"
65 +
66 + # locales
67 + rm_po() {
68 + rm "${S}"/locales/wxMaxima/${1}.po || die "rm ${1}.po failed"
69 + rm -f "${S}"/locales/manual/${1}.po
70 + rm -f "${S}"/locales/wxwin/${1}.po
71 + rm -f "${S}"/info/${PN}.${1}.md
72 + rm -f "${S}"/info/${PN}.${1}.html
73 + }
74 + l10n_find_plocales_changes "${S}"/locales/wxMaxima '' '.po'
75 + l10n_for_each_disabled_locale_do rm_po
76 +}
77 +
78 +src_install() {
79 + docompress -x /usr/share/doc/${PF}
80 + cmake-utils_src_install
81 +}