Files
haikuports/dev-lang/python/python-3.2.bep

40 lines
1.0 KiB
Plaintext

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.2.tar.bz2"
CHECKSUM_MD5="92e94b5b6652b96349d6362b8337811d"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="sys-libs/readline >= 6.0"
BUILD {
cd Python-3.2/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 \
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY/man` \
CFLAGS=-I`finddir B_COMMON_DIRECTORY`/include
ln -sf `pwd`/libpython3.2m.so.1.0 /boot/common/lib/libpython3.2m.so.1.0
make
}
INSTALL {
cd Python-3.2
make install
}
TEST {
cd Python-3.2
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-2011, Python Software Foundation"