git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #48824 from timokau/cypari2-update

pythonPackages.cypari2: 1.2.1 -> 1.3.1

commitc4650da12819a9c30c5e6601f7920ab7e949ff39 authorTimo Kaufmann <timokau@zoho.com> dateMon 22 Oct 2018, 15:08 (8 years ago) parent119d5399512841
2 files changed+16−6
pkgs/applications/science/math/sage/patches/Only-test-py2-py3-optional-tests-when-all-of-sage-is.patch+13−4 pkgs/development/python-modules/cypari2/default.nix+3−2
pkgs/applications/science/math/sage/patches/Only-test-py2-py3-optional-tests-when-all-of-sage-is.patch+13−4
@@ -1,14 +1,14 @@
1−From c8edfefbbec87ca776d3cf84ee895aac200dda40 Mon Sep 17 00:00:00 2001
1+From 8218bd4fdeb4c92de8af0d3aabec55980fc4fb3d Mon Sep 17 00:00:00 2001
22From: Timo Kaufmann <timokau@zoho.com>
33Date: Sun, 21 Oct 2018 17:52:40 +0200
44Subject: [PATCH] Only test py2/py3 optional tests when all of sage is tested
55
66---
7− src/sage/doctest/control.py | 3 ++-
8− 1 file changed, 2 insertions(+), 1 deletion(-)
7+ src/sage/doctest/control.py | 5 +++--
8+ 1 file changed, 3 insertions(+), 2 deletions(-)
99
1010diff --git a/src/sage/doctest/control.py b/src/sage/doctest/control.py
11−index bf18df8b2b..b04af0e2e8 100644
11+index bf18df8b2b..935c67abf7 100644
1212--- a/src/sage/doctest/control.py
1313+++ b/src/sage/doctest/control.py
1414@@ -362,7 +362,8 @@ class DocTestController(SageObject):
@@ -21,6 +21,15 @@ index bf18df8b2b..b04af0e2e8 100644
2121
2222 self.options = options
2323
24+@@ -765,7 +766,7 @@ class DocTestController(SageObject):
25+ sage: DC = DocTestController(DD, [dirname])
26+ sage: DC.expand_files_into_sources()
27+ sage: sorted(DC.sources[0].options.optional) # abs tol 1
28+- ['guava', 'magma', 'py2']
29++ ['guava', 'magma']
30+
31+ We check that files are skipped appropriately::
32+
2433--
25342.18.1
2635
pkgs/development/python-modules/cypari2/default.nix+3−2
@@ -11,11 +11,12 @@
1111
1212buildPythonPackage rec {
1313 pname = "cypari2";
14− version = "1.2.1";
14+ # upgrade may break sage, please test the sage build or ping @timokau on upgrade
15+ version = "1.3.1";
1516
1617 src = fetchPypi {
1718 inherit pname version;
18− sha256 = "0v2kikwf0advq8j76nwzhlacwj1yys9cvajm4fqgmasjdsnf1q4k";
19+ sha256 = "04f00xp8aaz37v00iqg1mv5wjq00a5qhk8cqa93s13009s9x984r";
1920 };
2021
2122 # This differs slightly from the default python installPhase in that it pip-installs