From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-science+bounces-1609-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1SZhdX-000797-Dk
	for garchives@archives.gentoo.org; Wed, 30 May 2012 12:04:23 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0BE7FE05F2
	for <garchives@archives.gentoo.org>; Wed, 30 May 2012 12:04:22 +0000 (UTC)
Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id 925D2E04D6
	for <gentoo-science@lists.gentoo.org>; Wed, 30 May 2012 09:27:32 +0000 (UTC)
Received: by pbbrr13 with SMTP id rr13so8403543pbb.40
        for <gentoo-science@lists.gentoo.org>; Wed, 30 May 2012 02:27:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=message-id:date:from:user-agent:mime-version:to:subject:references
         :in-reply-to:content-type:content-transfer-encoding;
        bh=4gS61BIuF06er5a26Swq8Ur7XEj198wIG01EhQMA9pk=;
        b=OQ4pl6A58BDRRldWKz21uOuqZqciu1QZKTZKmeE34RpYeSUSNhEnSgweUcPTgFKRhC
         sgHVGQesIXzxAaEQoiIogVnIUSKdFweBZZuuRjOeNQeiZNu25j18AjvICznwA05n8QWu
         n18QmLdwawCxj2Le5DXQMIZQ1rdMm8M/bTUXNkkZIGY7bxUNNf2Y3ijaLnffnuPKMgS2
         o5OTjq4xRT5cmvEs5iokQFGGq7LKPJtDI6YieS6IohnsJZrhki/iEq9Yk3D20OMILPAk
         p7T177vK7ZbKgyGhlBquPzaE8ZBl+xxmvAtIGdsy2zAY6cA7LnHe437qO+jRpM5yU3lM
         1mCA==
Received: by 10.68.224.199 with SMTP id re7mr8943275pbc.59.1338370051897;
        Wed, 30 May 2012 02:27:31 -0700 (PDT)
Received: from [172.21.48.153] ([155.69.206.15])
        by mx.google.com with ESMTPS id wn3sm25840799pbc.74.2012.05.30.02.27.30
        (version=SSLv3 cipher=OTHER);
        Wed, 30 May 2012 02:27:31 -0700 (PDT)
Message-ID: <4FC5E801.90401@gmail.com>
Date: Wed, 30 May 2012 17:27:29 +0800
From: P Purkayastha <ppurka@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
Precedence: bulk
List-Post: <mailto:gentoo-science@lists.gentoo.org>
List-Help: <mailto:gentoo-science+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-science+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-science+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-science.gentoo.org>
X-BeenThere: gentoo-science@lists.gentoo.org
Reply-to: gentoo-science@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] numpy conflict with sage-on-gentoo
References: <20120530090756.GP8884@schlaumatte.ethz.ch>
In-Reply-To: <20120530090756.GP8884@schlaumatte.ethz.ch>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 9aafab63-e39f-45ab-b181-2be53d5f29c3
X-Archives-Hash: 0f432f7bfabd39c400367737c5db4036

On 05/30/2012 05:07 PM, Thomas Kahle wrote:
> Hi,
> I'm trying to build sage on gentoo but I get a conflict:
>
> !!! Multiple package instances within a single package slot have been pulled
> !!! into the dependency graph, resulting in a slot conflict:
>
> dev-python/numpy:0
>
>    (dev-python/numpy-1.5.1::sage-on-gentoo, ebuild scheduled for merge) pulled in by
>      ~dev-python/numpy-1.5.1 required by (sci-mathematics/sage-5.0-r1::sage-on-gentoo, ebuild scheduled for merge)
>
>    (dev-python/numpy-1.6.0::gentoo, ebuild scheduled for merge) pulled in by
>      >=dev-python/numpy-1.5[lapack] required by (sci-libs/scipy-0.9.0-r1::gentoo, ebuild scheduled for merge)
>
> Any suggestions?
>
> Thanks!
> Thomas
>

The latter package scipy depends on >=numpy-1.5 whereas sage depends on 
=numpy-1.5.1. So, simply mask the higher versions of numpy:

If you have /etc/portage/package.mask directory then,

echo ">dev-python/numpy-1.5.1" >> /etc/portage/package.mask/mask_numpy

otherwise

echo ">dev-python/numpy-1.5.1" >> /etc/portage/package.mask