void-packages/templates/python.tmpl

28 lines
1.3 KiB
Cheetah

# Template build file for 'python'
pkgname=python
version=2.5.2
wrksrc="Python-$version"
patch_files="python-fix-build.diff python-fix-curses-module.diff
python-fix-bluetooth.diff python-fix-mremap.diff"
distfiles="
http://www.python.org/ftp/python/$version/Python-$version@.tar.bz2"
configure_args="--with-threads --enable-shared"
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."
# While building it needs to look current dir for libs...
LDFLAGS="-L."