forked from mirrors/nixpkgs
pypy: 2.1 -> 2.2
This commit is contained in:
parent
e597d102d8
commit
38185f8e51
|
@ -5,7 +5,7 @@ assert zlibSupport -> zlib != null;
|
|||
|
||||
let
|
||||
|
||||
majorVersion = "2.1";
|
||||
majorVersion = "2.2";
|
||||
version = "${majorVersion}";
|
||||
pythonVersion = "2.7";
|
||||
libPrefix = "pypy${majorVersion}";
|
||||
|
@ -17,7 +17,7 @@ let
|
|||
|
||||
src = fetchurl {
|
||||
url = "https://bitbucket.org/pypy/pypy/downloads/pypy-${version}-src.tar.bz2";
|
||||
sha256 = "05vz7ya6jh5pw5yl607cf1rvdhwxj5d4ip0vpgb1gc9rjxn0dcri";
|
||||
sha256 = "0kp0922d1739v3fqnxhrbwz1fg651dc5dmk3199ikq1rc2wgrzsh";
|
||||
};
|
||||
|
||||
buildInputs = [ bzip2 openssl pkgconfig pythonFull libffi ncurses expat sqlite ]
|
|
@ -1,12 +1,12 @@
|
|||
addPythonPath() {
|
||||
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/pypy2.1/site-packages
|
||||
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/pypy2.2/site-packages
|
||||
}
|
||||
|
||||
toPythonPath() {
|
||||
local paths="$1"
|
||||
local result=
|
||||
for i in $paths; do
|
||||
p="$i/lib/pypy2.1/site-packages"
|
||||
p="$i/lib/pypy2.2/site-packages"
|
||||
result="${result}${result:+:}$p"
|
||||
done
|
||||
echo $result
|
|
@ -3235,7 +3235,7 @@ let
|
|||
libX11 = xlibs.libX11;
|
||||
};
|
||||
|
||||
pypy = callPackage ../development/interpreters/pypy/2.1 { };
|
||||
pypy = callPackage ../development/interpreters/pypy/2.2 { };
|
||||
|
||||
pythonFull = python27Full;
|
||||
python26Full = callPackage ../development/interpreters/python/wrapper.nix {
|
||||
|
|
Loading…
Reference in a new issue