From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/scimath: metadata.xml ChangeLog scimath-3.0.2.ebuild |
Date: | Thu, 15 Jan 2009 10:29:37 |
Message-Id: | E1LNPTg-0006uo-OP@stork.gentoo.org |
1 | bicatali 09/01/15 10:29:32 |
2 | |
3 | Added: metadata.xml ChangeLog scimath-3.0.2.ebuild |
4 | Log: |
5 | Initial import |
6 | (Portage version: 2.2_rc20/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-python/scimath/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/scimath/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/scimath/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>python</herd> |
20 | <herd>sci</herd> |
21 | <longdescription lang="en"> |
22 | The SciMath project from the Enthought Tool Suite includes |
23 | packages to support scientific and mathematical calculations, |
24 | beyond the capabilities offered by SciPy: |
25 | * enthought.interpolate |
26 | * enthought.mathematics |
27 | * enthought.units |
28 | </longdescription> |
29 | </pkgmetadata> |
30 | |
31 | |
32 | |
33 | 1.1 dev-python/scimath/ChangeLog |
34 | |
35 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/scimath/ChangeLog?rev=1.1&view=markup |
36 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/scimath/ChangeLog?rev=1.1&content-type=text/plain |
37 | |
38 | Index: ChangeLog |
39 | =================================================================== |
40 | # ChangeLog for dev-python/scimath |
41 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
42 | # $Header: /var/cvsroot/gentoo-x86/dev-python/scimath/ChangeLog,v 1.1 2009/01/15 10:29:32 bicatali Exp $ |
43 | |
44 | *scimath-3.0.2 (15 Jan 2009) |
45 | |
46 | 15 Jan 2009; Sébastien Fabbro <bicatali@g.o> +metadata.xml, |
47 | +scimath-3.0.2.ebuild: |
48 | Initial import |
49 | |
50 | |
51 | |
52 | |
53 | 1.1 dev-python/scimath/scimath-3.0.2.ebuild |
54 | |
55 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/scimath/scimath-3.0.2.ebuild?rev=1.1&view=markup |
56 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/scimath/scimath-3.0.2.ebuild?rev=1.1&content-type=text/plain |
57 | |
58 | Index: scimath-3.0.2.ebuild |
59 | =================================================================== |
60 | # Copyright 1999-2009 Gentoo Foundation |
61 | # Distributed under the terms of the GNU General Public License v2 |
62 | # $Header: /var/cvsroot/gentoo-x86/dev-python/scimath/scimath-3.0.2.ebuild,v 1.1 2009/01/15 10:29:32 bicatali Exp $ |
63 | |
64 | EAPI=2 |
65 | inherit distutils |
66 | |
67 | MY_PN="SciMath" |
68 | MY_P="${MY_PN}-${PV}" |
69 | DESCRIPTION="Enthought Tool Suite scientific and mathematical tools" |
70 | HOMEPAGE="http://code.enthought.com/projects/sci_math.php" |
71 | SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
72 | |
73 | IUSE="test" |
74 | SLOT="0" |
75 | KEYWORDS="~amd64 ~x86" |
76 | LICENSE="BSD" |
77 | |
78 | RDEPEND=">=dev-python/numpy-1.1 |
79 | sci-libs/scipy |
80 | dev-python/traits" |
81 | |
82 | DEPEND="dev-python/setuptools |
83 | >=dev-python/numpy-1.1 |
84 | test? ( >=dev-python/nose-0.10.3 dev-python/enthoughtbase sci-libs/scipy )" |
85 | |
86 | S="${WORKDIR}/${MY_P}" |
87 | |
88 | PYTHON_MODNAME="enthought" |
89 | |
90 | src_prepare() { |
91 | sed -i -e "/self.run_command('build_docs')/d" setup.py || die |
92 | } |
93 | |
94 | src_test() { |
95 | PYTHONPATH=$(dir -d build/lib*) ${python} setup.py test || die "tests failed" |
96 | } |