Initial .bep and patch files for python-3.2b2

This commit is contained in:
Scott McCreary
2011-01-12 20:10:42 +00:00
parent 6306f81e88
commit d76c3933d2
2 changed files with 225 additions and 0 deletions

View 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.2b2.tar.bz2"
CHECKSUM_MD5="45ab5ff5edfb73ec277b1c763f3d5a42"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="sys-libs/readline >= 6.0"
BUILD {
cd Python-3.2b2/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.2b2
make install
}
TEST {
cd Python-3.2b2
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"