python.isPyXY markers

This commit is contained in:
Florian Friesdorf 2014-07-09 17:34:08 +02:00
parent 168bfea867
commit 4fd6168e8a
5 changed files with 13 additions and 3 deletions

View file

@ -73,6 +73,8 @@ let
passthru = rec {
inherit zlibSupport;
isPy2 = true;
isPy26 = true;
libPrefix = "python${majorVersion}";
executable = libPrefix;
sitePackages = "lib/${libPrefix}/site-packages";

View file

@ -87,6 +87,8 @@ let
passthru = rec {
inherit zlibSupport;
isPy2 = true;
isPy27 = true;
libPrefix = "python${majorVersion}";
executable = libPrefix;
sitePackages = "lib/${libPrefix}/site-packages";

View file

@ -69,7 +69,9 @@ stdenv.mkDerivation {
tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null);
libPrefix = "python${majorVersion}";
executable = "python3.2m";
is_py3k = true;
isPy3 = true;
isPy32 = true;
is_py3k = true; # deprecated
sitePackages = "lib/${libPrefix}/site-packages";
};

View file

@ -66,7 +66,9 @@ stdenv.mkDerivation {
tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null);
libPrefix = "python${majorVersion}";
executable = "python3.3m";
is_py3k = true;
isPy3 = true;
isPy33 = true;
is_py3k = true; # deprecated
sitePackages = "lib/${libPrefix}/site-packages";
};

View file

@ -67,7 +67,9 @@ stdenv.mkDerivation {
tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null);
libPrefix = "python${majorVersion}";
executable = "python3.4m";
is_py3k = true;
isPy3 = true;
isPy34 = true;
is_py3k = true; # deprecated
sitePackages = "lib/${libPrefix}/site-packages";
};