Gentoo Archives: gentoo-science

From: Francois Bissey <fbissey@××××××××××××.nz>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo] cannot build Sage because of Sympy-0.7.1
Date: Fri, 17 Aug 2012 12:08:45
Message-Id: 2323265.iCCqBSj8HU@vrooom-vrooom
In Reply to: Re: [gentoo-science] [sage-on-gentoo] cannot build Sage because of Sympy-0.7.1 by v_2e@ukr.net
1 On Fri, 17 Aug 2012 13:29:14 v_2e@×××.net wrote:
2 > On Fri, 17 Aug 2012 21:28:09 +1200
3 >
4 > Francois Bissey <fbissey@××××××××××××.nz> wrote:
5 > > Best solution: rebuild mpmath without the gmp useflag and remove gmpy.
6 > > Rebuilding is not enough as the flag only insure that gmpy is
7 > > installed. mpmath autodetect gmpy's presence all by itself if it is
8 > > present - gmp flag or not.
9 >
10 > I did as you suggested and now I can 'import mpmath' and 'import
11 > sympy' in the Python2 shell without any errors.
12 > Maybe it is worth masking this 'gmp' USE-flag if Sage is being
13 > emerged? Or is it impossible?
14 >
15 gmpy is the real culprit. You can have it independently of the useflag.
16 We can put something in the package.use we provide in the overlay.
17 We could ship a package.mask file as well.
18 I am setting MPMATH_NOGMPY in sage-env in sage-5.3 so there
19 won't be problems from sage.
20
21 Francois