Updated Python 3.x.

- updated to version 3.2.3
 - fixed version numbers in setup-hook.sh
 - sort input variable list alphabetically
 - tk support needs x11 support as well
 - deleted obsolete version 3.1

Furthermore, all CPPFLAGS and LDFLAGS required to find the build inputs are now
explicitly passed to ./configure. The python 3.x build systems tries to ignore
the environment as much as possible to provide deterministic builds. This means
that our magic environment variable stuff won't work, and previously built
python3 binaries lacked all kinds of extensions, such as zlib, etc.

svn path=/nixpkgs/trunk/; revision=33937
This commit is contained in:
Peter Simons
2012-04-27 08:20:46 +00:00
parent fa276c45dd
commit 27de563164
6 changed files with 19 additions and 149 deletions

View File

@@ -1,12 +1,12 @@
addPythonPath() {
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/python3.1/site-packages
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/python3.2/site-packages
}
toPythonPath() {
local paths="$1"
local result=
for i in $paths; do
p="$i/lib/python3.1/site-packages"
p="$i/lib/python3.2/site-packages"
result="${result}${result:+:}$p"
done
echo $result