CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
python: updated to 2.7.9
[ports/opt-arm.git] / python / Pkgfile
index 3405475b5e18f9b593ef65475190f926a433cf3c..898ac846d7e58d32ced1be8e46b2a428cc24bd5d 100644 (file)
@@ -1,11 +1,11 @@
 # Description: Python interpreter, version 2.7
 # URL: http://www.python.org
 # Maintainer: Juergen Daubert, jue at crux dot nu
-# Depends on: db gdbm openssl bzip2 zlib sqlite3
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: db gdbm openssl bzip2 zlib sqlite3
 
 name=python
-version=2.7.5
+version=2.7.9
 release=1
 source=(http://www.python.org/ftp/$name/$version/Python-$version.tar.xz \
         pyconfig.h)
@@ -20,7 +20,7 @@ build () {
               --mandir=/usr/man \
               --enable-shared \
               --with-threads \
-              --enable-ipv6 
+              --enable-ipv6
 
   make
   make -j1 DESTDIR=$PKG install
@@ -40,5 +40,5 @@ build () {
   rm $PKG/usr/lib/python/ctypes/macholib/README.ctypes
 
   mv $PKG/usr/include/python2.7/pyconfig{,-32}.h
-  cp $SRC/pyconfig.h $PKG/usr/include/python2.7/
+  install -m 0644 $SRC/pyconfig.h $PKG/usr/include/python2.7/
 }