On Fri, 17 Aug 2012 13:29:14 [email protected] wrote:
> On Fri, 17 Aug 2012 21:28:09 +1200
> 
> Francois Bissey <[email protected]> wrote:
> > Best solution: rebuild mpmath without the gmp useflag and remove gmpy.
> > Rebuilding is not enough as the flag only insure that gmpy is
> > installed. mpmath autodetect gmpy's presence all by itself if it is
> > present - gmp flag or not.
> 
>   I did as you suggested and now I can 'import mpmath' and 'import
> sympy' in the Python2 shell without any errors.
>   Maybe it is worth masking this 'gmp' USE-flag if Sage is being
> emerged? Or is it impossible?
> 
gmpy is the real culprit. You can have it independently of the useflag.
We can put something in the package.use we provide in the overlay.
We could ship a package.mask file as well.
I am setting MPMATH_NOGMPY in sage-env in sage-5.3 so there
won't be problems from sage.

Francois

Reply via email to