- adding experimental python31 build

- cleanup python libraries:
 * moving all python libraries into a attr set into a directory
   so that expressions can be used for both: python 2.5 and 2.6 easily
 * disabling packages which don't build

svn path=/nixpkgs/trunk/; revision=21142
This commit is contained in:
Marc Weber
2010-04-17 18:28:25 +00:00
parent 9e59164e57
commit 8c0b7e4ad2
41 changed files with 1154 additions and 178 deletions

View File

@@ -1,14 +0,0 @@
{stdenv, fetchurl, pkgconfig, wxGTK, python}:
assert wxGTK.unicode;
stdenv.mkDerivation {
name = "wxPython-2.6.3.3";
builder = ./builder.sh;
src = fetchurl {
url = mirror://sourceforge/wxpython/wxPython-src-2.6.3.3.tar.bz2;
md5 = "66b9c5f8e20a9505c39dab1a1234daa9";
};
buildInputs = [pkgconfig wxGTK (wxGTK.gtk) python];
inherit wxGTK; # !!! move this down
}

View File

@@ -1,14 +0,0 @@
{stdenv, fetchurl, pkgconfig, wxGTK, python}:
assert wxGTK.unicode;
stdenv.mkDerivation {
name = "wxPython-2.8.4.0";
builder = ./builder.sh;
src = fetchurl {
url = mirror://sourceforge/wxpython/wxPython-src-2.8.4.0.tar.bz2;
sha256 = "0lkj29jcw3kqaf2iphgmmn9cqf2ppkm6qqr9izlx4bvn9dihgq6h";
};
buildInputs = [pkgconfig wxGTK (wxGTK.gtk) python];
passthru = {inherit wxGTK;};
}

View File

@@ -1,17 +0,0 @@
source $stdenv/setup
flags="WXPORT=gtk2 NO_HEADERS=1 BUILD_GLCANVAS=0 BUILD_OGL=0 UNICODE=1"
configurePhase() {
cd wxPython
}
buildPhase() {
python setup.py $flags build
}
installPhase() {
python setup.py $flags install --prefix=$out
}
genericBuild