Date: Tuesday, October 18, 2016 @ 18:43:26
  Author: arojas
Revision: 192540

Build with Sage support

Modified:
  fpylll/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-10-18 18:24:07 UTC (rev 192539)
+++ PKGBUILD    2016-10-18 18:43:26 UTC (rev 192540)
@@ -3,18 +3,21 @@
 
 pkgname=fpylll
 pkgver=0.2.2dev
-pkgrel=1
+pkgrel=2
 pkgdesc="A Python interface for fplll"
 arch=(i686 x86_64)
 url="https://github.com/fplll/fpylll";
 license=(GPL2)
 depends=(fplll python2-numpy)
-makedepends=(cysignals cython2) # sagemath
+makedepends=(cysignals cython2 sagemath)
 
source=("https://github.com/fplll/fpylll/releases/download/$pkgver/$pkgname-$pkgver.tar.gz";)
 md5sums=('199592d6870baa8db6222a1e8eca45df')
 
 build() {
   cd $pkgname-$pkgver
+
+  ln -s /usr/lib/python2.7/site-packages/sage src
+  export SAGE_ROOT=$PWD
   python2 setup.py build
 }
 

Reply via email to