vp-build/templates/python-2.5.2.tmpl
Juan RP 2a2f97a1da Really fix python build this time, and use some patches from pkgsrc
to fix curses, mremap, and bluetooth modules.

--HG--
extra : convert_revision : fd555dc3aeb2085fe1d7913bd5d4fdc24c41959e
2008-09-30 17:16:02 +02:00

26 lines
1.3 KiB
Cheetah
Executable File

# Template build file for 'python-2.5.2'
pkgname=python-2.5.2
distfiles="Python-2.5.2"
extract_sufx=".tar.bz2"
patch_files="python-2.5.2-fix-build.diff python-2.5.2-fix-curses-module.diff
python-2.5.2-fix-bluetooth.diff python-2.5.2-fix-mremap.diff"
url=http://www.python.org/ftp/python/2.5.2
configure_args="--with-threads --enable-shared"
# Python needs the following in LDFLAGS, otherwise modules don't work.
LDFLAGS="-L. -L$PKGFS_DESTDIR/$pkgname -Wl,-R$PKGFS_MASTERDIR/lib/python2.5"
build_style=gnu_configure
short_desc="Interpreted, interactive, object-oriented programming language"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=b23b02739833e6730799c5866e2b77aae884b63f
long_desc="
Python is an interpreted, interactive, object-oriented programming language
that combines remarkable power with very clear syntax. For an introduction
to programming in Python you are referred to the Python Tutorial. The Python
Library Reference documents built-in and standard types, constants, functions
and modules. Finally, the Python Reference Manual describes the syntax and
and semantics of the core language in (perhaps too) much detail.
Python's basic power can be extended with your own modules written in C or
C++. On most systems such modules may be dynamically loaded. Python is also
adaptable as an extension language for existing applications."