From: | "Andrey Grozin (grozin)" <grozin@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/mpmath: ChangeLog mpmath-0.9.ebuild |
Date: | Tue, 26 Aug 2008 09:09:58 |
Message-Id: | E1KXuYk-00057r-EU@stork.gentoo.org |
1 | grozin 08/08/26 09:09:54 |
2 | |
3 | Modified: ChangeLog |
4 | Added: mpmath-0.9.ebuild |
5 | Log: |
6 | Version bump, new USE flag gmp |
7 | (Portage version: 2.2_rc8/cvs/Linux 2.6.25-tuxonice-r1 i686) |
8 | |
9 | Revision Changes Path |
10 | 1.2 dev-python/mpmath/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mpmath/ChangeLog?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mpmath/ChangeLog?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mpmath/ChangeLog?r1=1.1&r2=1.2 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/mpmath/ChangeLog,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- ChangeLog 8 Jul 2008 04:10:15 -0000 1.1 |
23 | +++ ChangeLog 26 Aug 2008 09:09:53 -0000 1.2 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-python/mpmath |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/ChangeLog,v 1.1 2008/07/08 04:10:15 grozin Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/ChangeLog,v 1.2 2008/08/26 09:09:53 grozin Exp $ |
29 | + |
30 | +*mpmath-0.9 (26 Aug 2008) |
31 | + |
32 | + 26 Aug 2008; Andrey Grozin <grozin@g.o> +mpmath-0.9.ebuild: |
33 | + Version bump, new USE flag gmp |
34 | |
35 | *mpmath-0.8 (08 Jul 2008) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 dev-python/mpmath/mpmath-0.9.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mpmath/mpmath-0.9.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mpmath/mpmath-0.9.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: mpmath-0.9.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2008 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/mpmath-0.9.ebuild,v 1.1 2008/08/26 09:09:53 grozin Exp $ |
50 | |
51 | NEED_PYTHON=2.4 |
52 | inherit distutils |
53 | |
54 | DESCRIPTION="A python library for arbitrary-precision floating-point arithmetic" |
55 | HOMEPAGE="http://code.google.com/p/${PN}/" |
56 | SRC_URI="http://mpmath.googlecode.com/files/${P}.tar.gz" |
57 | |
58 | LICENSE="BSD" |
59 | SLOT="0" |
60 | KEYWORDS="~x86" |
61 | IUSE="doc examples gmp test" |
62 | |
63 | DEPEND="doc? ( dev-python/sphinx ) |
64 | gmp? ( dev-python/gmpy ) |
65 | test? ( dev-python/py )" |
66 | |
67 | src_install() { |
68 | DOCS="CHANGES" |
69 | distutils_src_install |
70 | |
71 | if use doc; then |
72 | cd doc |
73 | "${python}" build.py |
74 | dohtml -r build/* |
75 | cd .. |
76 | fi |
77 | |
78 | if use examples; then |
79 | insinto /usr/share/doc/${PF}/examples |
80 | doins demo/* |
81 | fi |
82 | } |
83 | |
84 | src_test() { |
85 | cd mpmath/tests |
86 | py.test || die "tests failed" |
87 | } |