updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / stackless-python-svn / PKGBUILD
blob023d63f1279f7f125adc542ea59115f27f2815c0
1 # Maintainer: Jerome Rose <jrose dot pub at gmail dot com>
3 pkgname=stackless-python-svn
4 pkgver=3.2
5 pkgrel=1
6 pkgdesc="Python is a high-level scripting language. Stackless is an experimental implementation that supports continuations, generators, microthreads, and coroutines. This is the SVN (maint) version"
7 arch=('i686' 'x86_64')
8 url="http://www.stackless.com"
9 makedepends=('svn')
10 depends=('bzip2' 'expat' 'gdbm' 'libffi' 'openssl' 'zlib')
11 optdepents=('tk: for tkinter')
12 conflicts=('python>=3')
13 provides=('python=3.2')
14 license=('python')
15 #source=
16 #md5sums=()
18 build() {
19         cd "$srcdir"
20         svn checkout "http://svn.python.org/projects/stackless/branches/release${pkgver//./}-maint/"
21         cd "$srcdir/release${pkgver//./}-maint"
22         ./configure \
23                 --prefix=/usr \
24                 --with-threads \
25                 --enable-shared
27         make
30 package() {
31         cd "$srcdir/release${pkgver//./}-maint"
32         make DESTDIR="$pkgdir" install
33         cd "$pkgdir/usr/bin"
34         rm -f 2to3
35         ln -s python3 python
36         ln -s python3-config python-config
37         ln -s pydoc3 pydoc
38         ln -s idle3 idle