mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 21:30:08 +02:00
Added .bep and .patch files for python3.2a4
This commit is contained in:
38
dev-lang/python/python-3.2a4.bep
Normal file
38
dev-lang/python/python-3.2a4.bep
Normal file
@@ -0,0 +1,38 @@
|
||||
DESCRIPTION="python - An interpreted, interactive, object-oriented programming language"
|
||||
HOMEPAGE="http://www.python.org"
|
||||
SRC_URI="http://www.python.org/ftp/python/3.2/Python-3.2a4.tar.bz2"
|
||||
CHECKSUM_MD5="2c7f690e6de62691a0427328a9654290"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="sys-libs/readline >= 6.0"
|
||||
BUILD {
|
||||
cd Python-3.2a4/Modules/_ctypes/libffi
|
||||
libtoolize --force --copy --install
|
||||
cd ../../..
|
||||
echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.in
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--enable-shared \
|
||||
LDFLAGS=-L/boot/common/lib \
|
||||
CFLAGS=-I/boot/develop/headers/3rdparty
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd Python-3.2a4
|
||||
make install
|
||||
}
|
||||
|
||||
TEST {
|
||||
cd Python-3.2a4
|
||||
cd Lib/test
|
||||
rm test_asynchat.py # this one stalls, so skip it for now
|
||||
rm test_multiprocessing.py # this one stalls, so skip it for now
|
||||
|
||||
python regrtest.py
|
||||
}
|
||||
|
||||
LICENSE="Python"
|
||||
COPYRIGHT="1990-2010, Python Software Foundation"
|
||||
Reference in New Issue
Block a user