Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/mpmath: mpmath-0.14.ebuild ChangeLog
Date: Sat, 06 Feb 2010 11:19:58
Message-Id: E1Ndihd-0004qu-Eq@stork.gentoo.org
1 arfrever 10/02/06 11:19:53
2
3 Modified: mpmath-0.14.ebuild ChangeLog
4 Log:
5 Set SUPPORT_PYTHON_ABIS.
6 (Portage version: 15324-svn/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 dev-python/mpmath/mpmath-0.14.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mpmath/mpmath-0.14.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mpmath/mpmath-0.14.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mpmath/mpmath-0.14.ebuild?r1=1.1&r2=1.2
14
15 Index: mpmath-0.14.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/mpmath/mpmath-0.14.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- mpmath-0.14.ebuild 6 Feb 2010 08:21:44 -0000 1.1
22 +++ mpmath-0.14.ebuild 6 Feb 2010 11:19:52 -0000 1.2
23 @@ -1,35 +1,43 @@
24 # Copyright 1999-2010 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/mpmath-0.14.ebuild,v 1.1 2010/02/06 08:21:44 grozin Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/mpmath-0.14.ebuild,v 1.2 2010/02/06 11:19:52 arfrever Exp $
28 +
29 +EAPI="2"
30 +PYTHON_DEPEND="2"
31 +SUPPORT_PYTHON_ABIS="1"
32 +DISTUTILS_SRC_TEST="py.test"
33
34 -EAPI=2
35 -NEED_PYTHON=2.4
36 inherit distutils
37
38 DESCRIPTION="A python library for arbitrary-precision floating-point arithmetic"
39 -HOMEPAGE="http://code.google.com/p/${PN}/"
40 +HOMEPAGE="http://code.google.com/p/mpmath/ http://pypi.python.org/pypi/mpmath"
41 SRC_URI="http://mpmath.googlecode.com/files/${P}.tar.gz"
42
43 LICENSE="BSD"
44 SLOT="0"
45 KEYWORDS="~amd64 ~x86"
46 -IUSE="doc examples gmp test"
47 +IUSE="doc examples gmp"
48
49 RDEPEND="gmp? ( dev-python/gmpy )"
50 -DEPEND="doc? ( dev-python/sphinx )
51 - test? ( dev-python/py )"
52 +DEPEND="doc? ( dev-python/sphinx )"
53 +RESTRICT_PYTHON_ABIS="3.*"
54 +
55 +DOCS="CHANGES"
56
57 src_compile() {
58 distutils_src_compile
59 if use doc; then
60 cd doc
61 - "${python}" build.py
62 - cd ..
63 + "$(PYTHON -f)" build.py
64 fi
65 }
66
67 +src_test() {
68 + cd mpmath/tests
69 + distutils_src_test
70 +}
71 +
72 src_install() {
73 - DOCS="CHANGES"
74 distutils_src_install
75
76 if use doc; then
77 @@ -43,8 +51,3 @@
78 doins demo/*
79 fi
80 }
81 -
82 -src_test() {
83 - cd mpmath/tests
84 - py.test || die "tests failed"
85 -}
86
87
88
89 1.10 dev-python/mpmath/ChangeLog
90
91 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mpmath/ChangeLog?rev=1.10&view=markup
92 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mpmath/ChangeLog?rev=1.10&content-type=text/plain
93 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/mpmath/ChangeLog?r1=1.9&r2=1.10
94
95 Index: ChangeLog
96 ===================================================================
97 RCS file: /var/cvsroot/gentoo-x86/dev-python/mpmath/ChangeLog,v
98 retrieving revision 1.9
99 retrieving revision 1.10
100 diff -u -r1.9 -r1.10
101 --- ChangeLog 6 Feb 2010 08:21:44 -0000 1.9
102 +++ ChangeLog 6 Feb 2010 11:19:52 -0000 1.10
103 @@ -1,6 +1,10 @@
104 # ChangeLog for dev-python/mpmath
105 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
106 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/ChangeLog,v 1.9 2010/02/06 08:21:44 grozin Exp $
107 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mpmath/ChangeLog,v 1.10 2010/02/06 11:19:52 arfrever Exp $
108 +
109 + 06 Feb 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
110 + mpmath-0.14.ebuild:
111 + Set SUPPORT_PYTHON_ABIS.
112
113 *mpmath-0.14 (06 Feb 2010)