diff options
author | sibel <lesibel@free.fr> | 2011-02-21 18:35:29 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-02-21 18:35:29 +0100 |
commit | bf39c5ae6e260d12914e0b2e54845709aff53395 (patch) | |
tree | 2e8d42981f65f98f2e05d5140dfff0d33de7c95a /extra/python/Pkgfile | |
parent | fabeb5f7b2c61fed06defad92aed984fcd1bcbfa (diff) | |
download | nutyx-pakxe-bf39c5ae6e260d12914e0b2e54845709aff53395.tar.gz nutyx-pakxe-bf39c5ae6e260d12914e0b2e54845709aff53395.tar.bz2 nutyx-pakxe-bf39c5ae6e260d12914e0b2e54845709aff53395.tar.xz nutyx-pakxe-bf39c5ae6e260d12914e0b2e54845709aff53395.zip |
python, maj 3.2-1
Diffstat (limited to 'extra/python/Pkgfile')
-rwxr-xr-x | extra/python/Pkgfile | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/extra/python/Pkgfile b/extra/python/Pkgfile index 21418e6fe..327eb90fd 100755 --- a/extra/python/Pkgfile +++ b/extra/python/Pkgfile @@ -6,21 +6,16 @@ # Run on: name=python -version=3.1.3 -release=4 -source=( http://www.python.org/ftp/python/$version/Python-$version.tar.bz2 - python-internal-expat.patch) +version=3.2 +release=1 +source=( http://www.python.org/ftp/python/$version/Python-$version.tar.bz2) build() { cd Python-$version - - patch -Np0 -i ../python-internal-expat.patch rm -r Modules/expat rm -r Modules/zlib rm -r Modules/_ctypes/{darwin,libffi}* -# sed -i "s/ndbm_libs = \[\]/ndbm_libs = ['gdbm', 'gdbm_compat']/" setup.py - export OPT="${CFLAGS}" export CPPFLAGS+="`pkg-config --cflags-only-I libffi`" @@ -41,10 +36,7 @@ build() { ln -sf idle3 $PKG/usr/bin/idle ln -sf pydoc3 $PKG/usr/bin/pydoc - sed -i "s#$SRC/Python-$version:##" $PKG/usr/lib/python3.1/config/Makefile - rm $PKG/usr/bin/2to3 - install -Dm644 LICENSE $PKG/usr/share/licenses/$name/LICENSE } |