dev-python/sympy: Remove old

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2020-03-19 22:55:48 +01:00
parent 33cf5635a6
commit ef6b498f75
8 changed files with 0 additions and 348 deletions

View File

@@ -1,4 +1 @@
DIST sympy-1.0.tar.gz 4281528 BLAKE2B b222be6ec486a01ac73e9778a7423aab45e368386003de965308cfa4e08fef07b64046f62ef707b6fa124ee6367fb051b9722e138bfe2eae4661f9e2a66c2365 SHA512 977db6e9bc6a5918cceb255981a57e85e7060c0922aefd2968b004d25d704e25a5cb5bbe09eb387e8695581e23e2825d9c40310068fe25ece7e9c23037a21f39
DIST sympy-1.3.tar.gz 5885611 BLAKE2B 14b0639960432cd6aac087a57f81a80497a0bc40ed61eae92166cf5549deaefc611ce63c2e7a89922374e9bb902fb0a7402f5a4e425278f34c028cdc3582eb35 SHA512 3b47dcf80e9a0ca7d65860907264bbcd6f6022275c717784cd165a7a824dca3471bc5a3be9d1af6ab31e04b29f7d5305713fc47ccb67f798f45281e0ab7e03bf
DIST sympy-1.5.1.tar.gz 6815997 BLAKE2B bc74d01fdf2ccea6b83a06c11f810e3d105e9d35b397c8b87a1bcc4e316d00c456f576baf57d1b4a6175e056dec58f05fbb05893519775ffa252ac018452d2ff SHA512 3c4220243d2cbcff9eedb2a7986431b5b4d7d0007c78208a60b21830c9a3528d2171086874c42205c1227f779e44c19b9562943e2935d329bc352e7ea85396c7
DIST sympy-1.5.tar.gz 6294079 BLAKE2B ee6764264d87454c9713a6e99b70b123e1cc2d36a691287a53e8b69a548df5503168989afa2ca85a08cd5f6792c952e5556352fde07332b1fe47b3746d02b47a SHA512 882ed99cbc7333cbed85d247d04a764a92855e3d26cee96163d18ece566115b9d38999bbe022225521834037dbdfc4c567548112dfddd5ece65af8f672a06091

View File

@@ -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

View File

@@ -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}`.

View File

@@ -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.

View File

@@ -1,71 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python{3_6,3_7} )
inherit distutils-r1 eutils virtualx
DESCRIPTION="Computer Algebra System in pure Python"
HOMEPAGE="https://sympy.org"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="examples gtk imaging ipython latex mathml opengl pdf png test texmacs"
RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
latex? (
virtual/latex-base
dev-texlive/texlive-fontsextra
png? ( app-text/dvipng )
pdf? ( app-text/ghostscript-gpl )
)
mathml? (
dev-libs/libxml2:2[${PYTHON_USEDEP}]
gtk? ( x11-libs/gtkmathview[gtk] )
)
opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
texmacs? ( app-office/texmacs )
"
DEPEND="${RDEPEND}
test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )"
python_prepare_all() {
epatch "${FILESDIR}"/${P}-doc-makefile.patch
epatch "${FILESDIR}"/${P}-zeta.patch
distutils-r1_python_prepare_all
}
python_compile() {
PYTHONPATH="." distutils-r1_python_compile
}
python_test() {
virtx "${PYTHON}" setup.py test
}
python_install() {
PYTHONPATH="." distutils-r1_python_install
}
python_install_all() {
local DOCS=( AUTHORS README.rst )
use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
if use texmacs; then
exeinto /usr/libexec/TeXmacs/bin/
doexe data/TeXmacs/bin/tm_sympy
insinto /usr/share/TeXmacs/plugins/sympy/
doins -r data/TeXmacs/progs
fi
}

View File

@@ -1,69 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{3_6,3_7} )
inherit distutils-r1 eutils virtualx
DESCRIPTION="Computer Algebra System in pure Python"
HOMEPAGE="https://sympy.org"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="examples gtk imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs theano"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="test"
# All tests actually pass, except a bunch of tests related to the deprecated pygletplot
# It is a non-trivial work to wipe out all such tests :-(
RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
latex? (
virtual/latex-base
dev-texlive/texlive-fontsextra
png? ( app-text/dvipng )
pdf? ( app-text/ghostscript-gpl )
)
mathml? (
dev-libs/libxml2:2[${PYTHON_USEDEP}]
gtk? ( x11-libs/gtkmathview[gtk] )
)
opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
texmacs? ( app-office/texmacs )
theano? ( dev-python/theano[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}
test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )"
PATCHES=( "${FILESDIR}"/${P}-eta.patch )
python_test() {
virtx "${PYTHON}" setup.py test
}
python_install_all() {
local DOCS=( AUTHORS README.rst )
if use examples; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
if use texmacs; then
exeinto /usr/libexec/TeXmacs/bin/
doexe data/TeXmacs/bin/tm_sympy
insinto /usr/share/TeXmacs/plugins/sympy/
doins -r data/TeXmacs/progs
fi
}

View File

@@ -1,69 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{3_6,3_7} )
inherit distutils-r1 eutils virtualx
DESCRIPTION="Computer Algebra System in pure Python"
HOMEPAGE="https://sympy.org"
SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="examples gtk imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs theano"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="test"
# All tests actually pass, except a bunch of tests related to the deprecated pygletplot
# It is a non-trivial work to wipe out all such tests :-(
RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
latex? (
virtual/latex-base
dev-texlive/texlive-fontsextra
png? ( app-text/dvipng )
pdf? ( app-text/ghostscript-gpl )
)
mathml? (
dev-libs/libxml2:2[${PYTHON_USEDEP}]
gtk? ( x11-libs/gtkmathview[gtk] )
)
opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
texmacs? ( app-office/texmacs )
theano? ( dev-python/theano[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}
test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${PN}-${P}"
python_test() {
virtx "${PYTHON}" setup.py test
}
python_install_all() {
local DOCS=( AUTHORS README.rst )
if use examples; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
if use texmacs; then
exeinto /usr/libexec/TeXmacs/bin/
doexe data/TeXmacs/bin/tm_sympy
insinto /usr/share/TeXmacs/plugins/sympy/
doins -r data/TeXmacs/progs
fi
}

View File

@@ -1,67 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{3_6,3_7} )
inherit distutils-r1 eutils virtualx
DESCRIPTION="Computer Algebra System in pure Python"
HOMEPAGE="https://sympy.org"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="examples gtk imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs theano"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="test"
# All tests actually pass, except a bunch of tests related to the deprecated pygletplot
# It is a non-trivial work to wipe out all such tests :-(
RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
latex? (
virtual/latex-base
dev-texlive/texlive-fontsextra
png? ( app-text/dvipng )
pdf? ( app-text/ghostscript-gpl )
)
mathml? (
dev-libs/libxml2:2[${PYTHON_USEDEP}]
gtk? ( x11-libs/gtkmathview[gtk] )
)
opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
texmacs? ( app-office/texmacs )
theano? ( dev-python/theano[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}
test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )"
python_test() {
virtx "${PYTHON}" setup.py test
}
python_install_all() {
local DOCS=( AUTHORS README.rst )
if use examples; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
if use texmacs; then
exeinto /usr/libexec/TeXmacs/bin/
doexe data/TeXmacs/bin/tm_sympy
insinto /usr/share/TeXmacs/plugins/sympy/
doins -r data/TeXmacs/progs
fi
}