diff options
author | sibel <lesibel@free.fr> | 2010-12-27 13:39:08 +0000 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2010-12-27 13:39:08 +0000 |
commit | c5044bfe2ac60f460d8fa15b4862fb9e3de3dae9 (patch) | |
tree | e03265b8d27e0e05ee9d96cfda744640c5aa4bf1 /extra/python2 | |
parent | 65dca74d95d843ff83283c3473bb71286c21f3a6 (diff) | |
download | nutyx-extra-c5044bfe2ac60f460d8fa15b4862fb9e3de3dae9.tar.gz nutyx-extra-c5044bfe2ac60f460d8fa15b4862fb9e3de3dae9.tar.bz2 nutyx-extra-c5044bfe2ac60f460d8fa15b4862fb9e3de3dae9.tar.xz nutyx-extra-c5044bfe2ac60f460d8fa15b4862fb9e3de3dae9.zip |
python2#2.7.1-4, maj port
Diffstat (limited to 'extra/python2')
-rw-r--r-- | extra/python2/.footprint | 5 | ||||
-rwxr-xr-x | extra/python2/Pkgfile | 12 |
2 files changed, 5 insertions, 12 deletions
diff --git a/extra/python2/.footprint b/extra/python2/.footprint index db9cc9798..c5eaf41b3 100644 --- a/extra/python2/.footprint +++ b/extra/python2/.footprint @@ -106,7 +106,6 @@ lrwxrwxrwx root/root usr/lib/libpython2.7.so -> libpython2.7.so.1.0 -r-xr-xr-x root/root usr/lib/libpython2.7.so.1.0 drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/python-2.7.pc -lrwxrwxrwx root/root usr/lib/pkgconfig/python.pc -> python-2.7.pc drwxr-xr-x root/root usr/lib/python2.7/ -rw-r--r-- root/root usr/lib/python2.7/BaseHTTPServer.py -rw-r--r-- root/root usr/lib/python2.7/BaseHTTPServer.pyc @@ -4430,7 +4429,3 @@ drwxr-xr-x root/root usr/lib/python2.7/xml/sax/ -rw-r--r-- root/root usr/lib/python2.7/zipfile.py -rw-r--r-- root/root usr/lib/python2.7/zipfile.pyc -rw-r--r-- root/root usr/lib/python2.7/zipfile.pyo -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/man/ -drwxr-xr-x root/root usr/share/man/man1/ --rw-r--r-- root/root usr/share/man/man1/python2.7.1.gz diff --git a/extra/python2/Pkgfile b/extra/python2/Pkgfile index 699bc5c93..20d3524ca 100755 --- a/extra/python2/Pkgfile +++ b/extra/python2/Pkgfile @@ -2,11 +2,11 @@ # URL: http://www.python.org # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: pth, sqlite3 +# Depends on: db, bzip2, gdbm, openssl, zlib, expat, sqlite3, libffi name=python2 version=2.7.1 -release=3 +release=4 _pybasever=2.7 source=( http://www.python.org/ftp/python/$version/Python-$version.tar.bz2 @@ -16,7 +16,9 @@ build() { cd Python-$version patch -Np1 -i ../python-2.7-db51.diff + sed -i "/SQLITE_OMIT_LOAD_EXTENSION/d" setup.py + rm -r Modules/expat rm -r Modules/zlib rm -r Modules/_ctypes/{darwin,libffi}* @@ -29,7 +31,7 @@ build() { --enable-unicode=ucs4 --with-system-expat --with-system-ffi make - make DESTDIR=$PKG install + make DESTDIR=$PKG altinstall ln -sf python${_pybasever} $PKG/usr/bin/python2 ln -sf python${_pybasever}-config $PKG/usr/bin/python2-config @@ -57,9 +59,5 @@ build() { # clean-up reference to build directory sed -i "s#$SRC/Python-$version:##" \ $PKG/usr/lib/python${_pybasever}/config/Makefile - - rm $PKG/usr/bin/python - rm $PKG/usr/bin/python-config - } |