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-chemistry/gnome-chemistry-utils/files/, sci-chemistry/gnome-chemistry-utils/
Date: Sun, 30 May 2021 20:14:59
Message-Id: 1622405487.e5248c87f3cf8e8f09289374da3ef1804c39e7c5.pacho@gentoo
1 commit: e5248c87f3cf8e8f09289374da3ef1804c39e7c5
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 30 20:11:27 2021 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun May 30 20:11:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5248c87
7
8 sci-chemistry/gnome-chemistry-utils: Drop old
9
10 Package-Manager: Portage-3.0.19, Repoman-3.0.3
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 .../gnome-chemistry-utils-0.14.17-gnumeric.patch | 47 ----------------
14 .../gnome-chemistry-utils-0.14.17.ebuild | 62 ----------------------
15 2 files changed, 109 deletions(-)
16
17 diff --git a/sci-chemistry/gnome-chemistry-utils/files/gnome-chemistry-utils-0.14.17-gnumeric.patch b/sci-chemistry/gnome-chemistry-utils/files/gnome-chemistry-utils-0.14.17-gnumeric.patch
18 deleted file mode 100644
19 index 826d9b056df..00000000000
20 --- a/sci-chemistry/gnome-chemistry-utils/files/gnome-chemistry-utils-0.14.17-gnumeric.patch
21 +++ /dev/null
22 @@ -1,47 +0,0 @@
23 -Index: gchemutils/configure.ac
24 -===================================================================
25 ---- gchemutils/configure.ac (revision 2072)
26 -+++ gchemutils/configure.ac (revision 2073)
27 -@@ -352,7 +352,7 @@
28 - libspreadsheet=libspreadsheet-1.12
29 - fi
30 -
31 --PKG_CHECK_MODULES(gnumeric, [$libspreadsheet >= 1.11.6], [build_gnumeric_plugin=yes],
32 -+PKG_CHECK_MODULES(gnumeric, [$libspreadsheet >= 1.12.42], [build_gnumeric_plugin=yes],
33 - [build_gnumeric_plugin=no])
34 - dnl --without is not handled
35 -
36 -Index: gchemutils/gnumeric/functions.cc
37 -===================================================================
38 ---- gchemutils/gnumeric/functions.cc (revision 2072)
39 -+++ gchemutils/gnumeric/functions.cc (revision 2073)
40 -@@ -195,23 +195,23 @@
41 - const GnmFuncDescriptor Chemistry_functions[] = {
42 -
43 - { N_("molarmass"), "s",
44 -- help_molarmass, gnumeric_molarmass, NULL, NULL, NULL,
45 -+ help_molarmass, gnumeric_molarmass, NULL,
46 - GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_NO_TESTSUITE},
47 - { N_("monoisotopicmass"), "s",
48 -- help_monoisotopicmass, gnumeric_monoisotopicmass, NULL, NULL, NULL,
49 -+ help_monoisotopicmass, gnumeric_monoisotopicmass, NULL,
50 - GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_NO_TESTSUITE},
51 - { N_("chemcomposition"), "ss",
52 -- help_chemcomposition, gnumeric_chemcomposition, NULL, NULL, NULL,
53 -+ help_chemcomposition, gnumeric_chemcomposition, NULL,
54 - GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_NO_TESTSUITE},
55 - { N_("elementnumber"), "s",
56 -- help_elementnumber, gnumeric_elementnumber, NULL, NULL, NULL,
57 -+ help_elementnumber, gnumeric_elementnumber, NULL,
58 - GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_NO_TESTSUITE},
59 - { N_("elementsymbol"), "f",
60 -- help_elementsymbol, gnumeric_elementsymbol, NULL, NULL, NULL,
61 -+ help_elementsymbol, gnumeric_elementsymbol, NULL,
62 - GNM_FUNC_SIMPLE, GNM_FUNC_IMPL_STATUS_COMPLETE, GNM_FUNC_TEST_STATUS_NO_TESTSUITE},
63 -
64 -
65 -- {NULL, NULL, NULL, NULL, NULL, NULL, NULL,
66 -+ {NULL, NULL, NULL, NULL, NULL,
67 - GNM_FUNC_IS_PLACEHOLDER, GNM_FUNC_IMPL_STATUS_UNIMPLEMENTED, GNM_FUNC_TEST_STATUS_NO_TESTSUITE}
68 - };
69 -
70
71 diff --git a/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17.ebuild b/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17.ebuild
72 deleted file mode 100644
73 index 40a653132cd..00000000000
74 --- a/sci-chemistry/gnome-chemistry-utils/gnome-chemistry-utils-0.14.17.ebuild
75 +++ /dev/null
76 @@ -1,62 +0,0 @@
77 -# Copyright 1999-2020 Gentoo Authors
78 -# Distributed under the terms of the GNU General Public License v2
79 -
80 -EAPI=7
81 -inherit autotools xdg
82 -
83 -DESCRIPTION="Programs and library containing GTK widgets and C++ classes related to chemistry"
84 -HOMEPAGE="http://gchemutils.nongnu.org/"
85 -SRC_URI="http://download.savannah.gnu.org/releases/gchemutils/$(ver_cut 1-2)/${P}.tar.xz"
86 -
87 -SLOT="0"
88 -KEYWORDS="~amd64 ~x86"
89 -LICENSE="GPL-3"
90 -IUSE="gnumeric"
91 -
92 -RDEPEND="
93 - >=app-text/gnome-doc-utils-0.3.2
94 - >=dev-libs/glib-2.36.0:2
95 - >=dev-libs/libxml2-2.4.16:2
96 - >=gnome-extra/libgsf-1.14.9
97 - >=sci-chemistry/bodr-5
98 - >=sci-chemistry/chemical-mime-data-0.1.94
99 - >=sci-chemistry/openbabel-2.3.0:0
100 - >=x11-libs/cairo-1.6.0
101 - >=x11-libs/gdk-pixbuf-2.22.0
102 - >=x11-libs/goffice-0.10.12
103 - x11-libs/gtk+:3
104 - >=x11-libs/libX11-1.0.0
105 - gnumeric? ( >=app-office/gnumeric-1.12.42 )
106 -"
107 -DEPEND="${RDEPEND}"
108 -BDEPEND="
109 - app-doc/doxygen
110 - gnome-base/gnome-common
111 - virtual/pkgconfig
112 -"
113 -
114 -src_prepare() {
115 - xdg_src_prepare
116 -
117 - # From Debian
118 - eapply "${FILESDIR}/${P}-gnumeric.patch"
119 - eautoreconf
120 -}
121 -
122 -src_configure() {
123 - # lasem is not in the tree
124 - econf \
125 - --without-lasem \
126 - --disable-mozilla-plugin \
127 - --disable-scrollkeeper \
128 - --disable-update-databases
129 -}
130 -
131 -src_install() {
132 - default
133 -
134 - mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die
135 - rm -rf "${ED}"/usr/share/mimelnk/ || die
136 -
137 - find "${D}" -name '*.la' -type f -delete || die
138 -}