diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2020-05-10 10:27:56 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-05-11 22:13:16 +0200 |
commit | b63889fd1cf173714df346946666f0758ab67447 (patch) | |
tree | e7adf6dadaf82c320a5c6b260d68be6d1433682c /pkgs/development/python-modules/line_profiler | |
parent | fa58b9ddf8c93867d272309900106e057afda122 (diff) |
pythonPackages.line_profiler: mark as broken
Diffstat (limited to 'pkgs/development/python-modules/line_profiler')
-rw-r--r-- | pkgs/development/python-modules/line_profiler/default.nix | 8 | ||||
-rw-r--r-- | pkgs/development/python-modules/line_profiler/python37.patch | 36 |
2 files changed, 4 insertions, 40 deletions
diff --git a/pkgs/development/python-modules/line_profiler/default.nix b/pkgs/development/python-modules/line_profiler/default.nix index 027e6b0d1341e..8ff0f391f208e 100644 --- a/pkgs/development/python-modules/line_profiler/default.nix +++ b/pkgs/development/python-modules/line_profiler/default.nix @@ -5,6 +5,7 @@ , isPyPy , ipython , python +, scikit-build }: buildPythonPackage rec { @@ -16,11 +17,9 @@ buildPythonPackage rec { sha256 = "7218ad6bd81f8649b211974bf108933910f016d66b49651effe7bbf63667d141"; }; - patches = [ ./python37.patch ]; + nativeBuildInputs = [ cython ]; - buildInputs = [ cython ]; - - propagatedBuildInputs = [ ipython ]; + propagatedBuildInputs = [ ipython scikit-build ]; disabled = isPyPy; @@ -37,5 +36,6 @@ buildPythonPackage rec { homepage = "https://github.com/rkern/line_profiler"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fridh ]; + broken = true; }; } diff --git a/pkgs/development/python-modules/line_profiler/python37.patch b/pkgs/development/python-modules/line_profiler/python37.patch deleted file mode 100644 index 0b6e93732c447..0000000000000 --- a/pkgs/development/python-modules/line_profiler/python37.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 542baf59f3b2eada13bde48e8a89e484c2cfeeef Mon Sep 17 00:00:00 2001 -From: Hanaasagi <ambiguous404@gmail.com> -Date: Wed, 17 Apr 2019 06:46:03 +0000 -Subject: [PATCH] Support Python 3.7 Generator (PEP 479) - ---- - kernprof.py | 2 ++ - line_profiler.py | 2 ++ - 2 files changed, 4 insertions(+) - -diff --git a/kernprof.py b/kernprof.py -index 108d36e..6461cf6 100755 ---- a/kernprof.py -+++ b/kernprof.py -@@ -102,6 +102,8 @@ def wrapper(*args, **kwds): - self.enable_by_count() - try: - item = g.send(input) -+ except StopIteration: -+ return - finally: - self.disable_by_count() - input = (yield item) -diff --git a/line_profiler.py b/line_profiler.py -index a481dd2..5744d05 100755 ---- a/line_profiler.py -+++ b/line_profiler.py -@@ -100,6 +100,8 @@ def wrapper(*args, **kwds): - self.enable_by_count() - try: - item = g.send(input) -+ except StopIteration: -+ return - finally: - self.disable_by_count() - input = (yield item) |