python-32: 2.7.3 -> 2.7.4
This commit is contained in:
parent
7ee0523b1a
commit
db53401c90
@ -24,8 +24,9 @@ lrwxrwxrwx root/root usr/lib32/python2.7/config/libpython2.7.so -> /usr/lib32/li
|
||||
-rwxr-xr-x root/root usr/lib32/python2.7/config/makesetup
|
||||
-rw-r--r-- root/root usr/lib32/python2.7/config/python.o
|
||||
drwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/
|
||||
-rw-r--r-- root/root usr/lib32/python2.7/lib-dynload/Python-2.7.3-py2.7.egg-info
|
||||
-rw-r--r-- root/root usr/lib32/python2.7/lib-dynload/Python-2.7.4-py2.7.egg-info
|
||||
-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_bisect.so
|
||||
-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_bsddb.so
|
||||
-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_codecs_cn.so
|
||||
-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_codecs_hk.so
|
||||
-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/_codecs_iso2022.so
|
||||
@ -64,6 +65,7 @@ drwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/
|
||||
-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/cmath.so
|
||||
-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/crypt.so
|
||||
-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/datetime.so
|
||||
-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/dbm.so
|
||||
-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/dl.so
|
||||
-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/fcntl.so
|
||||
-rwxr-xr-x root/root usr/lib32/python2.7/lib-dynload/future_builtins.so
|
||||
|
@ -1 +1 @@
|
||||
62c4c1699170078c469f79ddfed21bc0 Python-2.7.3.tar.xz
|
||||
86909785aa1ff13b49d87737b75b5f54 Python-2.7.4.tar.xz
|
||||
|
@ -4,22 +4,24 @@
|
||||
# Depends on: db-32 gdbm-32 openssl-32 bzip2-32 zlib-32 sqlite3-32 python
|
||||
|
||||
name=python-32
|
||||
version=2.7.3
|
||||
release=3
|
||||
version=2.7.4
|
||||
release=1
|
||||
source=(http://www.python.org/ftp/python/$version/Python-$version.tar.xz)
|
||||
|
||||
build () {
|
||||
cd Python-$version
|
||||
|
||||
# set OPT to the python default without -O3
|
||||
# our CFLAGS are used as well
|
||||
OPT="-Wall -Wstrict-prototypes -fwrapv" \
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib32 \
|
||||
--mandir=/usr/man \
|
||||
--enable-shared \
|
||||
--with-threads \
|
||||
--enable-ipv6 \
|
||||
--with-dbmliborder=gdbm
|
||||
--enable-ipv6
|
||||
|
||||
make EXTRA_CFLAGS="$CFLAGS"
|
||||
make
|
||||
make -j1 DESTDIR=$PKG install
|
||||
|
||||
ln -sf python2.7 $PKG/usr/bin/python
|
||||
@ -27,8 +29,8 @@ build () {
|
||||
ln -s python2.7 $PKG/usr/include/python
|
||||
ln -s /usr/lib32/libpython2.7.so $PKG/usr/lib32/python2.7/config/libpython2.7.so
|
||||
|
||||
mv $PKG/usr/include/python2.7/pyconfig.h $PKG/
|
||||
rm -rf $PKG/usr/{bin,include,lib,man}
|
||||
install -d $PKG/usr/include/python2.7
|
||||
mv $PKG/pyconfig.h $PKG/usr/include/python2.7/pyconfig-32.h
|
||||
mv $PKG/usr/include/python2.7/pyconfig.h $PKG/
|
||||
rm -r $PKG/usr/{bin,include,lib,man}
|
||||
install -d $PKG/usr/include/python2.7
|
||||
mv $PKG/pyconfig.h $PKG/usr/include/python2.7/pyconfig-32.h
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user