1 |
commit: 137a2c517bd37a318902657b3faa36a31cd5f3b6 |
2 |
Author: Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jan 7 23:56:01 2012 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 7 23:56:01 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=137a2c51 |
7 |
|
8 |
now in main tree |
9 |
|
10 |
--- |
11 |
dev-python/cvxopt/ChangeLog | 22 ------- |
12 |
dev-python/cvxopt/cvxopt-1.1.3.ebuild | 67 -------------------- |
13 |
dev-python/cvxopt/files/cvxopt-1.1.3-blas.patch | 76 ----------------------- |
14 |
dev-python/cvxopt/metadata.xml | 12 ---- |
15 |
4 files changed, 0 insertions(+), 177 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/cvxopt/ChangeLog b/dev-python/cvxopt/ChangeLog |
18 |
deleted file mode 100644 |
19 |
index 2d4bb92..0000000 |
20 |
--- a/dev-python/cvxopt/ChangeLog |
21 |
+++ /dev/null |
22 |
@@ -1,22 +0,0 @@ |
23 |
-# ChangeLog for dev-python/cvxopt |
24 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
25 |
-# $Header: $ |
26 |
- |
27 |
- 24 Jun 2011; Justin Lecher <jlec@g.o> cvxopt-1.1.3.ebuild: |
28 |
- Sort inherit and/or USE |
29 |
- |
30 |
- 20 Jun 2011; François Bissey <francois.bissey@×××××××××××××.nz> |
31 |
- cvxopt-1.1.3.ebuild, +files/cvxopt-1.1.3-blas.patch, metadata.xml: |
32 |
- Add useflag description in metadata |
33 |
- |
34 |
- 20 Jun 2011; François Bissey <francois.bissey@×××××××××××××.nz> |
35 |
- cvxopt-1.1.3.ebuild, +files/cvxopt-1.1.3-blas.patch: |
36 |
- Make cvxopt use pkg-config for BLAS/LAPACK |
37 |
- |
38 |
- 03 May 2011; Justin Lecher <jlec@g.o> cvxopt-1.1.3.ebuild: |
39 |
- Smaller reorganization of the ebuild |
40 |
- |
41 |
- 29 Dec 2010; François Bissey <f.r.bissey@×××××××××.nz> cvxopt-1.1.3.ebuild: |
42 |
- Add a changelog :), synchronize with the version in sage-on-gentoo overlay |
43 |
- and discussions on bug #230457 |
44 |
- |
45 |
|
46 |
diff --git a/dev-python/cvxopt/cvxopt-1.1.3.ebuild b/dev-python/cvxopt/cvxopt-1.1.3.ebuild |
47 |
deleted file mode 100644 |
48 |
index 3539f07..0000000 |
49 |
--- a/dev-python/cvxopt/cvxopt-1.1.3.ebuild |
50 |
+++ /dev/null |
51 |
@@ -1,67 +0,0 @@ |
52 |
-# Copyright 1999-2011 Gentoo Foundation |
53 |
-# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: $ |
55 |
- |
56 |
-EAPI=3 |
57 |
-PYTHON_DEPEND=2:2.5 |
58 |
-SUPPORT_PYTHON_ABIS=1 |
59 |
-RESTRICT_PYTHON_ABIS="2.4 3.*" |
60 |
-DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES=1 |
61 |
- |
62 |
-inherit distutils eutils python |
63 |
- |
64 |
-DESCRIPTION="A Python Package for Convex Optimization" |
65 |
-HOMEPAGE="http://abel.ee.ucla.edu/cvxopt" |
66 |
-SRC_URI="http://abel.ee.ucla.edu/${PN}/${P}.tar.gz" |
67 |
- |
68 |
-RESTRICT="mirror" |
69 |
- |
70 |
-LICENSE="GPL-3" |
71 |
-SLOT="0" |
72 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
73 |
-IUSE="fftw glpk gsl" |
74 |
- |
75 |
-DEPEND="virtual/blas |
76 |
- virtual/lapack |
77 |
- virtual/cblas |
78 |
- fftw? ( sci-libs/fftw ) |
79 |
- glpk? ( sci-mathematics/glpk ) |
80 |
- gsl? ( sci-libs/gsl )" |
81 |
-RDEPEND="${DEPEND}" |
82 |
- |
83 |
-S=${WORKDIR}/${P}/src |
84 |
- |
85 |
-src_prepare(){ |
86 |
- epatch "${FILESDIR}/${PN}"-1.1.3-blas.patch |
87 |
- |
88 |
- BLAS=\'$(pkg-config --libs-only-l blas | sed \ |
89 |
- -e 's/^-l//' \ |
90 |
- -e "s/ -l/\',\'/g" \ |
91 |
- -e 's/,.pthread//g' \ |
92 |
- -e "s: ::")\' |
93 |
- LAPACK=\'$(pkg-config --libs-only-l lapack | sed \ |
94 |
- -e 's/^-l//' \ |
95 |
- -e "s/ -l/\',\'/g" \ |
96 |
- -e 's/,.pthread//g' \ |
97 |
- -e "s: ::")\' |
98 |
- |
99 |
- sed -i \ |
100 |
- -e "s:@GENTOO_BLAS:${BLAS}:" \ |
101 |
- -e "s:@GENTOO_LAPACK:${LAPACK}:" \ |
102 |
- setup.py |
103 |
- |
104 |
- distutils_src_prepare |
105 |
- |
106 |
- prepare_builddir() { |
107 |
- set_flag() { |
108 |
- if use ${1}; then |
109 |
- sed -i -e "s/\(BUILD_${2} =\) 0/\1 1/" setup.py || die |
110 |
- fi |
111 |
- } |
112 |
- |
113 |
- set_flag gsl GSL |
114 |
- set_flag fftw FFTW |
115 |
- set_flag glpk GLPK |
116 |
- } |
117 |
- python_execute_function -s prepare_builddir |
118 |
-} |
119 |
|
120 |
diff --git a/dev-python/cvxopt/files/cvxopt-1.1.3-blas.patch b/dev-python/cvxopt/files/cvxopt-1.1.3-blas.patch |
121 |
deleted file mode 100644 |
122 |
index 12c4349..0000000 |
123 |
--- a/dev-python/cvxopt/files/cvxopt-1.1.3-blas.patch |
124 |
+++ /dev/null |
125 |
@@ -1,76 +0,0 @@ |
126 |
---- setup.py.orig 2011-06-20 15:32:19.584436452 +1200 |
127 |
-+++ setup.py 2011-06-20 15:35:14.962030823 +1200 |
128 |
-@@ -46,14 +48,14 @@ |
129 |
- # optional modules |
130 |
- |
131 |
- if BUILD_GSL: |
132 |
-- gsl = Extension('gsl', libraries = ['m', 'gsl', 'blas'], |
133 |
-+ gsl = Extension('gsl', libraries = ['m', 'gsl', @GENTOO_BLAS], |
134 |
- include_dirs = [ GSL_INC_DIR ], |
135 |
- library_dirs = [ GSL_LIB_DIR ], |
136 |
- sources = ['C/gsl.c'] ) |
137 |
- extmods += [gsl]; |
138 |
- |
139 |
- if BUILD_FFTW: |
140 |
-- fftw = Extension('fftw', libraries = ['fftw3', 'blas'], |
141 |
-+ fftw = Extension('fftw', libraries = ['fftw3', @GENTOO_BLAS], |
142 |
- include_dirs = [ FFTW_INC_DIR ], |
143 |
- library_dirs = [ FFTW_LIB_DIR, ATLAS_LIB_DIR ], |
144 |
- sources = ['C/fftw.c'] ) |
145 |
-@@ -67,7 +69,7 @@ |
146 |
- extmods += [glpk]; |
147 |
- |
148 |
- if BUILD_DSDP: |
149 |
-- dsdp = Extension('dsdp', libraries = ['dsdp', 'blas', 'lapack'], |
150 |
-+ dsdp = Extension('dsdp', libraries = ['dsdp', @GENTOO_LAPACK], |
151 |
- include_dirs = [ DSDP_INC_DIR ], |
152 |
- library_dirs = [ DSDP_LIB_DIR, ATLAS_LIB_DIR ], |
153 |
- sources = ['C/dsdp.c'] ) |
154 |
-@@ -85,17 +87,17 @@ |
155 |
- else: |
156 |
- MACROS = [] |
157 |
- |
158 |
--base = Extension('base', libraries = ['m','lapack','blas'], |
159 |
-+base = Extension('base', libraries = ['m', @GENTOO_LAPACK], |
160 |
- library_dirs = [ ATLAS_LIB_DIR ], |
161 |
- define_macros = MACROS, |
162 |
- sources = ['C/base.c','C/dense.c','C/sparse.c']) |
163 |
- |
164 |
--blas = Extension('blas', libraries = ['blas'], |
165 |
-+blas = Extension('blas', libraries = [@GENTOO_BLAS], |
166 |
- library_dirs = [ ATLAS_LIB_DIR ], |
167 |
- define_macros = MACROS, |
168 |
- sources = ['C/blas.c'] ) |
169 |
- |
170 |
--lapack = Extension('lapack', libraries = ['lapack','blas'], |
171 |
-+lapack = Extension('lapack', libraries = [@GENTOO_LAPACK], |
172 |
- library_dirs = [ ATLAS_LIB_DIR ], |
173 |
- define_macros = MACROS, |
174 |
- sources = ['C/lapack.c'] ) |
175 |
-@@ -106,7 +108,7 @@ |
176 |
- 'C/SuiteSparse/UFconfig' ], |
177 |
- library_dirs = [ ATLAS_LIB_DIR ], |
178 |
- define_macros = MACROS, |
179 |
-- libraries = [ 'blas', 'lapack'], |
180 |
-+ libraries = [@GENTOO_LAPACK], |
181 |
- sources = [ 'C/umfpack.c', |
182 |
- 'C/SuiteSparse/UMFPACK/Source/umfpack_global.c', |
183 |
- 'C/SuiteSparse/UMFPACK/Source/umfpack_tictoc.c' ] + |
184 |
-@@ -118,7 +120,7 @@ |
185 |
- |
186 |
- cholmod = Extension('cholmod', |
187 |
- library_dirs = [ ATLAS_LIB_DIR ], |
188 |
-- libraries = ['lapack', 'blas'], |
189 |
-+ libraries = [@GENTOO_LAPACK], |
190 |
- include_dirs = [ 'C/SuiteSparse/CHOLMOD/Include', |
191 |
- 'C/SuiteSparse/COLAMD', 'C/SuiteSparse/AMD/Include', |
192 |
- 'C/SuiteSparse/UFconfig', 'C/SuiteSparse/COLAMD/Include' ], |
193 |
-@@ -139,7 +141,7 @@ |
194 |
- define_macros = MACROS, |
195 |
- sources = [ 'C/amd.c' ] + glob('C/SuiteSparse/AMD/Source/*.c') ) |
196 |
- |
197 |
--misc_solvers = Extension('misc_solvers', libraries = ['lapack', 'blas'], |
198 |
-+misc_solvers = Extension('misc_solvers', libraries = [@GENTOO_LAPACK], |
199 |
- library_dirs = [ ATLAS_LIB_DIR ], |
200 |
- define_macros = MACROS, |
201 |
- sources = ['C/misc_solvers.c'] ) |
202 |
|
203 |
diff --git a/dev-python/cvxopt/metadata.xml b/dev-python/cvxopt/metadata.xml |
204 |
deleted file mode 100644 |
205 |
index 9381d90..0000000 |
206 |
--- a/dev-python/cvxopt/metadata.xml |
207 |
+++ /dev/null |
208 |
@@ -1,12 +0,0 @@ |
209 |
-<?xml version="1.0" encoding="UTF-8"?> |
210 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
211 |
-<pkgmetadata> |
212 |
-<herd>sci</herd> |
213 |
-<longdescription lang="en"> |
214 |
-CVXOPT is a free software package for convex optimization based on the Python programming language. It can be used with the interactive Python interpreter, on the command line by executing Python scripts, or integrated in other software via Python extension modules. Its main purpose is to make the development of software for convex optimization applications straightforward by building on Python's extensive standard library and on the strengths of Python as a high-level programming language. |
215 |
-</longdescription> |
216 |
- <use> |
217 |
- <flag name='glpk'>Use GNU Linear Programming Kit</flag> |
218 |
- </use> |
219 |
-</pkgmetadata> |
220 |
- |