void-packages/templates/python.tmpl
Juan RP e9def74b60 Mega patch to improve how build dependencies are handled and
how packages are found.

First: I removed all these *-deps.db files and only a single file
is used now "build-depends.db"; it's smaller and will be easier
to handle in the future... when "run-depends.db" is added :-)

Second: there's no need to specify version of package anymore;
before you had to do:

	$ pkgfs.sh install git-1.6.0.2

now you only do:

	$ pkgfs.sh install git

This will read the variables located at PKGFS_TEMPLATESDIR/git.tmpl
and will the install the version that is there.

--HG--
extra : convert_revision : 9e3e5d70965a69c76f59e322b7c7b674d627af52
2008-10-04 06:29:49 +02:00

28 lines
1.2 KiB
Cheetah
Executable file

# Template build file for 'python'
pkgname=python
version=2.5.2
distfiles="Python-$version"
extract_sufx=".tar.bz2"
patch_files="python-fix-build.diff python-fix-curses-module.diff
python-fix-bluetooth.diff python-fix-mremap.diff"
url=http://www.python.org/ftp/python/$version
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."