diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-python/sympy/files | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-python/sympy/files')
-rw-r--r-- | dev-python/sympy/files/sympy-1.0-doc-makefile.patch | 10 | ||||
-rw-r--r-- | dev-python/sympy/files/sympy-1.0-zeta.patch | 47 | ||||
-rw-r--r-- | dev-python/sympy/files/sympy-1.3-eta.patch | 12 |
3 files changed, 0 insertions, 69 deletions
diff --git a/dev-python/sympy/files/sympy-1.0-doc-makefile.patch b/dev-python/sympy/files/sympy-1.0-doc-makefile.patch deleted file mode 100644 index 6fe64b853c23..000000000000 --- a/dev-python/sympy/files/sympy-1.0-doc-makefile.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -r -U2 sympy-1.0.orig/doc/Makefile sympy-1.0/doc/Makefile ---- sympy-1.0.orig/doc/Makefile 2016-03-08 19:38:39.000000000 +0100 -+++ sympy-1.0/doc/Makefile 2016-03-18 20:04:36.393615499 +0100 -@@ -118,5 +118,5 @@ - pdflatex -output-directory=_build/cheatsheet cheatsheet/cheatsheet.tex - --_build/cheatsheet/cheatsheet.pdf: cheatsheet/combinatoric_cheatsheet.tex -+_build/cheatsheet/combinatoric_cheatsheet.pdf: cheatsheet/combinatoric_cheatsheet.tex - mkdir -p _build/cheatsheet - pdflatex -output-directory=_build/cheatsheet cheatsheet/combinatoric_cheatsheet.tex diff --git a/dev-python/sympy/files/sympy-1.0-zeta.patch b/dev-python/sympy/files/sympy-1.0-zeta.patch deleted file mode 100644 index 43f54832c948..000000000000 --- a/dev-python/sympy/files/sympy-1.0-zeta.patch +++ /dev/null @@ -1,47 +0,0 @@ -diff -r -U2 sympy-1.0.orig/sympy/functions/special/tests/test_zeta_functions.py sympy-1.0/sympy/functions/special/tests/test_zeta_functions.py ---- sympy-1.0.orig/sympy/functions/special/tests/test_zeta_functions.py 2016-03-09 00:38:39.000000000 +0600 -+++ sympy-1.0/sympy/functions/special/tests/test_zeta_functions.py 2016-12-28 23:25:19.370041561 +0700 -@@ -125,5 +125,5 @@ - assert polylog(s, 0) == 0 - assert polylog(s, 1) == zeta(s) -- assert polylog(s, -1) == dirichlet_eta(s) -+ assert polylog(s, -1) == -dirichlet_eta(s) - - assert myexpand(polylog(1, z), -log(1 + exp_polar(-I*pi)*z)) -diff -r -U2 sympy-1.0.orig/sympy/functions/special/zeta_functions.py sympy-1.0/sympy/functions/special/zeta_functions.py ---- sympy-1.0.orig/sympy/functions/special/zeta_functions.py 2016-03-09 00:38:39.000000000 +0600 -+++ sympy-1.0/sympy/functions/special/zeta_functions.py 2016-12-28 23:23:56.109047180 +0700 -@@ -245,5 +245,5 @@ - zeta(s) - >>> polylog(s, -1) -- dirichlet_eta(s) -+ -dirichlet_eta(s) - - If :math:`s` is a negative integer, :math:`0` or :math:`1`, the -@@ -272,10 +272,17 @@ - @classmethod - def eval(cls, s, z): -+ from sympy import unpolarify - if z == 1: - return zeta(s) - elif z == -1: -- return dirichlet_eta(s) -+ return -dirichlet_eta(s) - elif z == 0: -- return 0 -+ return S.Zero -+ -+ # branch handling -+ if (1 - abs(z)).is_nonnegative: -+ newz = unpolarify(z) -+ if newz != z: -+ return cls(s, newz) - - def fdiff(self, argindex=1): -@@ -486,5 +493,5 @@ - For `\operatorname{Re}(s) > 0`, this function is defined as - -- .. math:: \eta(s) = \sum_{n=1}^\infty \frac{(-1)^n}{n^s}. -+ .. math:: \eta(s) = \sum_{n=1}^\infty \frac{(-1)^{n-1}}{n^s}. - - It admits a unique analytic continuation to all of :math:`\mathbb{C}`. diff --git a/dev-python/sympy/files/sympy-1.3-eta.patch b/dev-python/sympy/files/sympy-1.3-eta.patch deleted file mode 100644 index 16318458fc9f..000000000000 --- a/dev-python/sympy/files/sympy-1.3-eta.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -r -U3 sympy-1.3.orig/sympy/functions/special/zeta_functions.py sympy-1.3/sympy/functions/special/zeta_functions.py ---- sympy-1.3.orig/sympy/functions/special/zeta_functions.py 2018-09-07 02:27:20.000000000 +0700 -+++ sympy-1.3/sympy/functions/special/zeta_functions.py 2018-09-17 22:05:34.374733619 +0700 -@@ -509,7 +509,7 @@ - - For `\operatorname{Re}(s) > 0`, this function is defined as - -- .. math:: \eta(s) = \sum_{n=1}^\infty \frac{(-1)^n}{n^s}. -+ .. math:: \eta(s) = \sum_{n=1}^\infty \frac{(-1)^{n-1}}{n^s}. - - It admits a unique analytic continuation to all of :math:`\mathbb{C}`. - It is an entire, unbranched function. |