* [gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/, dev-python/sympy/files/
@ 2016-03-18 20:55 Andrey Grozin
0 siblings, 0 replies; 6+ messages in thread
From: Andrey Grozin @ 2016-03-18 20:55 UTC (permalink / raw
To: gentoo-commits
commit: 90027a0055202492483fb19bcc3d4dcf378c5702
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 18 20:45:28 2016 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 20:45:28 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90027a00
dev-python/sympy: bump to 1.0
Bug: 577668
Package-Manager: portage-2.2.28
dev-python/sympy/Manifest | 1 +
.../sympy/files/sympy-1.0-doc-makefile.patch | 10 +++
dev-python/sympy/sympy-1.0.ebuild | 96 ++++++++++++++++++++++
3 files changed, 107 insertions(+)
diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 99a6263..fd87d0b 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1 +1,2 @@
DIST sympy-0.7.6.1.tar.gz 6431571 SHA256 1fc272b51091aabe7d07f1bf9f0a47f3e28657fb2bec52bf3ef0e8f159f5f564 SHA512 18877abd3c530418e4f4942cbb0a03140dc81e5a1004720c472fb97cf8eaa41acca59765f6278715ea88bcd0cd07ad5952863a0d1b6e6d00994d257e8c0a6574 WHIRLPOOL b0c0c74e7865c91585d1a2c8510fe328b8e697dec02bd17aaa446ef6e089b9cf2ca5b4f58b6b59febccf142384b907e1bd47451e22fa305843bd883355801226
+DIST sympy-1.0.tar.gz 4281528 SHA256 3eacd210d839e4db911d216a9258a3ac6f936992f66db211e22767983297ffae SHA512 977db6e9bc6a5918cceb255981a57e85e7060c0922aefd2968b004d25d704e25a5cb5bbe09eb387e8695581e23e2825d9c40310068fe25ece7e9c23037a21f39 WHIRLPOOL df02cc8603c23f621226f28b4f0555e765f145d968869058ed9420fedd3c6d6d0f095ee14fa864cd505455f245e5adf10794fc3b1392fb5a331ed5dc506b988b
diff --git a/dev-python/sympy/files/sympy-1.0-doc-makefile.patch b/dev-python/sympy/files/sympy-1.0-doc-makefile.patch
new file mode 100644
index 0000000..6fe64b8
--- /dev/null
+++ b/dev-python/sympy/files/sympy-1.0-doc-makefile.patch
@@ -0,0 +1,10 @@
+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/sympy-1.0.ebuild b/dev-python/sympy/sympy-1.0.ebuild
new file mode 100644
index 0000000..757c7d2
--- /dev/null
+++ b/dev-python/sympy/sympy-1.0.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1 eutils virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="http://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 ~x86-macos ~x64-macos"
+IUSE="doc examples gtk imaging ipython latex mathml opengl pdf png pyglet test texmacs theano"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+
+RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '>=dev-python/pexpect-2.0[${PYTHON_USEDEP}]' python2_7)
+ 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}]
+ $(python_gen_cond_dep 'dev-libs/libxslt[${PYTHON_USEDEP}]' python2_7)
+ gtk? ( x11-libs/gtkmathview[gtk] )
+ )
+ opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
+ pyglet? ( $(python_gen_cond_dep 'dev-python/pyglet[${PYTHON_USEDEP}]' python2_7) )
+ texmacs? ( app-office/texmacs )
+ theano? ( $(python_gen_cond_dep 'dev-python/theano[${PYTHON_USEDEP}]' python2_7) )
+"
+
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )"
+
+pkg_setup() {
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
+}
+
+python_prepare_all() {
+ epatch "${FILESDIR}"/${P}-doc-makefile.patch
+ epatch "${FILESDIR}"/${PN}-0.7.6.1-zeta.patch
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ PYTHONPATH="." distutils-r1_python_compile
+}
+
+python_compile_all() {
+ if use doc; then
+ export XDG_CONFIG_HOME="${T}/config-dir"
+ mkdir "${XDG_CONFIG_HOME}" || die
+ chmod 0700 "${XDG_CONFIG_HOME}" || die
+ emake -j1 -C doc html info man cheatsheet
+ fi
+}
+
+python_test() {
+ virtx "${PYTHON}" setup.py test
+}
+
+python_install() {
+ PYTHONPATH="." distutils-r1_python_install
+}
+
+python_install_all() {
+ local DOCS=( AUTHORS README.rst )
+ if use doc; then
+ DOCS+=( doc/_build/cheatsheet/cheatsheet.pdf \
+ doc/_build/cheatsheet/combinatoric_cheatsheet.pdf )
+ local HTML_DOCS=( doc/_build/html/. )
+ doinfo doc/_build/texinfo/${PN}.info
+ fi
+ 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
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/, dev-python/sympy/files/
@ 2016-12-29 1:30 Andrey Grozin
0 siblings, 0 replies; 6+ messages in thread
From: Andrey Grozin @ 2016-12-29 1:30 UTC (permalink / raw
To: gentoo-commits
commit: b1754d7ad8e53f7782dc873acaf99f8d2b99d04d
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 29 01:29:49 2016 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Dec 29 01:29:49 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1754d7a
dev-python/sympy: fix a wrong test
Bug: 603214
Package-Manager: Portage-2.3.3, Repoman-2.3.1
dev-python/sympy/files/sympy-1.0-zeta.patch | 47 +++++++++++++++++++++++++++++
dev-python/sympy/sympy-1.0-r1.ebuild | 2 +-
2 files changed, 48 insertions(+), 1 deletion(-)
diff --git a/dev-python/sympy/files/sympy-1.0-zeta.patch b/dev-python/sympy/files/sympy-1.0-zeta.patch
new file mode 100644
index 00000000..43f5483
--- /dev/null
+++ b/dev-python/sympy/files/sympy-1.0-zeta.patch
@@ -0,0 +1,47 @@
+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/sympy-1.0-r1.ebuild b/dev-python/sympy/sympy-1.0-r1.ebuild
index 88544a9..2015771 100644
--- a/dev-python/sympy/sympy-1.0-r1.ebuild
+++ b/dev-python/sympy/sympy-1.0-r1.ebuild
@@ -51,7 +51,7 @@ pkg_setup() {
python_prepare_all() {
epatch "${FILESDIR}"/${P}-doc-makefile.patch
- epatch "${FILESDIR}"/${PN}-0.7.6.1-zeta.patch
+ epatch "${FILESDIR}"/${P}-zeta.patch
distutils-r1_python_prepare_all
}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/, dev-python/sympy/files/
@ 2017-07-28 0:07 Andrey Grozin
0 siblings, 0 replies; 6+ messages in thread
From: Andrey Grozin @ 2017-07-28 0:07 UTC (permalink / raw
To: gentoo-commits
commit: 0714332d34cc49f3ce29603825857fabc1391e6e
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 00:06:42 2017 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 00:06:42 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0714332d
dev-python/sympy: bump to 1.1.1, an important patch re-added
Package-Manager: Portage-2.3.6, Repoman-2.3.2
dev-python/sympy/Manifest | 1 +
dev-python/sympy/files/sympy-1.1.1-zeta.patch | 29 +++++++++
dev-python/sympy/sympy-1.1.1.ebuild | 90 +++++++++++++++++++++++++++
3 files changed, 120 insertions(+)
diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 6290308fadd..718207f7370 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,3 +1,4 @@
DIST sympy-0.7.6.1.tar.gz 6431571 SHA256 1fc272b51091aabe7d07f1bf9f0a47f3e28657fb2bec52bf3ef0e8f159f5f564 SHA512 18877abd3c530418e4f4942cbb0a03140dc81e5a1004720c472fb97cf8eaa41acca59765f6278715ea88bcd0cd07ad5952863a0d1b6e6d00994d257e8c0a6574 WHIRLPOOL b0c0c74e7865c91585d1a2c8510fe328b8e697dec02bd17aaa446ef6e089b9cf2ca5b4f58b6b59febccf142384b907e1bd47451e22fa305843bd883355801226
DIST sympy-1.0.tar.gz 4281528 SHA256 3eacd210d839e4db911d216a9258a3ac6f936992f66db211e22767983297ffae SHA512 977db6e9bc6a5918cceb255981a57e85e7060c0922aefd2968b004d25d704e25a5cb5bbe09eb387e8695581e23e2825d9c40310068fe25ece7e9c23037a21f39 WHIRLPOOL df02cc8603c23f621226f28b4f0555e765f145d968869058ed9420fedd3c6d6d0f095ee14fa864cd505455f245e5adf10794fc3b1392fb5a331ed5dc506b988b
+DIST sympy-1.1.1.tar.gz 4580952 SHA256 ac5b57691bc43919dcc21167660a57cc51797c28a4301a6144eff07b751216a4 SHA512 ff8857fd5810795554ca4f636b2d8e633057d7ea7df76461003d823ecbaddc98cde0561eb79a1058741c5ece233c13bfcb5e30d5bfb8ac6dbab3d05d8226f92b WHIRLPOOL 3ab86021e99de620127bbd3da994745d265e66fbe7ebf77984106f998443200dd7a5a3295cc62e3bca7e3eb1df58b331d1faba568760230fab550c5c2c3f92b9
DIST sympy-1.1.tar.gz 4579454 SHA256 e42d7b8cc719bb0427b503d49f8489ec6292c74957c3bd04216a8392bee37782 SHA512 4129752778b50fbc08180fe413d2109ad418b54b79caea461b9a6cf6856ab4f50ce95df6131b07791ed633c840648aa7c4dd130ab3f1cbb1e03e7346e995747b WHIRLPOOL bcee355015504a464c89f1cc2c35b3085af6d53a4d8c2245eda124ddbf53fb562b6a768b2d6cd79688b1255a21540094bd18e3f814dd729541a85767e27adb3c
diff --git a/dev-python/sympy/files/sympy-1.1.1-zeta.patch b/dev-python/sympy/files/sympy-1.1.1-zeta.patch
new file mode 100644
index 00000000000..d9bab8096fa
--- /dev/null
+++ b/dev-python/sympy/files/sympy-1.1.1-zeta.patch
@@ -0,0 +1,29 @@
+diff -U2 -r sympy-1.1.1.orig/sympy/functions/special/zeta_functions.py sympy-1.1.1/sympy/functions/special/zeta_functions.py
+--- sympy-1.1.1.orig/sympy/functions/special/zeta_functions.py 2017-07-22 05:17:42.000000000 +0700
++++ sympy-1.1.1/sympy/functions/special/zeta_functions.py 2017-07-28 06:35:28.477927184 +0700
+@@ -272,4 +272,5 @@
+ @classmethod
+ def eval(cls, s, z):
++ from sympy import unpolarify
+ if z == 1:
+ return zeta(s)
+@@ -277,5 +278,11 @@
+ 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):
+@@ -483,5 +490,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/sympy-1.1.1.ebuild b/dev-python/sympy/sympy-1.1.1.ebuild
new file mode 100644
index 00000000000..35ea4c1cc06
--- /dev/null
+++ b/dev-python/sympy/sympy-1.1.1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1 eutils virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="http://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="doc examples gtk imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs theano"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+
+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}]
+ $(python_gen_cond_dep 'dev-libs/libxslt[${PYTHON_USEDEP}]' python2_7)
+ 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}
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] app-text/docbook2X )
+ test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-zeta.patch
+ "${FILESDIR}"/${PN}-1.0-doc-makefile.patch
+)
+
+pkg_setup() {
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
+}
+
+python_compile_all() {
+ if use doc; then
+ export XDG_CONFIG_HOME="${T}/config-dir"
+ mkdir "${XDG_CONFIG_HOME}" || die
+ chmod 0700 "${XDG_CONFIG_HOME}" || die
+ emake -j1 -C doc html info man cheatsheet
+ fi
+}
+
+python_test() {
+ virtx "${PYTHON}" setup.py test
+}
+
+python_install_all() {
+ local DOCS=( AUTHORS README.rst )
+ if use doc; then
+ DOCS+=( doc/_build/cheatsheet/cheatsheet.pdf \
+ doc/_build/cheatsheet/combinatoric_cheatsheet.pdf )
+ local HTML_DOCS=( doc/_build/html/. )
+ doinfo doc/_build/texinfo/${PN}.info
+ fi
+ 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
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/, dev-python/sympy/files/
@ 2018-09-19 6:13 Andrey Grozin
0 siblings, 0 replies; 6+ messages in thread
From: Andrey Grozin @ 2018-09-19 6:13 UTC (permalink / raw
To: gentoo-commits
commit: c94a7f4e726be6cc2c3521f8149cb1df444f1932
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 19 06:12:26 2018 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Wed Sep 19 06:12:26 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c94a7f4e
dev-python/sympy: cleaning old
Package-Manager: Portage-2.3.41, Repoman-2.3.9
dev-python/sympy/Manifest | 2 -
.../sympy/files/sympy-0.7.6-doc-makefile.patch | 10 ---
.../sympy/files/sympy-0.7.6.1-sphinx-1.3.1.patch | 65 ---------------
dev-python/sympy/files/sympy-0.7.6.1-zeta.patch | 32 -------
dev-python/sympy/sympy-0.7.6.1-r1.ebuild | 97 ----------------------
dev-python/sympy/sympy-1.1.ebuild | 89 --------------------
6 files changed, 295 deletions(-)
diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index faec75c8784..d29867c4cc9 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,4 +1,2 @@
-DIST sympy-0.7.6.1.tar.gz 6431571 BLAKE2B 07d209ec06128ce903d14b5d111f44e52c44c5dda1acafc4eecc5fe7c2b408dc6def0a893100b8e2e0ce3e8281232b0405fa48c4f6c988827c0324a9ea7e6126 SHA512 18877abd3c530418e4f4942cbb0a03140dc81e5a1004720c472fb97cf8eaa41acca59765f6278715ea88bcd0cd07ad5952863a0d1b6e6d00994d257e8c0a6574
DIST sympy-1.0.tar.gz 4281528 BLAKE2B b222be6ec486a01ac73e9778a7423aab45e368386003de965308cfa4e08fef07b64046f62ef707b6fa124ee6367fb051b9722e138bfe2eae4661f9e2a66c2365 SHA512 977db6e9bc6a5918cceb255981a57e85e7060c0922aefd2968b004d25d704e25a5cb5bbe09eb387e8695581e23e2825d9c40310068fe25ece7e9c23037a21f39
DIST sympy-1.1.1.tar.gz 4580952 BLAKE2B 81e5c7d0f80916ced5532f8e5ed3bd04f919b8acb17037237faf9d59cdf73a3a8f741086213fd2aa5a610caf88ae0781c83a0345b71945d69149075b23f09a85 SHA512 ff8857fd5810795554ca4f636b2d8e633057d7ea7df76461003d823ecbaddc98cde0561eb79a1058741c5ece233c13bfcb5e30d5bfb8ac6dbab3d05d8226f92b
-DIST sympy-1.1.tar.gz 4579454 BLAKE2B 8288c958dffb1f719b4e7ecf49928feb935284f634257561124ee6b34866c3b4dfaa7bdbbeb0f4fc3c9e92ecc28b09406cea3d2aff1a8d9df69bac730c17ca29 SHA512 4129752778b50fbc08180fe413d2109ad418b54b79caea461b9a6cf6856ab4f50ce95df6131b07791ed633c840648aa7c4dd130ab3f1cbb1e03e7346e995747b
diff --git a/dev-python/sympy/files/sympy-0.7.6-doc-makefile.patch b/dev-python/sympy/files/sympy-0.7.6-doc-makefile.patch
deleted file mode 100644
index b4beca8c2a1..00000000000
--- a/dev-python/sympy/files/sympy-0.7.6-doc-makefile.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -r -U2 sympy-0.7.6.orig/doc/Makefile sympy-0.7.6/doc/Makefile
---- sympy-0.7.6.orig/doc/Makefile 2014-11-21 02:00:41.000000000 +0600
-+++ sympy-0.7.6/doc/Makefile 2014-12-07 20:49:01.091613474 +0600
-@@ -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-0.7.6.1-sphinx-1.3.1.patch b/dev-python/sympy/files/sympy-0.7.6.1-sphinx-1.3.1.patch
deleted file mode 100644
index c3b20827016..00000000000
--- a/dev-python/sympy/files/sympy-0.7.6.1-sphinx-1.3.1.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-commit d3d3bd01bc5f625055bfa7247efc1e8cdeef0b33
-Author: Aaditya M Nair <aadityanair6494@gmail.com>
-Date: Tue Apr 14 16:30:01 2015 +0530
-
- Doc creation now compatible with sphinx 1.3.1. Closes sympy/sympy#9273.
-
- New version of sphinx renamed the `default` theme to `classic` theme.
- Corrected by defining all variables inside the .css file.
-
-diff --git a/doc/src/_static/default.css_t b/doc/src/_static/default.css_t
-index 6165d8b..c2d8489 100644
---- a/doc/src/_static/default.css_t
-+++ b/doc/src/_static/default.css_t
-@@ -13,6 +13,23 @@
-
- /* -- page layout ----------------------------------------------------------- */
-
-+{% set theme_collapsiblesidebar = True %}
-+{% set theme_relbarbgcolor = '#2f441e' %}
-+{% set theme_sidebarbgcolor = '#3b5526' %}
-+{% set theme_sidebarbtncolor = '#4F663C' %}
-+{% set theme_sidebarlinkcolor = '#81B953' %}
-+{% set theme_linkcolor = '#29A329' %}
-+{% set theme_visitedlinkcolor = '#307748' %}
-+{% set theme_headtextcolor = '#2f441e' %}
-+{% set theme_footerbgcolor = '#293b1b' %}
-+{% set theme_headlinkcolor = '#AAAAAA' %}
-+{% set theme_sidebartextcolor = '#DDDDDD' %}
-+{% set theme_footertextcolor = '#DDDDDD' %}
-+{% set theme_relbartextcolor = '#DDDDDD' %}
-+{% set theme_relbarlinkcolor = '#81B953' %}
-+{% set theme_bgcolor = '#FFFFFF' %}
-+
-+
- body {
- font-family: {{ theme_bodyfont }};
- font-size: 100%;
-diff --git a/doc/src/conf.py b/doc/src/conf.py
-index 2c1d302..97837e3 100644
---- a/doc/src/conf.py
-+++ b/doc/src/conf.py
-@@ -96,22 +96,7 @@
- html_logo = '_static/sympylogo.png'
- html_favicon = '../_build/logo/sympy-notailtext-favicon.ico'
- # See http://sphinx-doc.org/theming.html#builtin-themes.
--html_theme_options = {
-- 'collapsiblesidebar': True,
-- 'relbarbgcolor': '#2f441e',
-- 'sidebarbgcolor': '#3b5526',
-- 'sidebarbtncolor': '#4F663C',
-- 'sidebarlinkcolor': '#81B953',
-- 'linkcolor': '#29A329',
-- 'visitedlinkcolor': '#307748',
-- 'headtextcolor': '#2f441e',
-- 'footerbgcolor': '#293b1b',
-- 'headlinkcolor': '#AAAAAA',
-- 'sidebartextcolor': '#DDDDDD',
-- 'footertextcolor': '#DDDDDD',
-- 'relbartextcolor': '#DDDDDD',
-- 'relbarlinkcolor': '#81B953',
--}
-+
-
- # If true, SmartyPants will be used to convert quotes and dashes to
- # typographically correct entities.
diff --git a/dev-python/sympy/files/sympy-0.7.6.1-zeta.patch b/dev-python/sympy/files/sympy-0.7.6.1-zeta.patch
deleted file mode 100644
index ffb85f9feb1..00000000000
--- a/dev-python/sympy/files/sympy-0.7.6.1-zeta.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -r -U1 sympy-0.7.6.1.orig/sympy/functions/special/zeta_functions.py sympy-0.7.6.1/sympy/functions/special/zeta_functions.py
---- sympy-0.7.6.1.orig/sympy/functions/special/zeta_functions.py 2015-09-04 02:34:00.000000000 +0600
-+++ sympy-0.7.6.1/sympy/functions/special/zeta_functions.py 2015-12-01 11:27:24.000000000 +0600
-@@ -243,3 +243,3 @@
- >>> polylog(s, -1)
-- dirichlet_eta(s)
-+ -dirichlet_eta(s)
-
-@@ -270,2 +270,3 @@
- def eval(cls, s, z):
-+ from sympy import unpolarify
- if z == 1:
-@@ -273,6 +274,12 @@
- 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):
-@@ -479,3 +486,3 @@
-
-- .. 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}.
-
diff --git a/dev-python/sympy/sympy-0.7.6.1-r1.ebuild b/dev-python/sympy/sympy-0.7.6.1-r1.ebuild
deleted file mode 100644
index 4a3641dbee9..00000000000
--- a/dev-python/sympy/sympy-0.7.6.1-r1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_4} )
-
-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 ~x86-macos ~x64-macos"
-IUSE="doc examples gtk imaging ipython latex mathml opengl pdf png pyglet test texmacs theano"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
- doc? ( || ( $(python_gen_useflags 'python2*') ) )"
-
-RDEPEND="
- $(python_gen_cond_dep '>=dev-python/pexpect-2.0[${PYTHON_USEDEP}]' python2_7)
- 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}]
- $(python_gen_cond_dep 'dev-libs/libxslt[${PYTHON_USEDEP}]' python2_7)
- gtk? ( x11-libs/gtkmathview[gtk] )
- )
- opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
- pyglet? ( $(python_gen_cond_dep 'dev-python/pyglet[${PYTHON_USEDEP}]' python2_7) )
- texmacs? ( app-office/texmacs )
- theano? ( $(python_gen_cond_dep 'dev-python/theano[${PYTHON_USEDEP}]' python2_7) )
-"
-
-DEPEND="${RDEPEND}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )"
-
-pkg_setup() {
- use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
-}
-
-python_prepare_all() {
- epatch "${FILESDIR}"/${PN}-0.7.6-doc-makefile.patch
- epatch "${FILESDIR}"/${P}-sphinx-1.3.1.patch
- epatch "${FILESDIR}"/${P}-zeta.patch
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
- PYTHONPATH="." distutils-r1_python_compile
-}
-
-python_compile_all() {
- if use doc; then
- export XDG_CONFIG_HOME="${T}/config-dir"
- mkdir "${XDG_CONFIG_HOME}" || die
- chmod 0700 "${XDG_CONFIG_HOME}" || die
- emake -j1 -C doc html info cheatsheet
- fi
-}
-
-python_test() {
- virtx "${PYTHON}" setup.py test
-}
-
-python_install() {
- PYTHONPATH="." distutils-r1_python_install
-}
-
-python_install_all() {
- local DOCS=( AUTHORS README.rst )
- use doc &&\
- DOCS+=(
- doc/_build/cheatsheet/cheatsheet.pdf
- doc/_build/cheatsheet/combinatoric_cheatsheet.pdf
- ) && \
- local HTML_DOCS=( doc/_build/html/. ) && \
- doinfo doc/_build/texinfo/${PN}.info
- 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
-}
diff --git a/dev-python/sympy/sympy-1.1.ebuild b/dev-python/sympy/sympy-1.1.ebuild
deleted file mode 100644
index b0780f654b5..00000000000
--- a/dev-python/sympy/sympy-1.1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-
-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="doc examples gtk imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs theano"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
- doc? ( || ( $(python_gen_useflags 'python2*') ) )"
-
-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}]
- $(python_gen_cond_dep 'dev-libs/libxslt[${PYTHON_USEDEP}]' python2_7)
- 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}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] app-text/docbook2X )
- test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.0-doc-makefile.patch
-)
-
-pkg_setup() {
- use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
-}
-
-python_compile_all() {
- if use doc; then
- export XDG_CONFIG_HOME="${T}/config-dir"
- mkdir "${XDG_CONFIG_HOME}" || die
- chmod 0700 "${XDG_CONFIG_HOME}" || die
- emake -j1 -C doc html info man cheatsheet
- fi
-}
-
-python_test() {
- virtx "${PYTHON}" setup.py test
-}
-
-python_install_all() {
- local DOCS=( AUTHORS README.rst )
- if use doc; then
- DOCS+=( doc/_build/cheatsheet/cheatsheet.pdf \
- doc/_build/cheatsheet/combinatoric_cheatsheet.pdf )
- local HTML_DOCS=( doc/_build/html/. )
- doinfo doc/_build/texinfo/${PN}.info
- fi
- 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
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/, dev-python/sympy/files/
@ 2019-12-04 17:15 Michał Górny
0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2019-12-04 17:15 UTC (permalink / raw
To: gentoo-commits
commit: eb29a29c5a5819619d77536c1b111e2aa1c1dc51
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 3 09:55:48 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 4 17:13:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb29a29c
dev-python/sympy: Remove redundant version
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sympy/Manifest | 1 -
dev-python/sympy/files/sympy-1.1.1-zeta.patch | 29 ---------
dev-python/sympy/sympy-1.1.1.ebuild | 90 ---------------------------
3 files changed, 120 deletions(-)
diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 32de1e038dd..2b7673282b3 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,3 +1,2 @@
DIST sympy-1.0.tar.gz 4281528 BLAKE2B b222be6ec486a01ac73e9778a7423aab45e368386003de965308cfa4e08fef07b64046f62ef707b6fa124ee6367fb051b9722e138bfe2eae4661f9e2a66c2365 SHA512 977db6e9bc6a5918cceb255981a57e85e7060c0922aefd2968b004d25d704e25a5cb5bbe09eb387e8695581e23e2825d9c40310068fe25ece7e9c23037a21f39
-DIST sympy-1.1.1.tar.gz 4580952 BLAKE2B 81e5c7d0f80916ced5532f8e5ed3bd04f919b8acb17037237faf9d59cdf73a3a8f741086213fd2aa5a610caf88ae0781c83a0345b71945d69149075b23f09a85 SHA512 ff8857fd5810795554ca4f636b2d8e633057d7ea7df76461003d823ecbaddc98cde0561eb79a1058741c5ece233c13bfcb5e30d5bfb8ac6dbab3d05d8226f92b
DIST sympy-1.3.tar.gz 5885611 BLAKE2B 14b0639960432cd6aac087a57f81a80497a0bc40ed61eae92166cf5549deaefc611ce63c2e7a89922374e9bb902fb0a7402f5a4e425278f34c028cdc3582eb35 SHA512 3b47dcf80e9a0ca7d65860907264bbcd6f6022275c717784cd165a7a824dca3471bc5a3be9d1af6ab31e04b29f7d5305713fc47ccb67f798f45281e0ab7e03bf
diff --git a/dev-python/sympy/files/sympy-1.1.1-zeta.patch b/dev-python/sympy/files/sympy-1.1.1-zeta.patch
deleted file mode 100644
index d9bab8096fa..00000000000
--- a/dev-python/sympy/files/sympy-1.1.1-zeta.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -U2 -r sympy-1.1.1.orig/sympy/functions/special/zeta_functions.py sympy-1.1.1/sympy/functions/special/zeta_functions.py
---- sympy-1.1.1.orig/sympy/functions/special/zeta_functions.py 2017-07-22 05:17:42.000000000 +0700
-+++ sympy-1.1.1/sympy/functions/special/zeta_functions.py 2017-07-28 06:35:28.477927184 +0700
-@@ -272,4 +272,5 @@
- @classmethod
- def eval(cls, s, z):
-+ from sympy import unpolarify
- if z == 1:
- return zeta(s)
-@@ -277,5 +278,11 @@
- 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):
-@@ -483,5 +490,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/sympy-1.1.1.ebuild b/dev-python/sympy/sympy-1.1.1.ebuild
deleted file mode 100644
index 1c817c1345e..00000000000
--- a/dev-python/sympy/sympy-1.1.1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-
-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="doc examples gtk imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs theano"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
- doc? ( || ( $(python_gen_useflags 'python2*') ) )"
-
-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}]
- $(python_gen_cond_dep 'dev-libs/libxslt[${PYTHON_USEDEP}]' python2_7)
- 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}
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] app-text/docbook2X )
- test? ( ${RDEPEND} dev-python/pytest[${PYTHON_USEDEP}] )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-zeta.patch
- "${FILESDIR}"/${PN}-1.0-doc-makefile.patch
-)
-
-pkg_setup() {
- use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
-}
-
-python_compile_all() {
- if use doc; then
- export XDG_CONFIG_HOME="${T}/config-dir"
- mkdir "${XDG_CONFIG_HOME}" || die
- chmod 0700 "${XDG_CONFIG_HOME}" || die
- emake -j1 -C doc html info man cheatsheet
- fi
-}
-
-python_test() {
- virtx "${PYTHON}" setup.py test
-}
-
-python_install_all() {
- local DOCS=( AUTHORS README.rst )
- if use doc; then
- DOCS+=( doc/_build/cheatsheet/cheatsheet.pdf \
- doc/_build/cheatsheet/combinatoric_cheatsheet.pdf )
- local HTML_DOCS=( doc/_build/html/. )
- doinfo doc/_build/texinfo/${PN}.info
- fi
- 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
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/, dev-python/sympy/files/
@ 2020-03-19 21:56 David Seifert
0 siblings, 0 replies; 6+ messages in thread
From: David Seifert @ 2020-03-19 21:56 UTC (permalink / raw
To: gentoo-commits
commit: ef6b498f75eea4b79b5ee364060ea31b5e55116e
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 19 21:55:48 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Mar 19 21:55:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef6b498f
dev-python/sympy: Remove old
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-python/sympy/Manifest | 3 -
.../sympy/files/sympy-1.0-doc-makefile.patch | 10 ---
dev-python/sympy/files/sympy-1.0-zeta.patch | 47 --------------
dev-python/sympy/files/sympy-1.3-eta.patch | 12 ----
dev-python/sympy/sympy-1.0-r1.ebuild | 71 ----------------------
dev-python/sympy/sympy-1.3.ebuild | 69 ---------------------
dev-python/sympy/sympy-1.5.1.ebuild | 69 ---------------------
dev-python/sympy/sympy-1.5.ebuild | 67 --------------------
8 files changed, 348 deletions(-)
diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index d0678e06ad9..b8791fc94ef 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -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
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 6fe64b853c2..00000000000
--- 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 43f54832c94..00000000000
--- 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 16318458fc9..00000000000
--- 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.
diff --git a/dev-python/sympy/sympy-1.0-r1.ebuild b/dev-python/sympy/sympy-1.0-r1.ebuild
deleted file mode 100644
index 195f59d969c..00000000000
--- a/dev-python/sympy/sympy-1.0-r1.ebuild
+++ /dev/null
@@ -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
-}
diff --git a/dev-python/sympy/sympy-1.3.ebuild b/dev-python/sympy/sympy-1.3.ebuild
deleted file mode 100644
index ffc69e64f91..00000000000
--- a/dev-python/sympy/sympy-1.3.ebuild
+++ /dev/null
@@ -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
-}
diff --git a/dev-python/sympy/sympy-1.5.1.ebuild b/dev-python/sympy/sympy-1.5.1.ebuild
deleted file mode 100644
index dd759926e28..00000000000
--- a/dev-python/sympy/sympy-1.5.1.ebuild
+++ /dev/null
@@ -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
-}
diff --git a/dev-python/sympy/sympy-1.5.ebuild b/dev-python/sympy/sympy-1.5.ebuild
deleted file mode 100644
index 3d8957d84cb..00000000000
--- a/dev-python/sympy/sympy-1.5.ebuild
+++ /dev/null
@@ -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
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-03-19 21:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-19 6:13 [gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/, dev-python/sympy/files/ Andrey Grozin
-- strict thread matches above, loose matches on Subject: below --
2020-03-19 21:56 David Seifert
2019-12-04 17:15 Michał Górny
2017-07-28 0:07 Andrey Grozin
2016-12-29 1:30 Andrey Grozin
2016-03-18 20:55 Andrey Grozin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox