summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2010-12-27 08:36:02 +0000
committersibel <lesibel@free.fr>2010-12-27 08:36:02 +0000
commitd4bc29609450f9d47803b309f3125cccb8bdb54d (patch)
tree0057b17ca29c5b8aa9a981e0d5e5b825ad2048ef
parent7c40f57b40464b680298d14bf4e370b8551999c4 (diff)
downloadnutyx-extra-d4bc29609450f9d47803b309f3125cccb8bdb54d.tar.gz
nutyx-extra-d4bc29609450f9d47803b309f3125cccb8bdb54d.tar.bz2
nutyx-extra-d4bc29609450f9d47803b309f3125cccb8bdb54d.tar.xz
nutyx-extra-d4bc29609450f9d47803b309f3125cccb8bdb54d.zip
python#3.1.3-3, maj port
-rw-r--r--extra/python/.footprint3
-rwxr-xr-xextra/python/Pkgfile10
2 files changed, 11 insertions, 2 deletions
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
}