Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 208383 Details for
Bug 201321
sci-mathematics/sage (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new ebuild still failing because of sandbox violation error
sage-4.2-r1.ebuild (text/plain), 2.09 KB, created by
Christopher Schwan
on 2009-10-26 23:39:57 UTC
(
hide
)
Description:
new ebuild still failing because of sandbox violation error
Filename:
MIME Type:
Creator:
Christopher Schwan
Created:
2009-10-26 23:39:57 UTC
Size:
2.09 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils flag-o-matic fortran > >DESCRIPTION="Math software for algebra, geometry, number theory, cryptography, and numerical computation." >HOMEPAGE="http://www.sagemath.org" >SRC_URI="http://mirror.switch.ch/mirror/sagemath/src/${P}.tar" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86 ~ppc" >IUSE="" > >DEPEND=">=sys-devel/bison-2.3" >RDEPEND=">=virtual/jre-1.4" > ># patch one of sage's spkgs. $1: spkg name, $2: patch name >spkg_patch() { > # change to spkg dir > cd "${S}/spkg/standard" > > # untar spkg and and remove it > tar -xf "$1.spkg" > rm "$1.spkg" > cd "$1" > > # apply patch > epatch "$2" > > # tar patched dir and remove it > cd .. > tar -cf "$1.spkg" "$1" > rm -rf "$1" >} > >pkg_setup() { > FORTRAN="gfortran" > fortran_pkg_setup > einfo "Sage itself is released under the GPL-2 _or later_ license" > einfo "However sage is distributed with packages having different licenses." > einfo "This ebuild unfortunately does too, here is a list of licenses used:" > einfo "BSD, LGPL, apache 2.0, PYTHON, MIT, public-domain, ZPL and as-is" >} > >src_unpack(){ > unpack ${A} > > spkg_patch "ecm-6.2.1.p0" "$FILESDIR/ecm-6.2.1.p0-fix-typo.patch" > spkg_patch "pari-2.3.3.p5" "$FILESDIR/pari-2.3.3.p0-fix-ldconfig.patch" >} > >src_compile() { > # This is so (at least) mpir will compile. > ABI=32 > if ( (use amd64) || (use ppc64)); then > ABI=64 > fi > > emake || die "make failed" > if ( grep "sage: An error occurred" "${S}/install.log" ); then > die "make failed" > fi >} > >src_install() { > emake DESTDIR="${D}/opt" install > sed -i "s/SAGE_ROOT=.*\/opt/SAGE_ROOT=\"\/opt/" "${D}/opt/bin/sage" "${D}/opt/sage/sage" > exeinto /opt/bin > dosym /opt/sage/sage /opt/bin/sage > > # Force sage to create files in new location. This has to be done twice - > # this time to create the files for gentoo to correctly record as part of > # the sage install > "${D}/opt/sage/sage" -c quit >} > >pkg_postinst() { > # make sure files are correctly setup in the new location by running sage as > # root. This prevent nasty message to be presented to the user. > /opt/sage/sage -c quit >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 201321
:
137773
|
138064
|
138066
|
141407
|
141408
|
141410
|
141412
|
141414
|
141416
|
141417
|
141418
|
142615
|
142616
|
142618
|
142619
|
143099
|
143100
|
208108
|
208276
|
208278
|
208279
| 208383 |
208385
|
208386
|
208391
|
208393
|
208394
|
208405
|
208471
|
208475