From d4bc29609450f9d47803b309f3125cccb8bdb54d Mon Sep 17 00:00:00 2001 From: sibel Date: Mon, 27 Dec 2010 08:36:02 +0000 Subject: python#3.1.3-3, maj port --- extra/python/.footprint | 3 +++ extra/python/Pkgfile | 10 ++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'extra/python') diff --git a/extra/python/.footprint b/extra/python/.footprint index 89a59a174..babd1e0a2 100644 --- a/extra/python/.footprint +++ b/extra/python/.footprint @@ -3950,6 +3950,9 @@ drwxr-xr-x root/root usr/lib/python3.1/xmlrpc/ -rw-r--r-- root/root usr/lib/python3.1/zipfile.pyc -rw-r--r-- root/root usr/lib/python3.1/zipfile.pyo drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/licenses/ +drwxr-xr-x root/root usr/share/licenses/python/ +-rw-r--r-- root/root usr/share/licenses/python/LICENSE 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/python3.1.1.gz diff --git a/extra/python/Pkgfile b/extra/python/Pkgfile index 33db0a697..00a9b6927 100755 --- a/extra/python/Pkgfile +++ b/extra/python/Pkgfile @@ -6,13 +6,16 @@ name=python version=3.1.3 -release=2 +release=3 source=( http://www.python.org/ftp/python/$version/Python-$version.tar.bz2) build() { cd Python-$version sed -i "s/ndbm_libs = \[\]/ndbm_libs = ['gdbm', 'gdbm_compat']/" setup.py + export OPT="${CFLAGS}" + export CPPFLAGS+="`pkg-config --cflags-only-I libffi`" + ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ @@ -30,7 +33,10 @@ build() { ln -sf idle3 $PKG/usr/bin/idle ln -sf pydoc3 $PKG/usr/bin/pydoc - + sed -i "s#$SRC/Python-$version:##" $pkgdir/usr/lib/python3.1/config/Makefile + rm $PKG/usr/bin/2to3 + + install -Dm644 LICENSE $PKG/usr/share/licenses/$name/LICENSE } -- cgit v1.2.3-70-g09d2