1 # Maintainer: Jerome Rose <jrose.pub at gmail.com>
2 # Contributor: Thomas Dziedzic < gostrc at gmail >
3 # Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
5 pkgname=stackless-python
8 pkgdesc="Python is a high-level scripting language. Stackless is an experimental implementation that supports continuations, generators, microthreads, and coroutines."
10 url="http://www.stackless.com"
11 makedepends=('sed' 'python')
12 depends=('bzip2' 'expat' 'gdbm' 'libffi' 'openssl' 'zlib')
13 optdepents=('tk: for tkinter')
14 conflicts=('python>=3')
15 provides=('python=3.2')
17 source="http://www.stackless.com/binaries/stackless-${pkgver//./}-export.tar.bz2"
18 md5sums=('baabe0895b993ffa198bc18189f60dd1')
21 cd "$srcdir/python-$pkgver-stackless"
27 #temp hack to fix configure SLPFLAGS
28 mv Makefile Makefile.old
29 sed 's/@SLPFLAGS@/-fno-omit-frame-pointer -O2 -fPIC/' <Makefile.old >Makefile
35 cd "$srcdir/python-$pkgver-stackless"
36 make DESTDIR="$pkgdir/" install
40 ln -s python3-config python-config