X-Git-Url: http://gitweb/?a=blobdiff_plain;f=python%2FPkgfile;h=90d22d088f00b5d829ad4047ec83107e1ec69615;hb=93ebab8b212e4088e5925995de48cd4a0d019531;hp=3405475b5e18f9b593ef65475190f926a433cf3c;hpb=90a859d94f319703d9a172bb2be152f43bdb4819;p=ports%2Fopt-arm.git diff --git a/python/Pkgfile b/python/Pkgfile index 3405475..90d22d0 100644 --- a/python/Pkgfile +++ b/python/Pkgfile @@ -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.12 release=1 source=(http://www.python.org/ftp/$name/$version/Python-$version.tar.xz \ pyconfig.h) @@ -17,16 +17,15 @@ build () { # our CFLAGS are used as well OPT="-Wall -Wstrict-prototypes -fwrapv" \ ./configure --prefix=/usr \ - --mandir=/usr/man \ --enable-shared \ --with-threads \ - --enable-ipv6 + --enable-ipv6 make make -j1 DESTDIR=$PKG install # fix issue with man-page symlink - ln -sf python2.7.1 $PKG/usr/man/man1/python.1 + ln -sf python2.7.1 $PKG/usr/share/man/man1/python.1 ln -sf python2.7 $PKG/usr/bin/python ln -s python2.7 $PKG/usr/lib/python @@ -40,5 +39,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/ }