Gentoo Archives: gentoo-science

From: Thomas Kahle <tomka@g.o>
To: Gentoo Science <gentoo-science@l.g.o>
Subject: [gentoo-science] Making ebuilds for sage packages
Date: Mon, 03 Dec 2012 03:03:26
Message-Id: 20121203011237.GB11108@schlaumatte.gateway.2wire.net
1 Hi,
2
3 I'm trying to make an ebuild that installes this here into my
4 sage-on-gentoo installation:
5 https://bitbucket.org/matroid/sage_matroids
6
7 Their setup.py does the following:
8
9 if not os.environ.has_key('SAGE_ROOT'):
10 print " ERROR: The environment variable SAGE_ROOT must be defined."
11 sys.exit(1)
12 else:
13 SAGE_ROOT = os.environ['SAGE_ROOT']
14 SAGE_LOCAL = SAGE_ROOT + '/local'
15 SAGE_DEVEL = SAGE_ROOT + '/devel'
16 SAGE_INC = SAGE_LOCAL + '/include/'
17
18 and I wonder if this is wrong? Is SAGE_LOCAL="/usr" on Gentoo? In
19 particular, where should python packages go that were installed by such
20 an ebuild? Maybe into /usr/lib/python/site-packages ?
21
22 Cheers,
23 Thomas
24
25
26 --
27 Thomas Kahle
28 http://dev.gentoo.org/~tomka/

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-science] Making ebuilds for sage packages Francois Bissey <fbissey@××××××××××××.nz>
Re: [gentoo-science] Making ebuilds for sage packages Christopher Schwan <cschwan@××××××××××××××××××.de>