Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/galib/files/, sci-libs/galib/
Date: Sat, 30 Sep 2017 05:11:39
Message-Id: 1506748284.8d730bc7b0bef4be83fc8740af77acffc6d52280.kensington@gentoo
1 commit: 8d730bc7b0bef4be83fc8740af77acffc6d52280
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 30 05:10:13 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 30 05:11:24 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d730bc7
7
8 sci-libs/galib: remove 2.4.6/2.4.7
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 sci-libs/galib/Manifest | 1 -
13 sci-libs/galib/files/galib-2.4.6-gcc4-gentoo.patch | 23 ---------
14 sci-libs/galib/files/galib-2.4.6-makefile.patch | 12 -----
15 sci-libs/galib/galib-2.4.6.ebuild | 37 ---------------
16 sci-libs/galib/galib-2.4.7.ebuild | 55 ----------------------
17 5 files changed, 128 deletions(-)
18
19 diff --git a/sci-libs/galib/Manifest b/sci-libs/galib/Manifest
20 index af2e1d51d80..83c5cf4fbcc 100644
21 --- a/sci-libs/galib/Manifest
22 +++ b/sci-libs/galib/Manifest
23 @@ -1,2 +1 @@
24 -DIST galib246.tgz 378431 SHA256 441150c728d401a93ed6d9e745eae85f9ddbd413cfe06396f1a426cd31c7cc00 SHA512 3c2451c9124cfe7b4b11f67f0aa7f9cbd9819b6e50c3a48478c3f429c8d8a66a57c92a0dd3a720e68d81a6f80c86ef34c27303c3b3292ee28842c74e74f8289d WHIRLPOOL adff31eebb01dd5f94229743dc6623d82efca260911d7d91cfcfac9c59f831625d95d33301f85044ccd41ac487c1d3d2fb9fe0c95eca620a42aabc60ddf40dc3
25 DIST galib247.tgz 374912 SHA256 ea76b66ce4db4db2ed86e20d6d3ff144abaf73e33620104246639d9b2a465329 SHA512 9c2aca29f24d3f8401ba65c246a0ca7d1fa67e4f756a5258cdb0da111842ea2903c2d70cfd9d60823c9703bcb3415ca670a731924e99878d5536c2f7eb0faba4 WHIRLPOOL 027e1d8999bb09e31da717fb3fb84f023d4488cc161c173e55fdc545b58583f386b6bb9cab631c30f84eae8a8b58c4e669049507bc0ca8561a8ecfba2e57f480
26
27 diff --git a/sci-libs/galib/files/galib-2.4.6-gcc4-gentoo.patch b/sci-libs/galib/files/galib-2.4.6-gcc4-gentoo.patch
28 deleted file mode 100644
29 index ed2621649ee..00000000000
30 --- a/sci-libs/galib/files/galib-2.4.6-gcc4-gentoo.patch
31 +++ /dev/null
32 @@ -1,23 +0,0 @@
33 -diff -Naur galib246/ga/gaconfig.h galib246-new/ga/gaconfig.h
34 ---- galib246/ga/gaconfig.h 2005-01-31 10:46:09.000000000 -0500
35 -+++ galib246-new/ga/gaconfig.h 2006-09-26 19:38:09.000000000 -0400
36 -@@ -192,7 +192,9 @@
37 -
38 - // determine the compiler
39 - #if defined(__GNUG__) || defined(__GNUC__)
40 --#if __GNUC__ == 3
41 -+#if __GNUC__ == 4
42 -+#define GALIB_COMPILER "gcc4"
43 -+#elif __GNUC__ == 3
44 - #define GALIB_COMPILER "gcc3"
45 - #elif __GNUC__ == 2
46 - #define GALIB_COMPILER "gcc2"
47 -@@ -365,7 +367,7 @@
48 - #define GALIB_USE_PID
49 - #define GALIB_USE_EMPTY_TEMPLATES
50 - #define GALIB_NEED_INSTANTIATION_PREFIX
51 --#if __GNUC__ == 3
52 -+#if __GNUC__ >= 3
53 - #define GALIB_USE_ANSI_HEADERS
54 - #define GALIB_USE_STD_NAMESPACE
55 - #define GALIB_USE_COMP_OPERATOR_TEMPLATES
56
57 diff --git a/sci-libs/galib/files/galib-2.4.6-makefile.patch b/sci-libs/galib/files/galib-2.4.6-makefile.patch
58 deleted file mode 100644
59 index a2ced027a4a..00000000000
60 --- a/sci-libs/galib/files/galib-2.4.6-makefile.patch
61 +++ /dev/null
62 @@ -1,12 +0,0 @@
63 ---- galib246/ga/makefile.sources 2000-02-03 14:00:46.000000000 -0600
64 -+++ galib246-new/ga/makefile.sources 2006-04-30 09:30:13.000000000 -0500
65 -@@ -8,7 +8,8 @@
66 - GA1DBinStrGenome.h GA2DBinStrGenome.h GA3DBinStrGenome.h GABin2DecGenome.h \
67 - GA1DArrayGenome.h GA2DArrayGenome.h GA3DArrayGenome.h \
68 - GAStringGenome.h GARealGenome.h \
69 -- GATreeBASE.h GATree.h GATreeGenome.h GAListBASE.h GAList.h GAListGenome.h
70 -+ GATreeBASE.h GATree.h GATreeGenome.h GAListBASE.h GAList.h GAListGenome.h \
71 -+ std_stream.h
72 - SRCS= garandom.C gaerror.C GAParameter.C GAStatistics.C \
73 - GABaseGA.C GASStateGA.C GASimpleGA.C GAIncGA.C GADemeGA.C GADCrowdingGA.C \
74 - GASelector.C GAScaling.C GAPopulation.C GAGenome.C \
75
76 diff --git a/sci-libs/galib/galib-2.4.6.ebuild b/sci-libs/galib/galib-2.4.6.ebuild
77 deleted file mode 100644
78 index d0612ad4a3a..00000000000
79 --- a/sci-libs/galib/galib-2.4.6.ebuild
80 +++ /dev/null
81 @@ -1,37 +0,0 @@
82 -# Copyright 1999-2012 Gentoo Foundation
83 -# Distributed under the terms of the GNU General Public License v2
84 -
85 -inherit eutils
86 -
87 -MYPV="${PV//\./}"
88 -
89 -DESCRIPTION="Library for genetic algorithms in C++ programs"
90 -HOMEPAGE="http://lancet.mit.edu/ga/"
91 -SRC_URI="http://lancet.mit.edu/ga/dist/galib${MYPV}.tgz"
92 -
93 -LICENSE="BSD GPL-2"
94 -SLOT="0"
95 -KEYWORDS="~amd64 x86"
96 -IUSE=""
97 -
98 -S="${WORKDIR}/galib${MYPV}"
99 -
100 -src_unpack() {
101 - unpack ${A}
102 - cd "${S}"
103 - epatch \
104 - "${FILESDIR}"/${P}-makefile.patch \
105 - "${FILESDIR}"/${P}-gcc4-gentoo.patch
106 -}
107 -
108 -src_compile() {
109 - emake CXXFLAGS="${CXXFLAGS}" || die "make failed"
110 -}
111 -
112 -src_install() {
113 - dodir /usr/lib /usr/include
114 - emake LIB_DEST_DIR="${D}"/usr/lib/ HDR_DEST_DIR="${D}"/usr/include/ install || die
115 - dohtml -r doc/*
116 - dodoc RELEASE-NOTES README
117 - cp -r examples "${D}"/usr/share/doc/${PF}/
118 -}
119
120 diff --git a/sci-libs/galib/galib-2.4.7.ebuild b/sci-libs/galib/galib-2.4.7.ebuild
121 deleted file mode 100644
122 index eaca1b7b9fb..00000000000
123 --- a/sci-libs/galib/galib-2.4.7.ebuild
124 +++ /dev/null
125 @@ -1,55 +0,0 @@
126 -# Copyright 1999-2012 Gentoo Foundation
127 -# Distributed under the terms of the GNU General Public License v2
128 -
129 -EAPI=4
130 -
131 -inherit multilib
132 -
133 -MYPV="${PV//\./}"
134 -
135 -DESCRIPTION="Library for genetic algorithms in C++ programs"
136 -HOMEPAGE="http://lancet.mit.edu/ga/"
137 -SRC_URI="http://lancet.mit.edu/ga/dist/galib${MYPV}.tgz"
138 -
139 -LICENSE="BSD examples? ( GPL-2 )"
140 -SLOT="0"
141 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
142 -IUSE="doc examples"
143 -
144 -S="${WORKDIR}/galib${MYPV}"
145 -
146 -src_prepare() {
147 - sed -i \
148 - -e 's:/include:${EPREFIX}/usr/include:' \
149 - -e "s:/lib:${EPREFIX}/usr/$(get_libdir):" \
150 - -e '/^CXX/d' \
151 - -e '/^CXXFLAGS/d' \
152 - -e '/^LD/d' \
153 - makevars || die "sed makevars failed"
154 -}
155 -
156 -src_compile() {
157 - emake lib
158 -}
159 -
160 -src_install() {
161 - dodir /usr/$(get_libdir)
162 - default
163 -
164 - if use doc; then
165 - insinto /usr/share/doc/${PF}
166 - doins -r doc/*
167 - fi
168 -
169 - if use examples; then
170 - insinto /usr/share/doc/${PF}/examples
171 - cd examples
172 - make clean
173 - sed -i \
174 - -e '/^include/d' \
175 - -e '/^INC_DIRS/d' \
176 - -e '/^LIB_DIRS/d' \
177 - makefile || die "sed makefile failed"
178 - doins -r *
179 - fi
180 -}