2009-03-20 07:44:28 +00:00
|
|
|
# Template build file for 'python'.
|
2008-10-04 04:29:49 +00:00
|
|
|
pkgname=python
|
2009-11-01 21:32:00 +00:00
|
|
|
version=2.6.4
|
2009-11-17 02:40:46 +00:00
|
|
|
revision=1
|
2008-10-14 05:52:29 +00:00
|
|
|
wrksrc="Python-$version"
|
2009-04-18 23:20:47 +00:00
|
|
|
distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.bz2"
|
2009-11-17 02:40:46 +00:00
|
|
|
configure_args="--with-threads --enable-ipv6 --with-signal-module
|
|
|
|
--enable-shared --with-system-ffi"
|
2008-09-30 00:56:49 +00:00
|
|
|
build_style=gnu_configure
|
|
|
|
short_desc="Interpreted, interactive, object-oriented programming language"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-11-01 21:32:00 +00:00
|
|
|
checksum=dad8d5575144a210d5cc4fdbc40b8a26386e9cdb1ef58941bec0be02c7cb9d89
|
2008-09-30 00:56:49 +00:00
|
|
|
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."
|
2009-02-12 22:47:19 +00:00
|
|
|
|
2009-11-22 07:31:44 +00:00
|
|
|
subpackages="$pkgname-devel"
|
2009-03-20 07:44:28 +00:00
|
|
|
Add_dependency full glibc
|
2009-11-17 02:40:46 +00:00
|
|
|
Add_dependency full libffi
|
2009-03-20 07:44:28 +00:00
|
|
|
Add_dependency full zlib
|
|
|
|
Add_dependency full readline
|
|
|
|
Add_dependency full bzip2
|
|
|
|
Add_dependency full gdbm
|
|
|
|
Add_dependency full openssl
|
|
|
|
Add_dependency full expat
|
2009-10-16 14:53:38 +00:00
|
|
|
Add_dependency full db
|
2009-03-20 07:44:28 +00:00
|
|
|
Add_dependency build ncurses
|
|
|
|
Add_dependency run ncurses-libs
|
2009-10-16 14:53:38 +00:00
|
|
|
|
|
|
|
pre_configure()
|
|
|
|
{
|
|
|
|
export OPT="${XBPS_CFLAGS} -fwrapv"
|
|
|
|
}
|