python2Packages.ipython: apply upstream signature patch
This commit is contained in:
parent
a6c7132abc
commit
86f058c842
@ -2,6 +2,7 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, fetchpatch
|
||||||
# Build dependencies
|
# Build dependencies
|
||||||
, glibcLocales
|
, glibcLocales
|
||||||
# Test dependencies
|
# Test dependencies
|
||||||
@ -36,6 +37,16 @@ buildPythonPackage rec {
|
|||||||
substituteInPlace setup.py --replace "'gnureadline'" " "
|
substituteInPlace setup.py --replace "'gnureadline'" " "
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# improve cython support, needed by sage, accepted upstream
|
||||||
|
# https://github.com/ipython/ipython/pull/11139
|
||||||
|
(fetchpatch {
|
||||||
|
name = "signature-use-inspect.patch";
|
||||||
|
url = "https://github.com/ipython/ipython/commit/8d399b98d3ed5c765835594100c4d36fb2f739dc.patch";
|
||||||
|
sha256 = "1r7v9clwwbskmj4y160vcj6g0vzqbvnj4y1bm2n4bskafapm42g0";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ glibcLocales ];
|
buildInputs = [ glibcLocales ];
|
||||||
|
|
||||||
checkInputs = [ nose pygments testpath ] ++ lib.optional isPy27 mock;
|
checkInputs = [ nose pygments testpath ] ++ lib.optional isPy27 mock;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user