1 |
bicatali 12/01/07 20:39:27 |
2 |
|
3 |
Added: metadata.xml ChangeLog oosuite-0.37.ebuild Manifest |
4 |
Log: |
5 |
Initial import to the main tree |
6 |
|
7 |
(Portage version: 2.1.10.41/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-python/oosuite/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oosuite/metadata.xml?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oosuite/metadata.xml?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
<?xml version="1.0" encoding="UTF-8"?> |
18 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 |
<pkgmetadata> |
20 |
<herd>sci-mathematics</herd> |
21 |
<longdescription lang='en'> |
22 |
The OpenOpt suite of Python packages contains the following modules: |
23 |
* OpenOpt: universal numerical optimization package with |
24 |
several solvers (e.g. ralg) and connections to tens of other, |
25 |
graphical output of convergence. |
26 |
* FuncDesigner: tool to rapidly build functions over |
27 |
variables/arrays and get their dense/sparse derivatives via |
28 |
automatic differentiation, integration (with specifiable accuracy by |
29 |
interalg), interpolation, uncertainty analysis and interval |
30 |
analysis, eigenvalue analysis, solve systems of linear/nonlinear/ODE |
31 |
equations and numerical optimization problems coded in FuncDesigner |
32 |
by OpenOpt. |
33 |
* DerApproximator: tool to get (or check user-supplied) derivatives |
34 |
via finite-difference approximation |
35 |
* SpaceFuncs: tool for 2D, 3D, N-dimensional geometric modeling with |
36 |
possibilities of parametrized calculations, numerical optimization |
37 |
and solving systems of geometrical equations. |
38 |
</longdescription> |
39 |
</pkgmetadata> |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/oosuite/ChangeLog |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oosuite/ChangeLog?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oosuite/ChangeLog?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: ChangeLog |
49 |
=================================================================== |
50 |
# ChangeLog for dev-python/oosuite |
51 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/oosuite/ChangeLog,v 1.1 2012/01/07 20:39:27 bicatali Exp $ |
53 |
|
54 |
*oosuite-0.37 (07 Jan 2012) |
55 |
|
56 |
07 Jan 2012; Sébastien Fabbro <bicatali@g.o> +oosuite-0.37.ebuild, |
57 |
+files/oosuite-0.37-no-init-msg.patch, +metadata.xml: |
58 |
Initial import to the main tree |
59 |
|
60 |
|
61 |
|
62 |
|
63 |
1.1 dev-python/oosuite/oosuite-0.37.ebuild |
64 |
|
65 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oosuite/oosuite-0.37.ebuild?rev=1.1&view=markup |
66 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oosuite/oosuite-0.37.ebuild?rev=1.1&content-type=text/plain |
67 |
|
68 |
Index: oosuite-0.37.ebuild |
69 |
=================================================================== |
70 |
# Copyright 1999-2012 Gentoo Foundation |
71 |
# Distributed under the terms of the GNU General Public License v2 |
72 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/oosuite/oosuite-0.37.ebuild,v 1.1 2012/01/07 20:39:27 bicatali Exp $ |
73 |
|
74 |
EAPI=4 |
75 |
|
76 |
# python eclass cruft |
77 |
SUPPORT_PYTHON_ABIS="1" |
78 |
PYTHON_USE_WITH="tk?" |
79 |
RESTRICT_PYTHON_ABIS="2.4" |
80 |
|
81 |
inherit distutils eutils |
82 |
|
83 |
MYPN="OOSuite" |
84 |
MYPID="f/f3" |
85 |
|
86 |
DESCRIPTION="OpenOpt suite of Python modules for numerical optimization" |
87 |
HOMEPAGE="http://openopt.org/" |
88 |
SRC_URI="http://openopt.org/images/${MYPID}/${MYPN}.zip -> ${MYPN}-${PV}.zip" |
89 |
|
90 |
LICENSE="BSD" |
91 |
SLOT="0" |
92 |
KEYWORDS="~amd64 ~x86" |
93 |
IUSE="examples minimal tk" |
94 |
|
95 |
RDEPEND="dev-python/numpy |
96 |
!minimal? ( |
97 |
dev-python/cvxopt[glpk] |
98 |
dev-python/lp_solve |
99 |
dev-python/matplotlib |
100 |
dev-python/setproctitle |
101 |
sci-libs/nlopt[python] |
102 |
sci-libs/scipy )" |
103 |
DEPEND="app-arch/unzip |
104 |
dev-python/numpy |
105 |
dev-python/setuptools" |
106 |
|
107 |
S="${WORKDIR}/PythonPackages" |
108 |
|
109 |
src_prepare() { |
110 |
epatch "${FILESDIR}"/${P}-no-init-msg.patch |
111 |
OO_DIRS="DerApproximator FuncDesigner OpenOpt SpaceFuncs" |
112 |
find . -name "*COPYING*" -delete |
113 |
# move all examples and tests away to ease installation in proper directory |
114 |
mkdir "${WORKDIR}/examples" |
115 |
local d e |
116 |
for d in ${OO_DIRS}; do |
117 |
mkdir "${WORKDIR}/examples/${d}" |
118 |
for e in $(find ${d} -type d -name examples -or -name tests -or -name doc); do |
119 |
mv ${e} "${WORKDIR}/examples/${d}/" || die |
120 |
done |
121 |
done |
122 |
} |
123 |
|
124 |
src_compile() { |
125 |
local d |
126 |
for d in ${OO_DIRS}; do |
127 |
pushd ${d} > /dev/null |
128 |
distutils_src_compile |
129 |
popd > /dev/null |
130 |
done |
131 |
} |
132 |
|
133 |
src_test() { |
134 |
testing() { |
135 |
local d t oldpath=${PYTHONPATH} |
136 |
for d in ${OO_DIRS}; do |
137 |
PYTHONPATH="${S}/${d}/build-${PYTHON_ABI}/lib:${PYTHONPATH}" |
138 |
done |
139 |
export PYTHONPATH |
140 |
cd "${WORKDIR}"/examples |
141 |
for t in \ |
142 |
DerApproximator/tests/t_check.py \ |
143 |
FuncDesigner/examples/sle1.py \ |
144 |
OpenOpt/examples/nlp_1.py \ |
145 |
SpaceFuncs/examples/triangle.py |
146 |
do |
147 |
"$(PYTHON)" ${t} |
148 |
done |
149 |
export PYTHONPATH=${oldpath} |
150 |
} |
151 |
python_execute_function testing |
152 |
} |
153 |
|
154 |
src_install() { |
155 |
local d |
156 |
for d in ${OO_DIRS}; do |
157 |
pushd ${d} > /dev/null |
158 |
distutils_src_install |
159 |
popd > /dev/null |
160 |
done |
161 |
if use examples; then |
162 |
insinto /usr/share/doc/${PF} |
163 |
doins -r "${WORKDIR}"/examples |
164 |
fi |
165 |
} |
166 |
|
167 |
|
168 |
|
169 |
1.1 dev-python/oosuite/Manifest |
170 |
|
171 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oosuite/Manifest?rev=1.1&view=markup |
172 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/oosuite/Manifest?rev=1.1&content-type=text/plain |
173 |
|
174 |
Index: Manifest |
175 |
=================================================================== |
176 |
AUX oosuite-0.37-no-init-msg.patch 1884 RMD160 92b609b8da183997edb341ee21d9c941f122d769 SHA1 4f0a54dc214adf0340acf77a15a5e616bbaac31c SHA256 996b2e29d66babe03b53e84560ee623b562c7849e2ce6f782eed26d1a4a0ebe8 |
177 |
DIST OOSuite-0.37.zip 472085 RMD160 fc3b89cd6b79d5ad43b0e79ed6bdf8e864c4347f SHA1 2661d187921ae80c678ba14ffcf1560f482566fc SHA256 8a98e6039202c1d25f2282053ad6e00a65750804fc8b567cad1e91177d771d85 |
178 |
EBUILD oosuite-0.37.ebuild 2093 RMD160 b69b65ba60a8eeb7ed3736de88950c96abf6bcb7 SHA1 ab343549fb3a433916fdced5a97e67806c69ad80 SHA256 d0c9c29887543c282ace10585a9962cc304a29b01c3aea668a443c1cd7fd4331 |
179 |
MISC ChangeLog 316 RMD160 eed87a3d83c3dfc1b4275f8211d81b3f79fd3614 SHA1 03b99bf0296e62931b1a87dafb50ab58cac570d8 SHA256 34b1fbaec747e41d109ed67aea3d138ff0d32776a3b878f7ed7b8245cbbb6485 |
180 |
MISC metadata.xml 1170 RMD160 0dd5eb20b1d59bdfcfeb3f906accd5f087a5813e SHA1 b0d4fcdc38b628355bac0deee0c8c54618e34481 SHA256 c1dc724ec82b665527c6857d834e378dd4f0435a75aee702d97bba45a3e61f11 |