python3.6: 3.6.0a3 -> 3.6.0b1

/Lib/plat* has been removed in this release.
http://bugs.python.org/issue28027
This commit is contained in:
Frederik Rietdijk 2016-09-20 13:35:49 +02:00
parent 63ec0068a7
commit 8c30f3d962

View file

@ -25,7 +25,7 @@ with stdenv.lib;
let
majorVersion = "3.6";
minorVersion = "0";
minorVersionSuffix = "a3";
minorVersionSuffix = "b1";
pythonVersion = majorVersion;
version = "${majorVersion}.${minorVersion}${minorVersionSuffix}";
libPrefix = "python${majorVersion}";
@ -56,7 +56,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "https://www.python.org/ftp/python/${majorVersion}.${minorVersion}/Python-${version}.tar.xz";
sha256 = "08c3598bwihibwca9lwxq923sjq9shvgv3wxv4vkga2n6hf63l1c";
sha256 = "0hjdlwkjanjagz4qggbfgal8ggmas26mx2jlgjx1z2mzi950jfx8";
};
NIX_LDFLAGS = optionalString stdenv.isLinux "-lgcc_s";
@ -75,8 +75,6 @@ stdenv.mkDerivation {
export MACOSX_DEPLOYMENT_TARGET=10.6
''}
substituteInPlace ./Lib/plat-generic/regen --replace "/usr/include" ${glibc.dev}/include
configureFlagsArray=( --enable-shared --with-threads
CPPFLAGS="${concatStringsSep " " (map (p: "-I${getDev p}/include") buildInputs)}"
LDFLAGS="${concatStringsSep " " (map (p: "-L${getLib p}/lib") buildInputs)}"