1 |
bicatali 14/02/04 18:19:49 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: lemon-1.3-r2.ebuild |
5 |
Removed: lemon-1.3-r1.ebuild |
6 |
Log: |
7 |
Fixed as-needed bug #500272 |
8 |
|
9 |
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
10 |
|
11 |
Revision Changes Path |
12 |
1.5 sci-libs/lemon/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/lemon/metadata.xml?rev=1.5&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/lemon/metadata.xml?rev=1.5&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/lemon/metadata.xml?r1=1.4&r2=1.5 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/lemon/metadata.xml,v |
21 |
retrieving revision 1.4 |
22 |
retrieving revision 1.5 |
23 |
diff -u -r1.4 -r1.5 |
24 |
--- metadata.xml 4 Feb 2014 18:06:19 -0000 1.4 |
25 |
+++ metadata.xml 4 Feb 2014 18:19:49 -0000 1.5 |
26 |
@@ -14,6 +14,8 @@ |
27 |
networks. |
28 |
</longdescription> |
29 |
<use> |
30 |
+ <flag name="coin">Enable the <pkg>coinor-clp</pkg> and |
31 |
+ <pkg>coinor-cbc</pkg> graph algorithms</flag> |
32 |
<flag name='glpk'>Enable GNU Linear Programming Kit |
33 |
<pkg>sci-mathematics/glpk</pkg> support</flag> |
34 |
<flag name="tools">Build additional tools</flag> |
35 |
|
36 |
|
37 |
|
38 |
1.6 sci-libs/lemon/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/lemon/ChangeLog?rev=1.6&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/lemon/ChangeLog?rev=1.6&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/lemon/ChangeLog?r1=1.5&r2=1.6 |
43 |
|
44 |
Index: ChangeLog |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/lemon/ChangeLog,v |
47 |
retrieving revision 1.5 |
48 |
retrieving revision 1.6 |
49 |
diff -u -r1.5 -r1.6 |
50 |
--- ChangeLog 4 Feb 2014 18:06:19 -0000 1.5 |
51 |
+++ ChangeLog 4 Feb 2014 18:19:49 -0000 1.6 |
52 |
@@ -1,6 +1,13 @@ |
53 |
# ChangeLog for sci-libs/lemon |
54 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/lemon/ChangeLog,v 1.5 2014/02/04 18:06:19 jlec Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lemon/ChangeLog,v 1.6 2014/02/04 18:19:49 bicatali Exp $ |
57 |
+ |
58 |
+*lemon-1.3-r2 (04 Feb 2014) |
59 |
+ |
60 |
+ 04 Feb 2014; Sébastien Fabbro <bicatali@g.o> |
61 |
+ +files/lemon-1.3-as-needed.patch, +lemon-1.3-r2.ebuild, |
62 |
+ -files/lemon-1.3-underlinking.patch, -lemon-1.3-r1.ebuild, metadata.xml: |
63 |
+ Fixed as-needed bug #500272 |
64 |
|
65 |
04 Feb 2014; Justin Lecher <jlec@g.o> metadata.xml: |
66 |
fix invalid USE, #500288 |
67 |
|
68 |
|
69 |
|
70 |
1.1 sci-libs/lemon/lemon-1.3-r2.ebuild |
71 |
|
72 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/lemon/lemon-1.3-r2.ebuild?rev=1.1&view=markup |
73 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/lemon/lemon-1.3-r2.ebuild?rev=1.1&content-type=text/plain |
74 |
|
75 |
Index: lemon-1.3-r2.ebuild |
76 |
=================================================================== |
77 |
# Copyright 1999-2014 Gentoo Foundation |
78 |
# Distributed under the terms of the GNU General Public License v2 |
79 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/lemon/lemon-1.3-r2.ebuild,v 1.1 2014/02/04 18:19:49 bicatali Exp $ |
80 |
|
81 |
EAPI=5 |
82 |
|
83 |
inherit cmake-utils |
84 |
|
85 |
DESCRIPTION="C++ template static library of common data structures and algorithms" |
86 |
HOMEPAGE="https://lemon.cs.elte.hu/trac/lemon/" |
87 |
SRC_URI="http://lemon.cs.elte.hu/pub/sources/${P}.tar.gz" |
88 |
|
89 |
LICENSE="Boost-1.0" |
90 |
SLOT="0" |
91 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
92 |
IUSE="+coin doc glpk static-libs test tools" |
93 |
|
94 |
RDEPEND=" |
95 |
glpk? ( sci-mathematics/glpk:= ) |
96 |
coin? ( sci-libs/coinor-cbc:= sci-libs/coinor-clp:= )" |
97 |
DEPEND="${RDEPEND} |
98 |
doc? ( |
99 |
app-text/ghostscript-gpl |
100 |
dev-libs/mathjax |
101 |
app-doc/doxygen )" |
102 |
|
103 |
REQUIRED_USE="|| ( coin glpk )" |
104 |
|
105 |
PATCHES=( |
106 |
"${FILESDIR}"/${P}-multilib.patch |
107 |
"${FILESDIR}"/${P}-as-needed.patch |
108 |
) |
109 |
|
110 |
src_prepare() { |
111 |
sed -i \ |
112 |
-e '/ADD_SUBDIRECTORY(demo)/d' \ |
113 |
CMakeLists.txt || die |
114 |
|
115 |
use doc || sed -i \ |
116 |
-e '/ADD_SUBDIRECTORY(doc)/d' \ |
117 |
CMakeLists.txt || die |
118 |
|
119 |
use tools || sed -i \ |
120 |
-e '/ADD_SUBDIRECTORY(tools)/d' \ |
121 |
CMakeLists.txt || die |
122 |
|
123 |
use test || sed -i \ |
124 |
-e '/ADD_SUBDIRECTORY(test)/d' \ |
125 |
CMakeLists.txt || die |
126 |
|
127 |
for t in \ |
128 |
max_clique \ |
129 |
max_flow \ |
130 |
graph_utils \ |
131 |
random \ |
132 |
time_measure \ |
133 |
tsp; do |
134 |
sed -i -e "/${t}_test/d" test/CMakeLists.txt || die |
135 |
done |
136 |
sed -i \ |
137 |
-e '/ADD_TEST(lp_test lp_test)/d' \ |
138 |
-e '/ADD_DEPENDENCIES(check lp_test)/d' \ |
139 |
test/CMakeLists.txt || die |
140 |
cmake-utils_src_prepare |
141 |
} |
142 |
|
143 |
src_configure() { |
144 |
local mycmakeargs=( |
145 |
-DBUILD_SHARED_LIBS=TRUE |
146 |
-DCOIN_ROOT_DIR="${EPREFIX}/usr" |
147 |
-DLEMON_DOC_MATHJAX_RELPATH="${EPREFIX}/usr/share/mathjax" |
148 |
$(cmake-utils_use doc LEMON_DOC_SOURCE_BROWSER) |
149 |
$(cmake-utils_use doc LEMON_DOC_USE_MATHJAX) |
150 |
$(cmake-utils_use coin LEMON_ENABLE_COIN) |
151 |
$(cmake-utils_use glpk LEMON_ENABLE_GLPK) |
152 |
) |
153 |
cmake-utils_src_configure |
154 |
} |
155 |
|
156 |
src_test() { |
157 |
emake -C "${BUILD_DIR}" check |
158 |
} |