[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2023-12-23 Thread Michał Górny
commit: b62e28490a00ba3b106b809b85b091e8f6e4d1a8
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 24 05:48:14 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 24 05:59:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b62e2849

dev-python/sympy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/sympy-1.12.ebuild | 115 -
 1 file changed, 115 deletions(-)

diff --git a/dev-python/sympy/sympy-1.12.ebuild 
b/dev-python/sympy/sympy-1.12.ebuild
deleted file mode 100644
index 7f16aaf566bb..
--- a/dev-python/sympy/sympy-1.12.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="
-   https://www.sympy.org/
-   https://github.com/sympy/sympy/
-   https://pypi.org/project/sympy/
-"
-SRC_URI="
-   https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz
-"
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
-IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine texmacs"
-
-RDEPEND="
-   dev-python/mpmath[${PYTHON_USEDEP}]
-   dev-python/pexpect[${PYTHON_USEDEP}]
-   aesara? (
-   $(python_gen_cond_dep '
-   dev-python/aesara[${PYTHON_USEDEP}]
-   ' python3_{10..11})
-   )
-   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-python/lxml[${PYTHON_USEDEP}] )
-   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
-   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
-   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
-   texmacs? ( app-office/texmacs )
-"
-
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-PATCHES=(
-   "${FILESDIR}/${P}-py312.patch"
-)
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # require old version of antlr4
-   sympy/parsing/tests/test_autolev.py
-   sympy/parsing/tests/test_latex.py
-   # crash due to assertions in sys-devel/llvm[debug]
-   sympy/parsing/tests/test_c_parser.py
-
-   # TODO: pytest?
-   
sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_check
-   
sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_dsolve_dotprodsimp
-
-   # either very slow or hanging
-   
sympy/solvers/ode/tests/test_systems.py::test_linear_new_order1_type2_de_lorentz_slow_check
-   
sympy/integrals/tests/test_failing_integrals.py::test_issue_15227
-   
sympy/matrices/tests/test_matrices.py::test_pinv_rank_deficient_when_diagonalization_fails
-   
sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type1
-   
sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type3
-   )
-
-   case ${EPYTHON} in
-   pypy3)
-   if has_version "https://foss.heptapod.net/pypy/pypy/-/issues/4032
-   
sympy/tensor/array/tests/test_array_comprehension.py::test_arraycomprehensionmap
-   )
-   fi
-   ;;
-   esac
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   nonfatal epytest --veryquickcheck ||
-   die -n "Tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
-   local DOCS=( AUTHORS README.md )
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/files/, dev-python/sympy/

2023-12-09 Thread Sam James
commit: ce49e41b8d2e03a25f46940ef684daebea64dfd0
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec  9 16:25:15 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec  9 18:05:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce49e41b

dev-python/sympy: fix modern C issue

I only noticed this one because fweimer picked it up, I didn't end up hitting it
myself.

Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/files/sympy-1.12-c99.patch |  48 
 dev-python/sympy/sympy-1.12-r1.ebuild   | 116 
 2 files changed, 164 insertions(+)

diff --git a/dev-python/sympy/files/sympy-1.12-c99.patch 
b/dev-python/sympy/files/sympy-1.12-c99.patch
new file mode 100644
index ..311311cfcea3
--- /dev/null
+++ b/dev-python/sympy/files/sympy-1.12-c99.patch
@@ -0,0 +1,48 @@
+https://github.com/sympy/sympy/pull/25968
+
+From 2251ba15d33656fce53668d789c390923eeae919 Mon Sep 17 00:00:00 2001
+From: Jerry James 
+Date: Fri, 8 Dec 2023 15:12:26 -0700
+Subject: [PATCH] Avoid incompatible pointer type error with GCC 14
+
+--- a/sympy/utilities/autowrap.py
 b/sympy/utilities/autowrap.py
+@@ -714,7 +714,11 @@ def binary_function(symfunc, expr, **kwargs):
+ _ufunc_outcalls = Template("*((double *)out${outnum}) = 
${funcname}(${call_args});")
+ 
+ _ufunc_body = Template("""\
++#ifdef NPY_1_19_API_VERSION
++static void ${funcname}_ufunc(char **args, const npy_intp *dimensions, const 
npy_intp* steps, void* data)
++#else
+ static void ${funcname}_ufunc(char **args, npy_intp *dimensions, npy_intp* 
steps, void* data)
++#endif
+ {
+ npy_intp i;
+ npy_intp n = dimensions[0];
+--- a/sympy/utilities/tests/test_autowrap.py
 b/sympy/utilities/tests/test_autowrap.py
+@@ -284,7 +284,11 @@ def test_ufuncify_source():
+ {NULL, NULL, 0, NULL}
+ };
+ 
++#ifdef NPY_1_19_API_VERSION
++static void test_ufunc(char **args, const npy_intp *dimensions, const 
npy_intp* steps, void* data)
++#else
+ static void test_ufunc(char **args, npy_intp *dimensions, npy_intp* steps, 
void* data)
++#endif
+ {
+ npy_intp i;
+ npy_intp n = dimensions[0];
+@@ -378,7 +382,11 @@ def test_ufuncify_source_multioutput():
+ {NULL, NULL, 0, NULL}
+ };
+ 
++#ifdef NPY_1_19_API_VERSION
++static void multitest_ufunc(char **args, const npy_intp *dimensions, const 
npy_intp* steps, void* data)
++#else
+ static void multitest_ufunc(char **args, npy_intp *dimensions, npy_intp* 
steps, void* data)
++#endif
+ {
+ npy_intp i;
+ npy_intp n = dimensions[0];
+

diff --git a/dev-python/sympy/sympy-1.12-r1.ebuild 
b/dev-python/sympy/sympy-1.12-r1.ebuild
new file mode 100644
index ..42a6e4905c75
--- /dev/null
+++ b/dev-python/sympy/sympy-1.12-r1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="
+   https://www.sympy.org/
+   https://github.com/sympy/sympy/
+   https://pypi.org/project/sympy/
+"
+SRC_URI="
+   https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine texmacs"
+
+RDEPEND="
+   dev-python/mpmath[${PYTHON_USEDEP}]
+   dev-python/pexpect[${PYTHON_USEDEP}]
+   aesara? (
+   $(python_gen_cond_dep '
+   dev-python/aesara[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   )
+   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-python/lxml[${PYTHON_USEDEP}] )
+   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
+   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
+   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
+   texmacs? ( app-office/texmacs )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+PATCHES=(
+   "${FILESDIR}/${P}-py312.patch"
+   "${FILESDIR}/${PN}-1.12-c99.patch"
+)
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # require old version of antlr4
+   sympy/parsing/tests/test_autolev.py
+   sympy/parsing/tests/test_latex.py
+   # crash due to assertions in sys-devel/llvm[debug]
+   sympy/parsing/tests/test_c_parser.py
+
+   # TODO: pytest?
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2023-11-25 Thread Sam James
commit: 7c894ce55463c44612bf01c299bb8b552946db46
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 25 20:46:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 25 20:46:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c894ce5

dev-python/sympy: Stabilize 1.12 arm64, #918182

Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/sympy-1.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.12.ebuild 
b/dev-python/sympy/sympy-1.12.ebuild
index ed847c87b617..7f16aaf566bb 100644
--- a/dev-python/sympy/sympy-1.12.ebuild
+++ b/dev-python/sympy/sympy-1.12.ebuild
@@ -21,7 +21,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
 IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine texmacs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2023-11-21 Thread Michał Górny
commit: f3ce1ca9d3e3972ee22352f1783f8534e3e7cb86
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 21 14:18:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 21 19:04:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3ce1ca9

dev-python/sympy: Update deselected tests for pypy3_10 fix

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/sympy-1.12.ebuild | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-python/sympy/sympy-1.12.ebuild 
b/dev-python/sympy/sympy-1.12.ebuild
index 83dca584780b..ed847c87b617 100644
--- a/dev-python/sympy/sympy-1.12.ebuild
+++ b/dev-python/sympy/sympy-1.12.ebuild
@@ -80,10 +80,14 @@ python_test() {
 
case ${EPYTHON} in
pypy3)
-   EPYTEST_DESELECT+=(
-   # 
https://foss.heptapod.net/pypy/pypy/-/issues/4032
-   
sympy/tensor/array/tests/test_array_comprehension.py::test_arraycomprehensionmap
-   )
+   if has_version "https://foss.heptapod.net/pypy/pypy/-/issues/4032
+   
sympy/tensor/array/tests/test_array_comprehension.py::test_arraycomprehensionmap
+   )
+   fi
;;
esac
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2023-11-21 Thread Michał Górny
commit: 838c7e32c72b666d8d5403a8ca75f7001415bd01
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 21 13:11:27 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 21 13:36:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=838c7e32

dev-python/sympy: Enable pypy3

Sponsored-by: Ex Makhina, Inc.  exmakhina.com>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/sympy-1.12.ebuild | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.12.ebuild 
b/dev-python/sympy/sympy-1.12.ebuild
index 588e766d8a3a..83dca584780b 100644
--- a/dev-python/sympy/sympy-1.12.ebuild
+++ b/dev-python/sympy/sympy-1.12.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
 
 inherit distutils-r1 virtualx
 
@@ -78,6 +78,15 @@ python_test() {

sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type3
)
 
+   case ${EPYTHON} in
+   pypy3)
+   EPYTEST_DESELECT+=(
+   # 
https://foss.heptapod.net/pypy/pypy/-/issues/4032
+   
sympy/tensor/array/tests/test_array_comprehension.py::test_arraycomprehensionmap
+   )
+   ;;
+   esac
+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
nonfatal epytest --veryquickcheck ||
die -n "Tests failed with ${EPYTHON}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/files/, dev-python/sympy/

2023-11-16 Thread Michał Górny
commit: a39a6324b6e2e2398104c1af5ca24fafed6cb0bb
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 17 06:51:25 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 17 07:57:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a39a6324

dev-python/sympy: Enable py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/files/sympy-1.12-py312.patch | 42 +++
 dev-python/sympy/sympy-1.12.ebuild|  6 +++-
 2 files changed, 47 insertions(+), 1 deletion(-)

diff --git a/dev-python/sympy/files/sympy-1.12-py312.patch 
b/dev-python/sympy/files/sympy-1.12-py312.patch
new file mode 100644
index ..13501c3fb34d
--- /dev/null
+++ b/dev-python/sympy/files/sympy-1.12-py312.patch
@@ -0,0 +1,42 @@
+From 8a2c3c4de266f49312eda4c91dcdf5d5464717e8 Mon Sep 17 00:00:00 2001
+From: Pablo Galindo 
+Date: Fri, 9 Jun 2023 11:22:20 +0100
+Subject: [PATCH] Fix factorial parsing for Python 3.12
+
+Signed-off-by: Pablo Galindo 
+---
+ .mailmap  | 1 +
+ sympy/parsing/sympy_parser.py | 5 -
+ 2 files changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/.mailmap b/.mailmap
+index fe496637dd..8a9de2d99d 100644
+--- a/.mailmap
 b/.mailmap
+@@ -1496,6 +1496,7 @@ naelsondouglas 
+ noam simcha finkelstein 
+ numbermaniac <5206120+numberman...@users.noreply.github.com>
+ oittaa <8972248+oit...@users.noreply.github.com>
++pablogsal 
+ pekochun 
+ prshnt19 
+ rahuldan 
+diff --git a/sympy/parsing/sympy_parser.py b/sympy/parsing/sympy_parser.py
+index 5935f4baf2..862679e644 100644
+--- a/sympy/parsing/sympy_parser.py
 b/sympy/parsing/sympy_parser.py
+@@ -627,7 +627,10 @@ def factorial_notation(tokens: List[TOKEN], local_dict: 
DICT, global_dict: DICT)
+ result: List[TOKEN] = []
+ nfactorial = 0
+ for toknum, tokval in tokens:
+-if toknum == ERRORTOKEN:
++if toknum == OP and tokval == "!":
++# In Python 3.12 "!" are OP instead of ERRORTOKEN
++nfactorial += 1
++elif toknum == ERRORTOKEN:
+ op = tokval
+ if op == '!':
+ nfactorial += 1
+-- 
+2.42.1
+

diff --git a/dev-python/sympy/sympy-1.12.ebuild 
b/dev-python/sympy/sympy-1.12.ebuild
index 54a1c1d88d66..588e766d8a3a 100644
--- a/dev-python/sympy/sympy-1.12.ebuild
+++ b/dev-python/sympy/sympy-1.12.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 virtualx
 
@@ -50,6 +50,10 @@ RDEPEND="
 EPYTEST_XDIST=1
 distutils_enable_tests pytest
 
+PATCHES=(
+   "${FILESDIR}/${P}-py312.patch"
+)
+
 src_test() {
virtx distutils-r1_src_test
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2023-11-16 Thread Michał Górny
commit: e804d9b4f23286ac0169ce612798cc4f616c97e9
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 17 06:36:53 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 17 07:57:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e804d9b4

dev-python/sympy: Run tests via pytest

Run tests via pytest, utilizing pytest-xdist.  While this introduces
a few additional failures, it saves lots of time.

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/sympy-1.12.ebuild | 53 ++
 1 file changed, 25 insertions(+), 28 deletions(-)

diff --git a/dev-python/sympy/sympy-1.12.ebuild 
b/dev-python/sympy/sympy-1.12.ebuild
index 3944647ef2e0..54a1c1d88d66 100644
--- a/dev-python/sympy/sympy-1.12.ebuild
+++ b/dev-python/sympy/sympy-1.12.ebuild
@@ -47,39 +47,36 @@ RDEPEND="
texmacs? ( app-office/texmacs )
 "
 
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
 src_test() {
virtx distutils-r1_src_test
 }
 
 python_test() {
-   local color=True
-   [[ ${NO_COLOR} ]] && color=False
-
-   "${EPYTHON}" - <<-EOF || die -n "Tests failed with ${EPYTHON}"
-   from sympy.testing.runtests import run_all_tests
-
-   common = {
-   "verbose": True,
-   "colors": ${color},
-   "force_colors": ${color},
-   "blacklist": [
-   # these require old version of antlr4
-   "sympy/parsing/autolev/__init__.py",
-   "sympy/parsing/latex/__init__.py",
-   "sympy/parsing/tests/test_autolev.py",
-   "sympy/parsing/tests/test_latex.py",
-   # these fail on assertions inside LLVM
-   "sympy/parsing/tests/test_c_parser.py",
-   # hangs
-   "sympy/printing/preview.py",
-   ],
-   }
-
-   run_all_tests(
-   test_kwargs=common,
-   doctest_kwargs=common,
-   )
-   EOF
+   local EPYTEST_DESELECT=(
+   # require old version of antlr4
+   sympy/parsing/tests/test_autolev.py
+   sympy/parsing/tests/test_latex.py
+   # crash due to assertions in sys-devel/llvm[debug]
+   sympy/parsing/tests/test_c_parser.py
+
+   # TODO: pytest?
+   
sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_check
+   
sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_dsolve_dotprodsimp
+
+   # either very slow or hanging
+   
sympy/solvers/ode/tests/test_systems.py::test_linear_new_order1_type2_de_lorentz_slow_check
+   
sympy/integrals/tests/test_failing_integrals.py::test_issue_15227
+   
sympy/matrices/tests/test_matrices.py::test_pinv_rank_deficient_when_diagonalization_fails
+   
sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type1
+   
sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type3
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   nonfatal epytest --veryquickcheck ||
+   die -n "Tests failed with ${EPYTHON}"
 }
 
 python_install_all() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2023-11-16 Thread Michał Górny
commit: a7131597229c0cd719d05883c33dddaffe541298
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov 16 19:52:46 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 17 07:57:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7131597

dev-python/sympy: Fix running tests

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/sympy-1.12.ebuild | 33 +
 1 file changed, 29 insertions(+), 4 deletions(-)

diff --git a/dev-python/sympy/sympy-1.12.ebuild 
b/dev-python/sympy/sympy-1.12.ebuild
index 8924c8a9f617..3944647ef2e0 100644
--- a/dev-python/sympy/sympy-1.12.ebuild
+++ b/dev-python/sympy/sympy-1.12.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}/${PN}-${P}"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
-IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
+IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine texmacs"
 
 RDEPEND="
dev-python/mpmath[${PYTHON_USEDEP}]
@@ -47,14 +47,39 @@ RDEPEND="
texmacs? ( app-office/texmacs )
 "
 
-distutils_enable_tests pytest
-
 src_test() {
virtx distutils-r1_src_test
 }
 
 python_test() {
-   esetup.py test
+   local color=True
+   [[ ${NO_COLOR} ]] && color=False
+
+   "${EPYTHON}" - <<-EOF || die -n "Tests failed with ${EPYTHON}"
+   from sympy.testing.runtests import run_all_tests
+
+   common = {
+   "verbose": True,
+   "colors": ${color},
+   "force_colors": ${color},
+   "blacklist": [
+   # these require old version of antlr4
+   "sympy/parsing/autolev/__init__.py",
+   "sympy/parsing/latex/__init__.py",
+   "sympy/parsing/tests/test_autolev.py",
+   "sympy/parsing/tests/test_latex.py",
+   # these fail on assertions inside LLVM
+   "sympy/parsing/tests/test_c_parser.py",
+   # hangs
+   "sympy/printing/preview.py",
+   ],
+   }
+
+   run_all_tests(
+   test_kwargs=common,
+   doctest_kwargs=common,
+   )
+   EOF
 }
 
 python_install_all() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2023-11-10 Thread Michał Górny
commit: 60e82fb59f9bca8d0d608e30d8f0c108b3e1b7ea
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 10 12:07:07 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 10 12:48:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60e82fb5

dev-python/sympy: dev-python/aesara is 3.11-enabled

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/sympy-1.12.ebuild | 18 ++
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/dev-python/sympy/sympy-1.12.ebuild 
b/dev-python/sympy/sympy-1.12.ebuild
index fbc036fa4f8f..8924c8a9f617 100644
--- a/dev-python/sympy/sympy-1.12.ebuild
+++ b/dev-python/sympy/sympy-1.12.ebuild
@@ -4,13 +4,19 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 
 inherit distutils-r1 virtualx
 
 DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="https://www.sympy.org/;
-SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz"
+HOMEPAGE="
+   https://www.sympy.org/
+   https://github.com/sympy/sympy/
+   https://pypi.org/project/sympy/
+"
+SRC_URI="
+   https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz
+"
 S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
@@ -21,7 +27,11 @@ IUSE="aesara examples imaging ipython latex mathml opengl 
pdf png pyglet symengi
 RDEPEND="
dev-python/mpmath[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
-   aesara? ( $(python_gen_cond_dep 'dev-python/aesara[${PYTHON_USEDEP}]' 
python3_{9..10}) )
+   aesara? (
+   $(python_gen_cond_dep '
+   dev-python/aesara[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   )
imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
latex? (



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/files/, dev-python/sympy/

2023-06-27 Thread Michał Górny
commit: 848165229245c6b0584929c4e7645e9046ea5b2e
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 27 12:05:12 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 12:05:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84816522

dev-python/sympy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/Manifest  |  1 -
 ...py-1.11-no-deprecated-threading-event-api.patch | 54 -
 dev-python/sympy/sympy-1.11.1-r2.ebuild| 70 --
 3 files changed, 125 deletions(-)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index c1bab91286e0..f19c73e34f72 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1 @@
-DIST sympy-1.11.1.gh.tar.gz 13462495 BLAKE2B 
a45320d087057595d3574490c6dc07bcdf7870543e9adcbaca9abe293d84875c123bbc91a7263a87b0b71568dece4e1304b6bf76f60ae64e353520f0ca686b1f
 SHA512 
6cc720b673cf31a2e8f56a5cae24ec15024ea43dee92196adb0a87f28561b5d2404fbbfd3d55a8414930a31d4d0f4a731d458ad528c8cbb03c37555f5c14ce4a
 DIST sympy-1.12.gh.tar.gz 7212937 BLAKE2B 
1d37a019e7a6700e69e16d6ca7fdc563711165fc226ac6ec745d20fa6dc689ee9ea01a92549d851aacff763230872c2d1d0cb5bde581c4f960f5de515ffb5f06
 SHA512 
96a89b88f6912d70c56f5bd1903dd3c518963118ff25d033cdcb7da2f260b8ee209d3ab4a4394dd2b5dc0b4585b71ccd55d55c8e5c6e28024cccbedf07ee4360

diff --git 
a/dev-python/sympy/files/sympy-1.11-no-deprecated-threading-event-api.patch 
b/dev-python/sympy/files/sympy-1.11-no-deprecated-threading-event-api.patch
deleted file mode 100644
index eaffd3f1fbe1..
--- a/dev-python/sympy/files/sympy-1.11-no-deprecated-threading-event-api.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-Patch back-ported from the sympy git repo
-url: 
https://github.com/sympy/sympy/commit/b89ca436cf25e2a1caf82c9d33221d06698d0ff5
-
-commit b89ca436cf25e2a1caf82c9d33221d06698d0ff5
-Author: Chris Kerr 
-Date:   Thu Sep 22 19:32:27 2022 +0300
-
-Replace deprecated .isSet() method with .is_set()
-
-Fixes https://github.com/sympy/sympy/issues/24074
-
-diff --git a/sympy/plotting/pygletplot/plot_mode_base.py 
b/sympy/plotting/pygletplot/plot_mode_base.py
-index c1c2b0a6ec..2c6503650a 100644
 a/sympy/plotting/pygletplot/plot_mode_base.py
-+++ b/sympy/plotting/pygletplot/plot_mode_base.py
-@@ -269,7 +269,7 @@ def _calculate_all(self):
- self._calculate_cverts()
- 
- def _calculate_verts(self):
--if self._calculating_verts.isSet():
-+if self._calculating_verts.is_set():
- return
- self._calculating_verts.set()
- try:
-@@ -280,9 +280,9 @@ def _calculate_verts(self):
- self.bounds_callback()
- 
- def _calculate_cverts(self):
--if self._calculating_verts.isSet():
-+if self._calculating_verts.is_set():
- return
--while self._calculating_cverts.isSet():
-+while self._calculating_cverts.is_set():
- sleep(0)  # wait for previous calculation
- self._calculating_cverts.set()
- try:
-@@ -291,7 +291,7 @@ def _calculate_cverts(self):
- self._calculating_cverts.clear()
- 
- def _get_calculating_verts(self):
--return self._calculating_verts.isSet()
-+return self._calculating_verts.is_set()
- 
- def _get_calculating_verts_pos(self):
- return self._calculating_verts_pos
-@@ -300,7 +300,7 @@ def _get_calculating_verts_len(self):
- return self._calculating_verts_len
- 
- def _get_calculating_cverts(self):
--return self._calculating_cverts.isSet()
-+return self._calculating_cverts.is_set()
- 
- def _get_calculating_cverts_pos(self):
- return self._calculating_cverts_pos

diff --git a/dev-python/sympy/sympy-1.11.1-r2.ebuild 
b/dev-python/sympy/sympy-1.11.1-r2.ebuild
deleted file mode 100644
index 4f8d6e3f0041..
--- a/dev-python/sympy/sympy-1.11.1-r2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="https://www.sympy.org/;
-SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz"
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
-IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
-
-RDEPEND="
-   dev-python/mpmath[${PYTHON_USEDEP}]
-   dev-python/pexpect[${PYTHON_USEDEP}]
-   aesara? ( $(python_gen_cond_dep 'dev-python/aesara[${PYTHON_USEDEP}]' 
python3_{9..10}) )
-   imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
-   ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
-   latex? (
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2023-06-27 Thread Sam James
commit: 336996c4e256ff4afe93e1371affe93b2608e55d
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 27 07:53:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 27 07:54:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=336996c4

dev-python/sympy: Stabilize 1.12 ALLARCHES, #909263

Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/sympy-1.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.12.ebuild 
b/dev-python/sympy/sympy-1.12.ebuild
index 8520e0737b6c..fbc036fa4f8f 100644
--- a/dev-python/sympy/sympy-1.12.ebuild
+++ b/dev-python/sympy/sympy-1.12.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
 IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2023-05-27 Thread Andrey Grozin
commit: afd5205528548e0690575a4193e10d11fb783683
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat May 27 13:27:03 2023 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat May 27 13:33:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afd52055

dev-python/sympy: bump to 1.12

Signed-off-by: Andrey Grozin  gentoo.org>

 dev-python/sympy/Manifest  |  1 +
 dev-python/sympy/sympy-1.12.ebuild | 66 ++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 825c0fca0309..c1bab91286e0 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1 +1,2 @@
 DIST sympy-1.11.1.gh.tar.gz 13462495 BLAKE2B 
a45320d087057595d3574490c6dc07bcdf7870543e9adcbaca9abe293d84875c123bbc91a7263a87b0b71568dece4e1304b6bf76f60ae64e353520f0ca686b1f
 SHA512 
6cc720b673cf31a2e8f56a5cae24ec15024ea43dee92196adb0a87f28561b5d2404fbbfd3d55a8414930a31d4d0f4a731d458ad528c8cbb03c37555f5c14ce4a
+DIST sympy-1.12.gh.tar.gz 7212937 BLAKE2B 
1d37a019e7a6700e69e16d6ca7fdc563711165fc226ac6ec745d20fa6dc689ee9ea01a92549d851aacff763230872c2d1d0cb5bde581c4f960f5de515ffb5f06
 SHA512 
96a89b88f6912d70c56f5bd1903dd3c518963118ff25d033cdcb7da2f260b8ee209d3ab4a4394dd2b5dc0b4585b71ccd55d55c8e5c6e28024cccbedf07ee4360

diff --git a/dev-python/sympy/sympy-1.12.ebuild 
b/dev-python/sympy/sympy-1.12.ebuild
new file mode 100644
index ..8520e0737b6c
--- /dev/null
+++ b/dev-python/sympy/sympy-1.12.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://www.sympy.org/;
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
+
+RDEPEND="
+   dev-python/mpmath[${PYTHON_USEDEP}]
+   dev-python/pexpect[${PYTHON_USEDEP}]
+   aesara? ( $(python_gen_cond_dep 'dev-python/aesara[${PYTHON_USEDEP}]' 
python3_{9..10}) )
+   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-python/lxml[${PYTHON_USEDEP}] )
+   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
+   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
+   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
+   texmacs? ( app-office/texmacs )
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   esetup.py test
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.md )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2023-04-22 Thread Michał Górny
commit: 89c2161430abed19744e5484e1e9e283e7b7262a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 22 16:29:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 22 16:36:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89c21614

dev-python/sympy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/sympy-1.11.1.ebuild | 66 
 1 file changed, 66 deletions(-)

diff --git a/dev-python/sympy/sympy-1.11.1.ebuild 
b/dev-python/sympy/sympy-1.11.1.ebuild
deleted file mode 100644
index abc403f75124..
--- a/dev-python/sympy/sympy-1.11.1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="https://www.sympy.org/;
-SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz"
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
-IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
-
-RDEPEND="
-   dev-python/mpmath[${PYTHON_USEDEP}]
-   dev-python/pexpect[${PYTHON_USEDEP}]
-   aesara? ( dev-python/aesara[${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}] )
-   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
-   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
-   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
-   texmacs? ( app-office/texmacs )
-"
-
-distutils_enable_tests pytest
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   esetup.py test
-}
-
-python_install_all() {
-   local DOCS=( AUTHORS README.md )
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2023-04-22 Thread Arthur Zamarin
commit: 1b305d51dd0776e6456c635a872ad6dd0c015fde
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 22 15:55:42 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 22 15:55:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b305d51

dev-python/sympy: Stabilize 1.11.1-r2 x86, #900427

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/sympy/sympy-1.11.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.11.1-r2.ebuild 
b/dev-python/sympy/sympy-1.11.1-r2.ebuild
index efc42f4913ac..4f8d6e3f0041 100644
--- a/dev-python/sympy/sympy-1.11.1-r2.ebuild
+++ b/dev-python/sympy/sympy-1.11.1-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
 IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2023-04-22 Thread Arthur Zamarin
commit: 42cf47aed29d40f33bd1e8143b0d4000ffb1e70b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 22 15:55:15 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 22 15:55:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42cf47ae

dev-python/sympy: Stabilize 1.11.1-r2 amd64, #900427

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/sympy/sympy-1.11.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.11.1-r2.ebuild 
b/dev-python/sympy/sympy-1.11.1-r2.ebuild
index 426fe3c40e7c..efc42f4913ac 100644
--- a/dev-python/sympy/sympy-1.11.1-r2.ebuild
+++ b/dev-python/sympy/sympy-1.11.1-r2.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
 IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2023-02-19 Thread Michał Górny
commit: 267f8e520aadfbe1b7461923fc83bec802bb4f85
Author: Jérôme Carretero  zougloub  eu>
AuthorDate: Fri Feb 17 14:44:37 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 19 19:46:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=267f8e52

dev-python/sympy: depend on lxml, not libxml2, for mathml (#890559)

Closes: https://bugs.gentoo.org/890559
Signed-off-by: Jérôme Carretero  zougloub.eu>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/{sympy-1.11.1-r1.ebuild => sympy-1.11.1-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.11.1-r1.ebuild 
b/dev-python/sympy/sympy-1.11.1-r2.ebuild
similarity index 97%
rename from dev-python/sympy/sympy-1.11.1-r1.ebuild
rename to dev-python/sympy/sympy-1.11.1-r2.ebuild
index df5b5e24a757..ab9c1ba34620 100644
--- a/dev-python/sympy/sympy-1.11.1-r1.ebuild
+++ b/dev-python/sympy/sympy-1.11.1-r2.ebuild
@@ -30,7 +30,7 @@ RDEPEND="
png? ( app-text/dvipng )
pdf? ( app-text/ghostscript-gpl )
)
-   mathml? ( dev-libs/libxml2:2[${PYTHON_USEDEP}] )
+   mathml? ( dev-python/lxml[${PYTHON_USEDEP}] )
opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/files/, dev-python/sympy/

2023-02-17 Thread Sam James
commit: abeff5c36e1e91ee31a457b002b6891da1a67cd5
Author: Jérôme Carretero  zougloub  eu>
AuthorDate: Fri Feb 17 12:42:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 18 00:40:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abeff5c3

dev-python/sympy: add support for python3.11

The added patch makes tests run; they failed only due to a deprecation
warning happening.

Signed-off-by: Jérôme Carretero  zougloub.eu>
Closes: https://github.com/gentoo/gentoo/pull/29605
Signed-off-by: Sam James  gentoo.org>

 ...py-1.11-no-deprecated-threading-event-api.patch | 54 +
 dev-python/sympy/sympy-1.11.1-r1.ebuild| 70 ++
 2 files changed, 124 insertions(+)

diff --git 
a/dev-python/sympy/files/sympy-1.11-no-deprecated-threading-event-api.patch 
b/dev-python/sympy/files/sympy-1.11-no-deprecated-threading-event-api.patch
new file mode 100644
index ..eaffd3f1fbe1
--- /dev/null
+++ b/dev-python/sympy/files/sympy-1.11-no-deprecated-threading-event-api.patch
@@ -0,0 +1,54 @@
+Patch back-ported from the sympy git repo
+url: 
https://github.com/sympy/sympy/commit/b89ca436cf25e2a1caf82c9d33221d06698d0ff5
+
+commit b89ca436cf25e2a1caf82c9d33221d06698d0ff5
+Author: Chris Kerr 
+Date:   Thu Sep 22 19:32:27 2022 +0300
+
+Replace deprecated .isSet() method with .is_set()
+
+Fixes https://github.com/sympy/sympy/issues/24074
+
+diff --git a/sympy/plotting/pygletplot/plot_mode_base.py 
b/sympy/plotting/pygletplot/plot_mode_base.py
+index c1c2b0a6ec..2c6503650a 100644
+--- a/sympy/plotting/pygletplot/plot_mode_base.py
 b/sympy/plotting/pygletplot/plot_mode_base.py
+@@ -269,7 +269,7 @@ def _calculate_all(self):
+ self._calculate_cverts()
+ 
+ def _calculate_verts(self):
+-if self._calculating_verts.isSet():
++if self._calculating_verts.is_set():
+ return
+ self._calculating_verts.set()
+ try:
+@@ -280,9 +280,9 @@ def _calculate_verts(self):
+ self.bounds_callback()
+ 
+ def _calculate_cverts(self):
+-if self._calculating_verts.isSet():
++if self._calculating_verts.is_set():
+ return
+-while self._calculating_cverts.isSet():
++while self._calculating_cverts.is_set():
+ sleep(0)  # wait for previous calculation
+ self._calculating_cverts.set()
+ try:
+@@ -291,7 +291,7 @@ def _calculate_cverts(self):
+ self._calculating_cverts.clear()
+ 
+ def _get_calculating_verts(self):
+-return self._calculating_verts.isSet()
++return self._calculating_verts.is_set()
+ 
+ def _get_calculating_verts_pos(self):
+ return self._calculating_verts_pos
+@@ -300,7 +300,7 @@ def _get_calculating_verts_len(self):
+ return self._calculating_verts_len
+ 
+ def _get_calculating_cverts(self):
+-return self._calculating_cverts.isSet()
++return self._calculating_cverts.is_set()
+ 
+ def _get_calculating_cverts_pos(self):
+ return self._calculating_cverts_pos

diff --git a/dev-python/sympy/sympy-1.11.1-r1.ebuild 
b/dev-python/sympy/sympy-1.11.1-r1.ebuild
new file mode 100644
index ..df5b5e24a757
--- /dev/null
+++ b/dev-python/sympy/sympy-1.11.1-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://www.sympy.org/;
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
+
+RDEPEND="
+   dev-python/mpmath[${PYTHON_USEDEP}]
+   dev-python/pexpect[${PYTHON_USEDEP}]
+   aesara? ( $(python_gen_cond_dep 'dev-python/aesara[${PYTHON_USEDEP}]' 
python3_{9..10}) )
+   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}] )
+   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
+   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
+   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
+   texmacs? ( app-office/texmacs )
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.11-no-deprecated-threading-event-api.patch"
+)
+
+distutils_enable_tests pytest
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   esetup.py test
+}
+

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2022-10-03 Thread Michał Górny
commit: bdc23109302db1ea701875de4fa197e8c887bcdf
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  3 06:50:14 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  3 06:50:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdc23109

dev-python/sympy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/Manifest|  1 -
 dev-python/sympy/sympy-1.10.1.ebuild | 66 
 2 files changed, 67 deletions(-)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index f900d530e633..825c0fca0309 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1 @@
-DIST sympy-1.10.1.tar.gz 781 BLAKE2B 
e522e71058ebc8bdf3c016e3067bae9138e9a9a15ea658cba1fd35a04ce58246b5c3d7ab9c231d7071ed20b588ecfaa9275f383825b511a40c9821eadb53dd44
 SHA512 
7b6d5718826951bb1e477a78c3de8b95b8edda103981ad03c9f0da125ad35d72d8e5b5716d478ac4f00810939f1dc35786cc2e0a6b75cffb098cc1be9d8f7168
 DIST sympy-1.11.1.gh.tar.gz 13462495 BLAKE2B 
a45320d087057595d3574490c6dc07bcdf7870543e9adcbaca9abe293d84875c123bbc91a7263a87b0b71568dece4e1304b6bf76f60ae64e353520f0ca686b1f
 SHA512 
6cc720b673cf31a2e8f56a5cae24ec15024ea43dee92196adb0a87f28561b5d2404fbbfd3d55a8414930a31d4d0f4a731d458ad528c8cbb03c37555f5c14ce4a

diff --git a/dev-python/sympy/sympy-1.10.1.ebuild 
b/dev-python/sympy/sympy-1.10.1.ebuild
deleted file mode 100644
index 5fb33c0e074e..
--- a/dev-python/sympy/sympy-1.10.1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="https://www.sympy.org/;
-SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
-IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
-
-RDEPEND="
-   dev-python/mpmath[${PYTHON_USEDEP}]
-   dev-python/pexpect[${PYTHON_USEDEP}]
-   aesara? ( dev-python/aesara[${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}] )
-   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
-   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
-   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
-   texmacs? ( app-office/texmacs )
-"
-
-distutils_enable_tests pytest
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   esetup.py test
-}
-
-python_install_all() {
-   local DOCS=( AUTHORS README.md )
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2022-09-22 Thread Sam James
commit: 56f4fd11effc9946583394f29ded0e76f76fb6ee
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep 23 01:34:23 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep 23 01:35:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56f4fd11

dev-python/sympy: drop 1.11

Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/Manifest  |  1 -
 dev-python/sympy/sympy-1.11.ebuild | 66 --
 2 files changed, 67 deletions(-)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index cf033c6a34e9..f900d530e633 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,3 +1,2 @@
 DIST sympy-1.10.1.tar.gz 781 BLAKE2B 
e522e71058ebc8bdf3c016e3067bae9138e9a9a15ea658cba1fd35a04ce58246b5c3d7ab9c231d7071ed20b588ecfaa9275f383825b511a40c9821eadb53dd44
 SHA512 
7b6d5718826951bb1e477a78c3de8b95b8edda103981ad03c9f0da125ad35d72d8e5b5716d478ac4f00810939f1dc35786cc2e0a6b75cffb098cc1be9d8f7168
 DIST sympy-1.11.1.gh.tar.gz 13462495 BLAKE2B 
a45320d087057595d3574490c6dc07bcdf7870543e9adcbaca9abe293d84875c123bbc91a7263a87b0b71568dece4e1304b6bf76f60ae64e353520f0ca686b1f
 SHA512 
6cc720b673cf31a2e8f56a5cae24ec15024ea43dee92196adb0a87f28561b5d2404fbbfd3d55a8414930a31d4d0f4a731d458ad528c8cbb03c37555f5c14ce4a
-DIST sympy-1.11.tar.gz 13462278 BLAKE2B 
8129ac3b3a02930f05d3e9b8bbf3d224be9a92743a4ae5c518d34bd8bb2bffee1ceb3bac8b24423752d82cfdebaed7f72b51a8383a48080b7c3f8c7ce1e49c3d
 SHA512 
4ecebe3ed363c0ccc365df0b7ffbafdde7d8a3012feda4e9c4b54b77f4b73b46cac949070d0e7ddd2ec350c18eb54a11f6abd6cd40e476eed0f1ded18c99fc09

diff --git a/dev-python/sympy/sympy-1.11.ebuild 
b/dev-python/sympy/sympy-1.11.ebuild
deleted file mode 100644
index b75ed090fb89..
--- a/dev-python/sympy/sympy-1.11.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="https://www.sympy.org/;
-SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
-IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
-
-RDEPEND="
-   dev-python/mpmath[${PYTHON_USEDEP}]
-   dev-python/pexpect[${PYTHON_USEDEP}]
-   aesara? ( dev-python/aesara[${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}] )
-   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
-   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
-   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
-   texmacs? ( app-office/texmacs )
-"
-
-distutils_enable_tests pytest
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   esetup.py test
-}
-
-python_install_all() {
-   local DOCS=( AUTHORS README.md )
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2022-08-31 Thread Arthur Zamarin
commit: 1cfb60d19e5b88496c8077f34bc97bd75ffb1fa8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug 31 17:34:27 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug 31 18:06:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cfb60d1

dev-python/sympy: add 1.11.1

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/sympy/Manifest|  1 +
 dev-python/sympy/sympy-1.11.1.ebuild | 66 
 2 files changed, 67 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index fa1689ebec86..cf033c6a34e9 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1,3 @@
 DIST sympy-1.10.1.tar.gz 781 BLAKE2B 
e522e71058ebc8bdf3c016e3067bae9138e9a9a15ea658cba1fd35a04ce58246b5c3d7ab9c231d7071ed20b588ecfaa9275f383825b511a40c9821eadb53dd44
 SHA512 
7b6d5718826951bb1e477a78c3de8b95b8edda103981ad03c9f0da125ad35d72d8e5b5716d478ac4f00810939f1dc35786cc2e0a6b75cffb098cc1be9d8f7168
+DIST sympy-1.11.1.gh.tar.gz 13462495 BLAKE2B 
a45320d087057595d3574490c6dc07bcdf7870543e9adcbaca9abe293d84875c123bbc91a7263a87b0b71568dece4e1304b6bf76f60ae64e353520f0ca686b1f
 SHA512 
6cc720b673cf31a2e8f56a5cae24ec15024ea43dee92196adb0a87f28561b5d2404fbbfd3d55a8414930a31d4d0f4a731d458ad528c8cbb03c37555f5c14ce4a
 DIST sympy-1.11.tar.gz 13462278 BLAKE2B 
8129ac3b3a02930f05d3e9b8bbf3d224be9a92743a4ae5c518d34bd8bb2bffee1ceb3bac8b24423752d82cfdebaed7f72b51a8383a48080b7c3f8c7ce1e49c3d
 SHA512 
4ecebe3ed363c0ccc365df0b7ffbafdde7d8a3012feda4e9c4b54b77f4b73b46cac949070d0e7ddd2ec350c18eb54a11f6abd6cd40e476eed0f1ded18c99fc09

diff --git a/dev-python/sympy/sympy-1.11.1.ebuild 
b/dev-python/sympy/sympy-1.11.1.ebuild
new file mode 100644
index ..13ad6f75c321
--- /dev/null
+++ b/dev-python/sympy/sympy-1.11.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://www.sympy.org/;
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
+
+RDEPEND="
+   dev-python/mpmath[${PYTHON_USEDEP}]
+   dev-python/pexpect[${PYTHON_USEDEP}]
+   aesara? ( dev-python/aesara[${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}] )
+   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
+   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
+   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
+   texmacs? ( app-office/texmacs )
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   esetup.py test
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.md )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2022-08-24 Thread Arthur Zamarin
commit: 754d230f3bf8cacaf4b5b9d6327df52be08ca0b7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug 24 19:35:54 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug 24 19:36:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=754d230f

dev-python/sympy: add 1.11

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/sympy/Manifest  |  1 +
 dev-python/sympy/sympy-1.11.ebuild | 66 ++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 3de66a97f00f..fa1689ebec86 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1 +1,2 @@
 DIST sympy-1.10.1.tar.gz 781 BLAKE2B 
e522e71058ebc8bdf3c016e3067bae9138e9a9a15ea658cba1fd35a04ce58246b5c3d7ab9c231d7071ed20b588ecfaa9275f383825b511a40c9821eadb53dd44
 SHA512 
7b6d5718826951bb1e477a78c3de8b95b8edda103981ad03c9f0da125ad35d72d8e5b5716d478ac4f00810939f1dc35786cc2e0a6b75cffb098cc1be9d8f7168
+DIST sympy-1.11.tar.gz 13462278 BLAKE2B 
8129ac3b3a02930f05d3e9b8bbf3d224be9a92743a4ae5c518d34bd8bb2bffee1ceb3bac8b24423752d82cfdebaed7f72b51a8383a48080b7c3f8c7ce1e49c3d
 SHA512 
4ecebe3ed363c0ccc365df0b7ffbafdde7d8a3012feda4e9c4b54b77f4b73b46cac949070d0e7ddd2ec350c18eb54a11f6abd6cd40e476eed0f1ded18c99fc09

diff --git a/dev-python/sympy/sympy-1.11.ebuild 
b/dev-python/sympy/sympy-1.11.ebuild
new file mode 100644
index ..b75ed090fb89
--- /dev/null
+++ b/dev-python/sympy/sympy-1.11.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://www.sympy.org/;
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
+
+RDEPEND="
+   dev-python/mpmath[${PYTHON_USEDEP}]
+   dev-python/pexpect[${PYTHON_USEDEP}]
+   aesara? ( dev-python/aesara[${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}] )
+   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
+   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
+   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
+   texmacs? ( app-office/texmacs )
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   esetup.py test
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.md )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2022-04-10 Thread Michał Górny
commit: f7b755b21f9345aaa38a42c08ba9151378070baf
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 10 09:53:08 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 10 09:53:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7b755b2

dev-python/sympy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/Manifest  |  2 --
 dev-python/sympy/sympy-1.10.ebuild | 61 --
 dev-python/sympy/sympy-1.9.ebuild  | 61 --
 3 files changed, 124 deletions(-)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 7cc8aa86e92a..3de66a97f00f 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,3 +1 @@
 DIST sympy-1.10.1.tar.gz 781 BLAKE2B 
e522e71058ebc8bdf3c016e3067bae9138e9a9a15ea658cba1fd35a04ce58246b5c3d7ab9c231d7071ed20b588ecfaa9275f383825b511a40c9821eadb53dd44
 SHA512 
7b6d5718826951bb1e477a78c3de8b95b8edda103981ad03c9f0da125ad35d72d8e5b5716d478ac4f00810939f1dc35786cc2e0a6b75cffb098cc1be9d8f7168
-DIST sympy-1.10.tar.gz 7665598 BLAKE2B 
423c501cbdec9369b094156ec4c06c38e52daa0824f61fc2d57b0002473428c7b2df59156bd129c07ea57bb712577568b014b1b48ff0a1d1555ccf25d2fe01df
 SHA512 
0107c68b38809fbcec597339447fa830a9cb3c55863799c41dfb5d122ac7564fdf7c685fe2eedaaa3b8d5c9160b196ef2484fff4c7e99aa17a5a562f3fb73be5
-DIST sympy-1.9.tar.gz 7476018 BLAKE2B 
5ab9920bf6d16eaed3af30100e7593551a4dce29dc76605ccf87d55e8a7c14514b5733c9456353403cfc96008fd5d046ce04f44bb7e69f844d545bdd3e55e7e0
 SHA512 
139712219ba6bf420ba89b3f8d086ab8883c5ab965e9308ba9ee665ac3ac69a9b16fa30c6f5dfbc77dd34873ff3ff95c0d058954d7f9d853f5e9537efc24dd3c

diff --git a/dev-python/sympy/sympy-1.10.ebuild 
b/dev-python/sympy/sympy-1.10.ebuild
deleted file mode 100644
index 19863d7a5055..
--- a/dev-python/sympy/sympy-1.10.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="https://www.sympy.org/;
-SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
-IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
-
-RDEPEND="
-   dev-python/mpmath[${PYTHON_USEDEP}]
-   dev-python/pexpect[${PYTHON_USEDEP}]
-   aesara? ( dev-python/aesara[${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}] )
-   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
-   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
-   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
-   texmacs? ( app-office/texmacs )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   virtx esetup.py test
-}
-
-python_install_all() {
-   local DOCS=( AUTHORS README.md )
-
-   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.9.ebuild 
b/dev-python/sympy/sympy-1.9.ebuild
deleted file mode 100644
index 120cf3ea5c29..
--- a/dev-python/sympy/sympy-1.9.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="https://www.sympy.org/;
-SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
-IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
-
-RDEPEND="
-   dev-python/mpmath[${PYTHON_USEDEP}]
-   dev-python/pexpect[${PYTHON_USEDEP}]
-   aesara? ( dev-python/aesara[${PYTHON_USEDEP}] )
-   imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
-   ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
-   latex? (
-   virtual/latex-base
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2022-04-10 Thread Agostino Sarubbo
commit: 65d784a215b640153bb869499353031564f5b71e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Apr 10 09:04:19 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Apr 10 09:04:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65d784a2

dev-python/sympy: amd64/x86 stable (ALLARCHES policy) wrt bug #837467

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/sympy/sympy-1.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.10.1.ebuild 
b/dev-python/sympy/sympy-1.10.1.ebuild
index b75ed090fb89..5fb33c0e074e 100644
--- a/dev-python/sympy/sympy-1.10.1.ebuild
+++ b/dev-python/sympy/sympy-1.10.1.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
 IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2022-03-21 Thread Michał Górny
commit: b8d5e546c336d3ab2ab270e5a23759640ec219b9
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 21 08:16:35 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 21 08:54:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8d5e546

dev-python/sympy: Bump to 1.10.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/Manifest|  1 +
 dev-python/sympy/sympy-1.10.1.ebuild | 66 
 2 files changed, 67 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index ebf2fa7e42dc..7cc8aa86e92a 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1,3 @@
+DIST sympy-1.10.1.tar.gz 781 BLAKE2B 
e522e71058ebc8bdf3c016e3067bae9138e9a9a15ea658cba1fd35a04ce58246b5c3d7ab9c231d7071ed20b588ecfaa9275f383825b511a40c9821eadb53dd44
 SHA512 
7b6d5718826951bb1e477a78c3de8b95b8edda103981ad03c9f0da125ad35d72d8e5b5716d478ac4f00810939f1dc35786cc2e0a6b75cffb098cc1be9d8f7168
 DIST sympy-1.10.tar.gz 7665598 BLAKE2B 
423c501cbdec9369b094156ec4c06c38e52daa0824f61fc2d57b0002473428c7b2df59156bd129c07ea57bb712577568b014b1b48ff0a1d1555ccf25d2fe01df
 SHA512 
0107c68b38809fbcec597339447fa830a9cb3c55863799c41dfb5d122ac7564fdf7c685fe2eedaaa3b8d5c9160b196ef2484fff4c7e99aa17a5a562f3fb73be5
 DIST sympy-1.9.tar.gz 7476018 BLAKE2B 
5ab9920bf6d16eaed3af30100e7593551a4dce29dc76605ccf87d55e8a7c14514b5733c9456353403cfc96008fd5d046ce04f44bb7e69f844d545bdd3e55e7e0
 SHA512 
139712219ba6bf420ba89b3f8d086ab8883c5ab965e9308ba9ee665ac3ac69a9b16fa30c6f5dfbc77dd34873ff3ff95c0d058954d7f9d853f5e9537efc24dd3c

diff --git a/dev-python/sympy/sympy-1.10.1.ebuild 
b/dev-python/sympy/sympy-1.10.1.ebuild
new file mode 100644
index ..b75ed090fb89
--- /dev/null
+++ b/dev-python/sympy/sympy-1.10.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://www.sympy.org/;
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
+
+RDEPEND="
+   dev-python/mpmath[${PYTHON_USEDEP}]
+   dev-python/pexpect[${PYTHON_USEDEP}]
+   aesara? ( dev-python/aesara[${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}] )
+   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
+   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
+   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
+   texmacs? ( app-office/texmacs )
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   esetup.py test
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.md )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2022-03-06 Thread Sam James
commit: 6d4df70beac156a4cbb5a1f328406f547cfb8d4b
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  7 03:51:22 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  7 03:51:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d4df70b

dev-python/sympy: add 1.10

Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/Manifest  |  1 +
 dev-python/sympy/sympy-1.10.ebuild | 61 ++
 2 files changed, 62 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index f45377a0b2be..ebf2fa7e42dc 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1 +1,2 @@
+DIST sympy-1.10.tar.gz 7665598 BLAKE2B 
423c501cbdec9369b094156ec4c06c38e52daa0824f61fc2d57b0002473428c7b2df59156bd129c07ea57bb712577568b014b1b48ff0a1d1555ccf25d2fe01df
 SHA512 
0107c68b38809fbcec597339447fa830a9cb3c55863799c41dfb5d122ac7564fdf7c685fe2eedaaa3b8d5c9160b196ef2484fff4c7e99aa17a5a562f3fb73be5
 DIST sympy-1.9.tar.gz 7476018 BLAKE2B 
5ab9920bf6d16eaed3af30100e7593551a4dce29dc76605ccf87d55e8a7c14514b5733c9456353403cfc96008fd5d046ce04f44bb7e69f844d545bdd3e55e7e0
 SHA512 
139712219ba6bf420ba89b3f8d086ab8883c5ab965e9308ba9ee665ac3ac69a9b16fa30c6f5dfbc77dd34873ff3ff95c0d058954d7f9d853f5e9537efc24dd3c

diff --git a/dev-python/sympy/sympy-1.10.ebuild 
b/dev-python/sympy/sympy-1.10.ebuild
new file mode 100644
index ..19863d7a5055
--- /dev/null
+++ b/dev-python/sympy/sympy-1.10.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://www.sympy.org/;
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
+
+RDEPEND="
+   dev-python/mpmath[${PYTHON_USEDEP}]
+   dev-python/pexpect[${PYTHON_USEDEP}]
+   aesara? ( dev-python/aesara[${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}] )
+   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
+   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
+   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
+   texmacs? ( app-office/texmacs )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   virtx esetup.py test
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.md )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2021-12-30 Thread Michał Górny
commit: ec4957dde39994d3d895b1e5782b66873c48df91
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Dec 30 21:24:20 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Dec 30 21:24:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec4957dd

dev-python/sympy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/Manifest |  1 -
 dev-python/sympy/sympy-1.8.ebuild | 62 ---
 2 files changed, 63 deletions(-)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index f549c6299d54..f45377a0b2be 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1 @@
-DIST sympy-1.8.tar.gz 7167842 BLAKE2B 
878c6daf0584c9da54f82b9c68c62715792db428ab4ebfb355f0368c52edb254947d1ce1919e651279b767295ecb00a76b8cbbaa1fbe9c97915221c7403c3ded
 SHA512 
61141e1d0a6105e725fb415edbdf981b3aa95debcfe73f9da5ca36afc7a70e91b5c28ed45454054c1b9a8d45e42bfe724e5b20da717746c301fd095da17f4db7
 DIST sympy-1.9.tar.gz 7476018 BLAKE2B 
5ab9920bf6d16eaed3af30100e7593551a4dce29dc76605ccf87d55e8a7c14514b5733c9456353403cfc96008fd5d046ce04f44bb7e69f844d545bdd3e55e7e0
 SHA512 
139712219ba6bf420ba89b3f8d086ab8883c5ab965e9308ba9ee665ac3ac69a9b16fa30c6f5dfbc77dd34873ff3ff95c0d058954d7f9d853f5e9537efc24dd3c

diff --git a/dev-python/sympy/sympy-1.8.ebuild 
b/dev-python/sympy/sympy-1.8.ebuild
deleted file mode 100644
index 38f695685f20..
--- a/dev-python/sympy/sympy-1.8.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="https://www.sympy.org/;
-SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
-IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
-
-RDEPEND="
-   dev-python/mpmath[${PYTHON_USEDEP}]
-   dev-python/pexpect[${PYTHON_USEDEP}]
-   aesara? ( dev-python/aesara[${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}] )
-   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
-   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
-   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
-   texmacs? ( app-office/texmacs )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   virtx esetup.py test
-}
-
-python_install_all() {
-   local DOCS=( AUTHORS README.md )
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2021-12-30 Thread Arthur Zamarin
commit: deb03830353343335d731e395a8a37783e7f79e7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Dec 30 18:50:32 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Dec 30 18:50:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deb03830

dev-python/sympy: Stabilize 1.9 ALLARCHES, #830307

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/sympy/sympy-1.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.9.ebuild 
b/dev-python/sympy/sympy-1.9.ebuild
index 4524a6f67278..120cf3ea5c29 100644
--- a/dev-python/sympy/sympy-1.9.ebuild
+++ b/dev-python/sympy/sympy-1.9.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
 IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2021-12-15 Thread Andrew Ammerlaan
commit: 48f001dc485af942030e160b51f827e6e41733c5
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Dec 15 17:05:49 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Dec 15 17:11:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48f001dc

dev-python/sympy: enable py3.10

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/sympy/sympy-1.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.9.ebuild 
b/dev-python/sympy/sympy-1.9.ebuild
index 2c359581f8c4..4524a6f67278 100644
--- a/dev-python/sympy/sympy-1.9.ebuild
+++ b/dev-python/sympy/sympy-1.9.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1 virtualx
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2021-12-14 Thread Andrew Ammerlaan
commit: 79de1460e3f837feea228c3f68b7e776265ac8f8
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Dec 14 19:51:59 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Dec 14 19:52:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79de1460

dev-python/sympy: add version 1.9

need py3.10 on pyglet --> gst-python to add py3.10 here

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/sympy/Manifest |  1 +
 dev-python/sympy/sympy-1.9.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index eae3e3ac1e7c..f549c6299d54 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1 +1,2 @@
 DIST sympy-1.8.tar.gz 7167842 BLAKE2B 
878c6daf0584c9da54f82b9c68c62715792db428ab4ebfb355f0368c52edb254947d1ce1919e651279b767295ecb00a76b8cbbaa1fbe9c97915221c7403c3ded
 SHA512 
61141e1d0a6105e725fb415edbdf981b3aa95debcfe73f9da5ca36afc7a70e91b5c28ed45454054c1b9a8d45e42bfe724e5b20da717746c301fd095da17f4db7
+DIST sympy-1.9.tar.gz 7476018 BLAKE2B 
5ab9920bf6d16eaed3af30100e7593551a4dce29dc76605ccf87d55e8a7c14514b5733c9456353403cfc96008fd5d046ce04f44bb7e69f844d545bdd3e55e7e0
 SHA512 
139712219ba6bf420ba89b3f8d086ab8883c5ab965e9308ba9ee665ac3ac69a9b16fa30c6f5dfbc77dd34873ff3ff95c0d058954d7f9d853f5e9537efc24dd3c

diff --git a/dev-python/sympy/sympy-1.9.ebuild 
b/dev-python/sympy/sympy-1.9.ebuild
new file mode 100644
index ..2c359581f8c4
--- /dev/null
+++ b/dev-python/sympy/sympy-1.9.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://www.sympy.org/;
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
+
+RDEPEND="
+   dev-python/mpmath[${PYTHON_USEDEP}]
+   dev-python/pexpect[${PYTHON_USEDEP}]
+   aesara? ( dev-python/aesara[${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}] )
+   opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
+   pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
+   symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
+   texmacs? ( app-office/texmacs )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   virtx esetup.py test
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.md )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2021-11-21 Thread Yixun Lan
commit: 269f01682893834c6b023d4119da650a3bb9c22d
Author: Alex Fan  gmail  com>
AuthorDate: Fri Nov 19 09:27:35 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Nov 22 03:06:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=269f0168

dev-python/sympy: keyword 1.8 for ~riscv

Signed-off-by: Alex Fan  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-python/sympy/sympy-1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.8.ebuild 
b/dev-python/sympy/sympy-1.8.ebuild
index c80087efdcd6..38f695685f20 100644
--- a/dev-python/sympy/sympy-1.8.ebuild
+++ b/dev-python/sympy/sympy-1.8.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
 IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2021-10-26 Thread Jakov Smolić
commit: 703a1b760361fad1f5d69b68240e510d35039a0a
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Oct 26 10:33:36 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Oct 26 10:35:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=703a1b76

dev-python/sympy: Rename theano flag to aesara

We are already pulling in aesara with this flag, so let's rename it to
aesara now that theano is removed from the tree.

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/sympy/metadata.xml | 2 +-
 dev-python/sympy/sympy-1.8.ebuild | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/sympy/metadata.xml b/dev-python/sympy/metadata.xml
index 7d5eb213064..f2f24c36660 100644
--- a/dev-python/sympy/metadata.xml
+++ b/dev-python/sympy/metadata.xml
@@ -26,13 +26,13 @@
 
   
   
+Add support for dev-python/aesara
 Add support for dev-python/ipython
 Add support for dev-python/pillow
 Add support for mathml
 Use dev-python/pyglet for plots and print 
preview
 Add support for a dev-python/symengine 
backend
 Add app-office/texmacs interface   
-Add support for dev-python/theano
   
   
 sympy

diff --git a/dev-python/sympy/sympy-1.8.ebuild 
b/dev-python/sympy/sympy-1.8.ebuild
index 2502957ec45..c80087efdcd 100644
--- a/dev-python/sympy/sympy-1.8.ebuild
+++ b/dev-python/sympy/sympy-1.8.ebuild
@@ -16,11 +16,12 @@ S="${WORKDIR}/${PN}-${P}"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
+IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs"
 
 RDEPEND="
dev-python/mpmath[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
+   aesara? ( dev-python/aesara[${PYTHON_USEDEP}] )
imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
latex? (
@@ -34,7 +35,6 @@ RDEPEND="
pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
texmacs? ( app-office/texmacs )
-   theano? ( dev-python/aesara[${PYTHON_USEDEP}] )
 "
 
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2021-05-12 Thread Michał Górny
commit: 68c82ea6767a43dff644f699794a4db25275388c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 11 22:00:10 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 12 07:12:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68c82ea6

dev-python/sympy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/Manifest  |  1 -
 dev-python/sympy/sympy-1.7.1-r1.ebuild | 66 --
 2 files changed, 67 deletions(-)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index cecb7a28ce2..eae3e3ac1e7 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1 @@
-DIST sympy-1.7.1.tar.gz 6974183 BLAKE2B 
4bd8c9d60c46b05a7fc6c622667858fe17d25798756dbe967ce19abc8047263fe540f332e39418e877852c0565270377bd01fea7e65aa35ed4e03079bc130805
 SHA512 
eb9387bb9c632203af650279f896427556725b7496c00d8dfe97b7476beedbbee5714659f7fb44b4fa986c9567cdcaefcc19401d63e1ca0e9a6c7317855440ea
 DIST sympy-1.8.tar.gz 7167842 BLAKE2B 
878c6daf0584c9da54f82b9c68c62715792db428ab4ebfb355f0368c52edb254947d1ce1919e651279b767295ecb00a76b8cbbaa1fbe9c97915221c7403c3ded
 SHA512 
61141e1d0a6105e725fb415edbdf981b3aa95debcfe73f9da5ca36afc7a70e91b5c28ed45454054c1b9a8d45e42bfe724e5b20da717746c301fd095da17f4db7

diff --git a/dev-python/sympy/sympy-1.7.1-r1.ebuild 
b/dev-python/sympy/sympy-1.7.1-r1.ebuild
deleted file mode 100644
index bb21c256935..000
--- a/dev-python/sympy/sympy-1.7.1-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="https://www.sympy.org/;
-SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-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}] )
-   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-pymc[${PYTHON_USEDEP}] 
dev-python/theano[${PYTHON_USEDEP}] ) )
-"
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   "${EPYTHON}" setup.py test || die "Tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
-   local DOCS=( AUTHORS README.md )
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2021-05-11 Thread Agostino Sarubbo
commit: d8572b80ecaeb04abbec45656902962d6adee575
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue May 11 10:02:09 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue May 11 10:02:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8572b80

dev-python/sympy: amd64/x86 stable (ALLARCHES policy) wrt bug #789297

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/sympy/sympy-1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.8.ebuild 
b/dev-python/sympy/sympy-1.8.ebuild
index 727e2d95fbc..2502957ec45 100644
--- a/dev-python/sympy/sympy-1.8.ebuild
+++ b/dev-python/sympy/sympy-1.8.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2021-04-10 Thread Michał Górny
commit: 19e847cb3c2723d1ea1317102045b97254ef953e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 10 06:48:58 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 10 12:02:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19e847cb

dev-python/sympy: Add python@ as co-maint.

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/sympy/metadata.xml b/dev-python/sympy/metadata.xml
index f1df7f4f918..fb045e709cd 100644
--- a/dev-python/sympy/metadata.xml
+++ b/dev-python/sympy/metadata.xml
@@ -13,6 +13,10 @@
 sci-mathemat...@gentoo.org
 Gentoo Mathematics Project
   
+  
+pyt...@gentoo.org
+Python
+  
   
  SymPy is a Python library for symbolic mathematics (manipulation). It
  aims to become a full-featured computer algebra system (CAS) while keeping



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2021-04-10 Thread Michał Górny
commit: 3e6dee20d012ba79c2396a0cbc06068fd8d2cb55
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 10 06:48:31 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 10 12:02:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e6dee20

dev-python/sympy: Bump to 1.8

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/Manifest |  1 +
 dev-python/sympy/sympy-1.8.ebuild | 62 +++
 2 files changed, 63 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 01265920025..cecb7a28ce2 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1 +1,2 @@
 DIST sympy-1.7.1.tar.gz 6974183 BLAKE2B 
4bd8c9d60c46b05a7fc6c622667858fe17d25798756dbe967ce19abc8047263fe540f332e39418e877852c0565270377bd01fea7e65aa35ed4e03079bc130805
 SHA512 
eb9387bb9c632203af650279f896427556725b7496c00d8dfe97b7476beedbbee5714659f7fb44b4fa986c9567cdcaefcc19401d63e1ca0e9a6c7317855440ea
+DIST sympy-1.8.tar.gz 7167842 BLAKE2B 
878c6daf0584c9da54f82b9c68c62715792db428ab4ebfb355f0368c52edb254947d1ce1919e651279b767295ecb00a76b8cbbaa1fbe9c97915221c7403c3ded
 SHA512 
61141e1d0a6105e725fb415edbdf981b3aa95debcfe73f9da5ca36afc7a70e91b5c28ed45454054c1b9a8d45e42bfe724e5b20da717746c301fd095da17f4db7

diff --git a/dev-python/sympy/sympy-1.8.ebuild 
b/dev-python/sympy/sympy-1.8.ebuild
new file mode 100644
index 000..727e2d95fbc
--- /dev/null
+++ b/dev-python/sympy/sympy-1.8.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://www.sympy.org/;
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
+
+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}] )
+   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/aesara[${PYTHON_USEDEP}] )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   virtx esetup.py test
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.md )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2021-01-26 Thread Sam James
commit: 5ddbebd6166839690c9199efe9e2848dd10fd316
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 26 15:22:02 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 26 15:49:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ddbebd6

dev-python/sympy: cleanup old

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/Manifest   |  1 -
 dev-python/sympy/sympy-1.6.2.ebuild | 65 -
 2 files changed, 66 deletions(-)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 7a8476d16bf..01265920025 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1 @@
-DIST sympy-1.6.2.tar.gz 6811705 BLAKE2B 
4cd894d28bedc986acc8ef67aa60f82e0899c2ed028658a8f340d7538b890e0ed380b3614a464eb58d71873b29b0795508b4556bb8115bf0c108336ef1e4cca3
 SHA512 
e16a1d85aba438e4248bac48a163ea1827e2cee57c28f7670ed19cc69d4c08d6796d62f79d245e269d75765b8f7ff4f4ca2841f98534e136ceeb5d3f7a5d252a
 DIST sympy-1.7.1.tar.gz 6974183 BLAKE2B 
4bd8c9d60c46b05a7fc6c622667858fe17d25798756dbe967ce19abc8047263fe540f332e39418e877852c0565270377bd01fea7e65aa35ed4e03079bc130805
 SHA512 
eb9387bb9c632203af650279f896427556725b7496c00d8dfe97b7476beedbbee5714659f7fb44b4fa986c9567cdcaefcc19401d63e1ca0e9a6c7317855440ea

diff --git a/dev-python/sympy/sympy-1.6.2.ebuild 
b/dev-python/sympy/sympy-1.6.2.ebuild
deleted file mode 100644
index e389acdbe48..000
--- a/dev-python/sympy/sympy-1.6.2.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit distutils-r1 eutils virtualx
-
-DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="https://sympy.org;
-SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-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}] )
-   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}] )
-"
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   "${EPYTHON}" setup.py test || die "Tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
-   local DOCS=( AUTHORS README.md )
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2021-01-26 Thread Sam James
commit: 7fea361b05ebfec9b640822c6e99ca2fbc8c58a4
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 26 15:19:05 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 26 15:19:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fea361b

dev-python/sympy: Stabilize 1.7.1-r1 ALLARCHES, #766776

Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/sympy-1.7.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.7.1-r1.ebuild 
b/dev-python/sympy/sympy-1.7.1-r1.ebuild
index 6d8ec81ca1c..bb21c256935 100644
--- a/dev-python/sympy/sympy-1.7.1-r1.ebuild
+++ b/dev-python/sympy/sympy-1.7.1-r1.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2021-01-06 Thread Fabian Groffen
commit: 8c2f7fa1f3193c67afce25a6e3c72940d097a09c
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 22:26:35 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 22:26:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c2f7fa1

dev-python/sympy: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 dev-python/sympy/sympy-1.6.2.ebuild| 4 ++--
 dev-python/sympy/sympy-1.7.1-r1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/sympy/sympy-1.6.2.ebuild 
b/dev-python/sympy/sympy-1.6.2.ebuild
index 33075c322d1..e389acdbe48 100644
--- a/dev-python/sympy/sympy-1.6.2.ebuild
+++ b/dev-python/sympy/sympy-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
+KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"

diff --git a/dev-python/sympy/sympy-1.7.1-r1.ebuild 
b/dev-python/sympy/sympy-1.7.1-r1.ebuild
index f41b65b6391..6d8ec81ca1c 100644
--- a/dev-python/sympy/sympy-1.7.1-r1.ebuild
+++ b/dev-python/sympy/sympy-1.7.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
 IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-12-24 Thread Sam James
commit: c5031689e747b9055f68df70b30beac2d50d36a0
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 24 02:00:45 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 24 02:01:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5031689

dev-python/sympy: support dev-python/theano-pymc

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/{sympy-1.7.1.ebuild => sympy-1.7.1-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.7.1.ebuild 
b/dev-python/sympy/sympy-1.7.1-r1.ebuild
similarity index 94%
rename from dev-python/sympy/sympy-1.7.1.ebuild
rename to dev-python/sympy/sympy-1.7.1-r1.ebuild
index af43ce9279e..f41b65b6391 100644
--- a/dev-python/sympy/sympy-1.7.1.ebuild
+++ b/dev-python/sympy/sympy-1.7.1-r1.ebuild
@@ -36,7 +36,7 @@ RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] )
symengine? ( dev-python/symengine[${PYTHON_USEDEP}] )
texmacs? ( app-office/texmacs )
-   theano? ( dev-python/theano[${PYTHON_USEDEP}] )
+   theano? ( || ( dev-python/theano-pymc[${PYTHON_USEDEP}] 
dev-python/theano[${PYTHON_USEDEP}] ) )
 "
 
 src_test() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-12-19 Thread Sam James
commit: 7b654dd5b43740deb47abddd2260b29d40517518
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 20 06:24:22 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 20 06:24:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b654dd5

dev-python/sympy: cleanup old

Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/Manifest |  1 -
 dev-python/sympy/sympy-1.7.ebuild | 66 ---
 2 files changed, 67 deletions(-)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 3beb69c6899..7a8476d16bf 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,3 +1,2 @@
 DIST sympy-1.6.2.tar.gz 6811705 BLAKE2B 
4cd894d28bedc986acc8ef67aa60f82e0899c2ed028658a8f340d7538b890e0ed380b3614a464eb58d71873b29b0795508b4556bb8115bf0c108336ef1e4cca3
 SHA512 
e16a1d85aba438e4248bac48a163ea1827e2cee57c28f7670ed19cc69d4c08d6796d62f79d245e269d75765b8f7ff4f4ca2841f98534e136ceeb5d3f7a5d252a
 DIST sympy-1.7.1.tar.gz 6974183 BLAKE2B 
4bd8c9d60c46b05a7fc6c622667858fe17d25798756dbe967ce19abc8047263fe540f332e39418e877852c0565270377bd01fea7e65aa35ed4e03079bc130805
 SHA512 
eb9387bb9c632203af650279f896427556725b7496c00d8dfe97b7476beedbbee5714659f7fb44b4fa986c9567cdcaefcc19401d63e1ca0e9a6c7317855440ea
-DIST sympy-1.7.tar.gz 6969594 BLAKE2B 
c4ebd395e50f589dba2d01bf50a1a9cd7fb34e95e2b8632a64df5fe1a6625889c4e161b8a22aa815857cc3eb0d502f03ec8d9de694f369aaca7e573a2fab03ee
 SHA512 
f7bdaff7432436dc888e56d4b56d023c8da5cfb54dfa6955cf7999acceedfd5175f910fb9b3c5776145f3dc3036f78e66813cdba4201be854dfa2c5c9f4e9f4d

diff --git a/dev-python/sympy/sympy-1.7.ebuild 
b/dev-python/sympy/sympy-1.7.ebuild
deleted file mode 100644
index fd39817141d..000
--- a/dev-python/sympy/sympy-1.7.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="https://sympy.org;
-SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos"
-IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-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}] )
-   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}] )
-"
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   "${EPYTHON}" setup.py test || die "Tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
-   local DOCS=( AUTHORS README.md )
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-12-13 Thread Michał Górny
commit: bf4a283abc359629bc2837e6d1786df193d9f2ea
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 13 07:58:39 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 13 12:12:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf4a283a

dev-python/sympy: Bump to 1.7.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/Manifest   |  1 +
 dev-python/sympy/sympy-1.7.1.ebuild | 66 +
 2 files changed, 67 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 7b13eac266d..3beb69c6899 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1,3 @@
 DIST sympy-1.6.2.tar.gz 6811705 BLAKE2B 
4cd894d28bedc986acc8ef67aa60f82e0899c2ed028658a8f340d7538b890e0ed380b3614a464eb58d71873b29b0795508b4556bb8115bf0c108336ef1e4cca3
 SHA512 
e16a1d85aba438e4248bac48a163ea1827e2cee57c28f7670ed19cc69d4c08d6796d62f79d245e269d75765b8f7ff4f4ca2841f98534e136ceeb5d3f7a5d252a
+DIST sympy-1.7.1.tar.gz 6974183 BLAKE2B 
4bd8c9d60c46b05a7fc6c622667858fe17d25798756dbe967ce19abc8047263fe540f332e39418e877852c0565270377bd01fea7e65aa35ed4e03079bc130805
 SHA512 
eb9387bb9c632203af650279f896427556725b7496c00d8dfe97b7476beedbbee5714659f7fb44b4fa986c9567cdcaefcc19401d63e1ca0e9a6c7317855440ea
 DIST sympy-1.7.tar.gz 6969594 BLAKE2B 
c4ebd395e50f589dba2d01bf50a1a9cd7fb34e95e2b8632a64df5fe1a6625889c4e161b8a22aa815857cc3eb0d502f03ec8d9de694f369aaca7e573a2fab03ee
 SHA512 
f7bdaff7432436dc888e56d4b56d023c8da5cfb54dfa6955cf7999acceedfd5175f910fb9b3c5776145f3dc3036f78e66813cdba4201be854dfa2c5c9f4e9f4d

diff --git a/dev-python/sympy/sympy-1.7.1.ebuild 
b/dev-python/sympy/sympy-1.7.1.ebuild
new file mode 100644
index 000..af43ce9279e
--- /dev/null
+++ b/dev-python/sympy/sympy-1.7.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://www.sympy.org/;
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos"
+IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+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}] )
+   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}] )
+"
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   "${EPYTHON}" setup.py test || die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.md )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-12-12 Thread Sam James
commit: af9de92b8d9d11a83bea583f1d644d763c37ad0e
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 12 23:47:09 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 12 23:56:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af9de92b

dev-python/sympy: drop rc

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/Manifest |  1 -
 dev-python/sympy/sympy-1.7_rc1.ebuild | 66 ---
 2 files changed, 67 deletions(-)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index aeec1a4ad9a..7b13eac266d 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,3 +1,2 @@
 DIST sympy-1.6.2.tar.gz 6811705 BLAKE2B 
4cd894d28bedc986acc8ef67aa60f82e0899c2ed028658a8f340d7538b890e0ed380b3614a464eb58d71873b29b0795508b4556bb8115bf0c108336ef1e4cca3
 SHA512 
e16a1d85aba438e4248bac48a163ea1827e2cee57c28f7670ed19cc69d4c08d6796d62f79d245e269d75765b8f7ff4f4ca2841f98534e136ceeb5d3f7a5d252a
 DIST sympy-1.7.tar.gz 6969594 BLAKE2B 
c4ebd395e50f589dba2d01bf50a1a9cd7fb34e95e2b8632a64df5fe1a6625889c4e161b8a22aa815857cc3eb0d502f03ec8d9de694f369aaca7e573a2fab03ee
 SHA512 
f7bdaff7432436dc888e56d4b56d023c8da5cfb54dfa6955cf7999acceedfd5175f910fb9b3c5776145f3dc3036f78e66813cdba4201be854dfa2c5c9f4e9f4d
-DIST sympy-1.7rc1.tar.gz 6969788 BLAKE2B 
d7429aa6fde9943926cc14d77fe71e94b50e2329e56854d6e59ab6d2a09f659458d6baf18f36ed0b33e5add5fb0e38064730e4603e86f8edb8106683ff8063ab
 SHA512 
7ffa8254ceeb0cd68c03503aa7ac662f2f8fe07aec0d3e6dc0afdca4e14b674e6b9db2feea79f272b9fae398d7c9edf49ac235526b5949262ca6ea8e412b9029

diff --git a/dev-python/sympy/sympy-1.7_rc1.ebuild 
b/dev-python/sympy/sympy-1.7_rc1.ebuild
deleted file mode 100644
index a6d4c8f25b0..000
--- a/dev-python/sympy/sympy-1.7_rc1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="https://sympy.org;
-SRC_URI="https://github.com/sympy/sympy/archive/${P/_/}.tar.gz;
-S="${WORKDIR}/${PN}-${P/_/}"
-
-LICENSE="BSD"
-SLOT="0"
-#KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos"
-IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-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}] )
-   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}] )
-"
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   "${EPYTHON}" setup.py test || die "Tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
-   local DOCS=( AUTHORS README.md )
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-11-29 Thread Michał Górny
commit: 405a8c81c021418a7e691a67c02f3af472caadac
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 29 14:25:37 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 29 19:37:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=405a8c81

dev-python/sympy: Bump to 1.7

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/Manifest |  1 +
 dev-python/sympy/sympy-1.7.ebuild | 66 +++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 6b9a378ad3e..aeec1a4ad9a 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1,3 @@
 DIST sympy-1.6.2.tar.gz 6811705 BLAKE2B 
4cd894d28bedc986acc8ef67aa60f82e0899c2ed028658a8f340d7538b890e0ed380b3614a464eb58d71873b29b0795508b4556bb8115bf0c108336ef1e4cca3
 SHA512 
e16a1d85aba438e4248bac48a163ea1827e2cee57c28f7670ed19cc69d4c08d6796d62f79d245e269d75765b8f7ff4f4ca2841f98534e136ceeb5d3f7a5d252a
+DIST sympy-1.7.tar.gz 6969594 BLAKE2B 
c4ebd395e50f589dba2d01bf50a1a9cd7fb34e95e2b8632a64df5fe1a6625889c4e161b8a22aa815857cc3eb0d502f03ec8d9de694f369aaca7e573a2fab03ee
 SHA512 
f7bdaff7432436dc888e56d4b56d023c8da5cfb54dfa6955cf7999acceedfd5175f910fb9b3c5776145f3dc3036f78e66813cdba4201be854dfa2c5c9f4e9f4d
 DIST sympy-1.7rc1.tar.gz 6969788 BLAKE2B 
d7429aa6fde9943926cc14d77fe71e94b50e2329e56854d6e59ab6d2a09f659458d6baf18f36ed0b33e5add5fb0e38064730e4603e86f8edb8106683ff8063ab
 SHA512 
7ffa8254ceeb0cd68c03503aa7ac662f2f8fe07aec0d3e6dc0afdca4e14b674e6b9db2feea79f272b9fae398d7c9edf49ac235526b5949262ca6ea8e412b9029

diff --git a/dev-python/sympy/sympy-1.7.ebuild 
b/dev-python/sympy/sympy-1.7.ebuild
new file mode 100644
index 000..fd39817141d
--- /dev/null
+++ b/dev-python/sympy/sympy-1.7.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://sympy.org;
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos"
+IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+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}] )
+   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}] )
+"
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   "${EPYTHON}" setup.py test || die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.md )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-11-24 Thread Sam James
commit: 184cc973fbf6d76c5c0912d55eff9aed5da52048
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 24 12:39:11 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 24 14:36:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=184cc973

dev-python/sympy: bump to 1.7_rc1

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/Manifest |  1 +
 dev-python/sympy/sympy-1.7_rc1.ebuild | 66 +++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index a334805622d..6b9a378ad3e 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1 +1,2 @@
 DIST sympy-1.6.2.tar.gz 6811705 BLAKE2B 
4cd894d28bedc986acc8ef67aa60f82e0899c2ed028658a8f340d7538b890e0ed380b3614a464eb58d71873b29b0795508b4556bb8115bf0c108336ef1e4cca3
 SHA512 
e16a1d85aba438e4248bac48a163ea1827e2cee57c28f7670ed19cc69d4c08d6796d62f79d245e269d75765b8f7ff4f4ca2841f98534e136ceeb5d3f7a5d252a
+DIST sympy-1.7rc1.tar.gz 6969788 BLAKE2B 
d7429aa6fde9943926cc14d77fe71e94b50e2329e56854d6e59ab6d2a09f659458d6baf18f36ed0b33e5add5fb0e38064730e4603e86f8edb8106683ff8063ab
 SHA512 
7ffa8254ceeb0cd68c03503aa7ac662f2f8fe07aec0d3e6dc0afdca4e14b674e6b9db2feea79f272b9fae398d7c9edf49ac235526b5949262ca6ea8e412b9029

diff --git a/dev-python/sympy/sympy-1.7_rc1.ebuild 
b/dev-python/sympy/sympy-1.7_rc1.ebuild
new file mode 100644
index 000..a6d4c8f25b0
--- /dev/null
+++ b/dev-python/sympy/sympy-1.7_rc1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://sympy.org;
+SRC_URI="https://github.com/sympy/sympy/archive/${P/_/}.tar.gz;
+S="${WORKDIR}/${PN}-${P/_/}"
+
+LICENSE="BSD"
+SLOT="0"
+#KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos"
+IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+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}] )
+   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}] )
+"
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   "${EPYTHON}" setup.py test || die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.md )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-11-24 Thread Sam James
commit: 58adb6f5da6ee2d1318ecb57da9fb29c0adc24d0
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 24 12:39:51 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 24 14:36:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58adb6f5

dev-python/sympy: join as co-maintainer

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/sympy/metadata.xml b/dev-python/sympy/metadata.xml
index 317caf04d5f..f1df7f4f918 100644
--- a/dev-python/sympy/metadata.xml
+++ b/dev-python/sympy/metadata.xml
@@ -5,6 +5,10 @@
 gro...@gentoo.org
 Andrey Grozin
   
+  
+s...@gentoo.org
+Sam James
+  
   
 sci-mathemat...@gentoo.org
 Gentoo Mathematics Project



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-10-27 Thread Sam James
commit: 28331fd5af507667eadba3eaf102842c33af5e40
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 27 19:55:23 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 27 19:55:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28331fd5

dev-python/sympy: Keyword 1.6.2 arm64, #749927

Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/sympy-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.6.2.ebuild 
b/dev-python/sympy/sympy-1.6.2.ebuild
index c35592a025c..33075c322d1 100644
--- a/dev-python/sympy/sympy-1.6.2.ebuild
+++ b/dev-python/sympy/sympy-1.6.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
+KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
 IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-10-26 Thread Sam James
commit: d8fa3a4aaf194b95a9bc3371385849677149216d
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 27 05:08:10 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 27 05:08:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8fa3a4a

dev-python/sympy: Keyword 1.6.2 arm, #749927

Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/sympy-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.6.2.ebuild 
b/dev-python/sympy/sympy-1.6.2.ebuild
index e08f3345f36..c35592a025c 100644
--- a/dev-python/sympy/sympy-1.6.2.ebuild
+++ b/dev-python/sympy/sympy-1.6.2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
 IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-09-18 Thread Michał Górny
commit: b07d33dd8d05a786e4ffad371f824fba1b5a4c35
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Sep 18 15:47:39 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Sep 18 15:53:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b07d33dd

dev-python/sympy: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/Manifest   |  1 -
 dev-python/sympy/sympy-1.6.1.ebuild | 65 -
 2 files changed, 66 deletions(-)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index c69fce3ec46..a334805622d 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1 @@
-DIST sympy-1.6.1.tar.gz 6811393 BLAKE2B 
cd19946fc726b5a74f9ff0af07f07f8f76ea28b20818653d785848e331c126d634d8167e3506d8b87c12ed057df4a59551f0a0214b7d1292e199c6a3353f70be
 SHA512 
95630b6fad1e41f2d58d1f4f4433ef76d4553f3e119bfdd36048c5880ac7f07d572e901eaae0b5c6208f598989a86ab5e03932a851f8048c584154973be6982c
 DIST sympy-1.6.2.tar.gz 6811705 BLAKE2B 
4cd894d28bedc986acc8ef67aa60f82e0899c2ed028658a8f340d7538b890e0ed380b3614a464eb58d71873b29b0795508b4556bb8115bf0c108336ef1e4cca3
 SHA512 
e16a1d85aba438e4248bac48a163ea1827e2cee57c28f7670ed19cc69d4c08d6796d62f79d245e269d75765b8f7ff4f4ca2841f98534e136ceeb5d3f7a5d252a

diff --git a/dev-python/sympy/sympy-1.6.1.ebuild 
b/dev-python/sympy/sympy-1.6.1.ebuild
deleted file mode 100644
index cf99ff7b3c6..000
--- a/dev-python/sympy/sympy-1.6.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8,9} )
-
-inherit distutils-r1 eutils virtualx
-
-DESCRIPTION="Computer Algebra System in pure Python"
-HOMEPAGE="https://sympy.org;
-SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
-S="${WORKDIR}/${PN}-${P}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-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}] )
-   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}] )
-"
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   "${EPYTHON}" setup.py test || die "Tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
-   local DOCS=( AUTHORS README.md )
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-09-16 Thread Michał Górny
commit: 0fb1e002b30eb582a53ed21727ce21a957f14c5d
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep 16 07:11:31 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep 16 07:13:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fb1e002

dev-python/sympy: Mark ALLARCHES

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/sympy/metadata.xml b/dev-python/sympy/metadata.xml
index 4a6d0ef3980..317caf04d5f 100644
--- a/dev-python/sympy/metadata.xml
+++ b/dev-python/sympy/metadata.xml
@@ -16,6 +16,7 @@
  extensible. SymPy is written entirely in Python and does not require
  any external libraries, except optionally for plotting support.
 
+  
   
 Add support for dev-python/ipython
 Add support for dev-python/pillow



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-08-31 Thread Sam James
commit: c68b706f9e1e017189c649057ad4081d7029a84a
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 31 15:35:28 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 31 15:35:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c68b706f

dev-python/sympy: restore Python 3.6

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/sympy-1.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.6.1.ebuild 
b/dev-python/sympy/sympy-1.6.1.ebuild
index e08f3345f36..cf99ff7b3c6 100644
--- a/dev-python/sympy/sympy-1.6.1.ebuild
+++ b/dev-python/sympy/sympy-1.6.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 
 inherit distutils-r1 eutils virtualx
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-08-31 Thread Sam James
commit: d00923053ed81dcf2acd3ee6245e74222ce542bb
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 31 14:14:08 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 31 14:14:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0092305

dev-python/sympy: cleanup old

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/Manifest  |  1 -
 dev-python/sympy/sympy-1.5.1-r1.ebuild | 66 --
 2 files changed, 67 deletions(-)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index ef247c746c8..c69fce3ec46 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,3 +1,2 @@
-DIST sympy-1.5.1.tar.gz 6815997 BLAKE2B 
bc74d01fdf2ccea6b83a06c11f810e3d105e9d35b397c8b87a1bcc4e316d00c456f576baf57d1b4a6175e056dec58f05fbb05893519775ffa252ac018452d2ff
 SHA512 
3c4220243d2cbcff9eedb2a7986431b5b4d7d0007c78208a60b21830c9a3528d2171086874c42205c1227f779e44c19b9562943e2935d329bc352e7ea85396c7
 DIST sympy-1.6.1.tar.gz 6811393 BLAKE2B 
cd19946fc726b5a74f9ff0af07f07f8f76ea28b20818653d785848e331c126d634d8167e3506d8b87c12ed057df4a59551f0a0214b7d1292e199c6a3353f70be
 SHA512 
95630b6fad1e41f2d58d1f4f4433ef76d4553f3e119bfdd36048c5880ac7f07d572e901eaae0b5c6208f598989a86ab5e03932a851f8048c584154973be6982c
 DIST sympy-1.6.2.tar.gz 6811705 BLAKE2B 
4cd894d28bedc986acc8ef67aa60f82e0899c2ed028658a8f340d7538b890e0ed380b3614a464eb58d71873b29b0795508b4556bb8115bf0c108336ef1e4cca3
 SHA512 
e16a1d85aba438e4248bac48a163ea1827e2cee57c28f7670ed19cc69d4c08d6796d62f79d245e269d75765b8f7ff4f4ca2841f98534e136ceeb5d3f7a5d252a

diff --git a/dev-python/sympy/sympy-1.5.1-r1.ebuild 
b/dev-python/sympy/sympy-1.5.1-r1.ebuild
deleted file mode 100644
index f5455d9408f..000
--- a/dev-python/sympy/sympy-1.5.1-r1.ebuild
+++ /dev/null
@@ -1,66 +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 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}] )
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-08-31 Thread Sam James
commit: b7e2771a59def62a3db13a040eb1c49876611746
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 31 13:47:54 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 31 13:49:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7e2771a

dev-python/sympy: Stabilize 1.6.1 amd64, #737524

Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/sympy-1.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.6.1.ebuild 
b/dev-python/sympy/sympy-1.6.1.ebuild
index 9621d01bb7d..e08f3345f36 100644
--- a/dev-python/sympy/sympy-1.6.1.ebuild
+++ b/dev-python/sympy/sympy-1.6.1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-08-30 Thread Sam James
commit: d821d777a6e75e4213ddd3bbe2fd227c52e2ad2e
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 30 23:17:03 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 30 23:17:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d821d777

dev-python/sympy: Stabilize 1.6.1 x86, #737524

Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/sympy-1.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.6.1.ebuild 
b/dev-python/sympy/sympy-1.6.1.ebuild
index adb5f1ab365..9621d01bb7d 100644
--- a/dev-python/sympy/sympy-1.6.1.ebuild
+++ b/dev-python/sympy/sympy-1.6.1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-08-22 Thread Michał Górny
commit: 1d32952d3d37ca4e97555abd9e8b8bed01067802
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 22 08:08:40 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 22 08:08:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d32952d

dev-python/sympy: Revert "Remove redundant versions"

Reverts: 6c22380c85728555b1ee04d1012a578b1ab09b45
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/Manifest   |  1 +
 dev-python/sympy/sympy-1.6.1.ebuild | 65 +
 2 files changed, 66 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index bce5e819c31..ef247c746c8 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1,3 @@
 DIST sympy-1.5.1.tar.gz 6815997 BLAKE2B 
bc74d01fdf2ccea6b83a06c11f810e3d105e9d35b397c8b87a1bcc4e316d00c456f576baf57d1b4a6175e056dec58f05fbb05893519775ffa252ac018452d2ff
 SHA512 
3c4220243d2cbcff9eedb2a7986431b5b4d7d0007c78208a60b21830c9a3528d2171086874c42205c1227f779e44c19b9562943e2935d329bc352e7ea85396c7
+DIST sympy-1.6.1.tar.gz 6811393 BLAKE2B 
cd19946fc726b5a74f9ff0af07f07f8f76ea28b20818653d785848e331c126d634d8167e3506d8b87c12ed057df4a59551f0a0214b7d1292e199c6a3353f70be
 SHA512 
95630b6fad1e41f2d58d1f4f4433ef76d4553f3e119bfdd36048c5880ac7f07d572e901eaae0b5c6208f598989a86ab5e03932a851f8048c584154973be6982c
 DIST sympy-1.6.2.tar.gz 6811705 BLAKE2B 
4cd894d28bedc986acc8ef67aa60f82e0899c2ed028658a8f340d7538b890e0ed380b3614a464eb58d71873b29b0795508b4556bb8115bf0c108336ef1e4cca3
 SHA512 
e16a1d85aba438e4248bac48a163ea1827e2cee57c28f7670ed19cc69d4c08d6796d62f79d245e269d75765b8f7ff4f4ca2841f98534e136ceeb5d3f7a5d252a

diff --git a/dev-python/sympy/sympy-1.6.1.ebuild 
b/dev-python/sympy/sympy-1.6.1.ebuild
new file mode 100644
index 000..adb5f1ab365
--- /dev/null
+++ b/dev-python/sympy/sympy-1.6.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1 eutils virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://sympy.org;
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+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}] )
+   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}] )
+"
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   "${EPYTHON}" setup.py test || die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.md )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-08-11 Thread Michał Górny
commit: 6061849087b662f6df75e48337e3c28bd2380d24
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 11 09:41:05 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 11 13:43:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60618490

dev-python/sympy: Bump to 1.6.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/Manifest   |  1 +
 dev-python/sympy/sympy-1.6.2.ebuild | 65 +
 2 files changed, 66 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index ed15a2352fd..ef247c746c8 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1,3 @@
 DIST sympy-1.5.1.tar.gz 6815997 BLAKE2B 
bc74d01fdf2ccea6b83a06c11f810e3d105e9d35b397c8b87a1bcc4e316d00c456f576baf57d1b4a6175e056dec58f05fbb05893519775ffa252ac018452d2ff
 SHA512 
3c4220243d2cbcff9eedb2a7986431b5b4d7d0007c78208a60b21830c9a3528d2171086874c42205c1227f779e44c19b9562943e2935d329bc352e7ea85396c7
 DIST sympy-1.6.1.tar.gz 6811393 BLAKE2B 
cd19946fc726b5a74f9ff0af07f07f8f76ea28b20818653d785848e331c126d634d8167e3506d8b87c12ed057df4a59551f0a0214b7d1292e199c6a3353f70be
 SHA512 
95630b6fad1e41f2d58d1f4f4433ef76d4553f3e119bfdd36048c5880ac7f07d572e901eaae0b5c6208f598989a86ab5e03932a851f8048c584154973be6982c
+DIST sympy-1.6.2.tar.gz 6811705 BLAKE2B 
4cd894d28bedc986acc8ef67aa60f82e0899c2ed028658a8f340d7538b890e0ed380b3614a464eb58d71873b29b0795508b4556bb8115bf0c108336ef1e4cca3
 SHA512 
e16a1d85aba438e4248bac48a163ea1827e2cee57c28f7670ed19cc69d4c08d6796d62f79d245e269d75765b8f7ff4f4ca2841f98534e136ceeb5d3f7a5d252a

diff --git a/dev-python/sympy/sympy-1.6.2.ebuild 
b/dev-python/sympy/sympy-1.6.2.ebuild
new file mode 100644
index 000..adb5f1ab365
--- /dev/null
+++ b/dev-python/sympy/sympy-1.6.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1 eutils virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://sympy.org;
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+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}] )
+   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}] )
+"
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   "${EPYTHON}" setup.py test || die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.md )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-08-02 Thread Sam James
commit: 40eae544d0639e2a9a208d590bd0b93ce1ab65a9
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug  2 18:58:52 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug  2 18:58:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40eae544

dev-python/sympy: bump to 1.6.1

* Bump to 1.6.1
* Add Python 3.8, 3.9
* Unrestrict tests (all pass here)

Closes: https://bugs.gentoo.org/722546
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-python/sympy/Manifest   |  1 +
 dev-python/sympy/sympy-1.6.1.ebuild | 65 +
 2 files changed, 66 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index b8791fc94ef..ed15a2352fd 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1 +1,2 @@
 DIST sympy-1.5.1.tar.gz 6815997 BLAKE2B 
bc74d01fdf2ccea6b83a06c11f810e3d105e9d35b397c8b87a1bcc4e316d00c456f576baf57d1b4a6175e056dec58f05fbb05893519775ffa252ac018452d2ff
 SHA512 
3c4220243d2cbcff9eedb2a7986431b5b4d7d0007c78208a60b21830c9a3528d2171086874c42205c1227f779e44c19b9562943e2935d329bc352e7ea85396c7
+DIST sympy-1.6.1.tar.gz 6811393 BLAKE2B 
cd19946fc726b5a74f9ff0af07f07f8f76ea28b20818653d785848e331c126d634d8167e3506d8b87c12ed057df4a59551f0a0214b7d1292e199c6a3353f70be
 SHA512 
95630b6fad1e41f2d58d1f4f4433ef76d4553f3e119bfdd36048c5880ac7f07d572e901eaae0b5c6208f598989a86ab5e03932a851f8048c584154973be6982c

diff --git a/dev-python/sympy/sympy-1.6.1.ebuild 
b/dev-python/sympy/sympy-1.6.1.ebuild
new file mode 100644
index 000..adb5f1ab365
--- /dev/null
+++ b/dev-python/sympy/sympy-1.6.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1 eutils virtualx
+
+DESCRIPTION="Computer Algebra System in pure Python"
+HOMEPAGE="https://sympy.org;
+SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz;
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+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}] )
+   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}] )
+"
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   "${EPYTHON}" setup.py test || die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.md )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-03-22 Thread Agostino Sarubbo
commit: 7547c7ecb1196b300c03ec6697a245996c064132
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Mar 22 12:11:57 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Mar 22 12:11:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7547c7ec

dev-python/sympy: x86 stable wrt bug #706338

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/sympy/sympy-1.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.5.1-r1.ebuild 
b/dev-python/sympy/sympy-1.5.1-r1.ebuild
index aed3527e80e..f5455d9408f 100644
--- a/dev-python/sympy/sympy-1.5.1-r1.ebuild
+++ b/dev-python/sympy/sympy-1.5.1-r1.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/, dev-python/sympy/files/

2020-03-19 Thread David Seifert
commit: ef6b498f75eea4b79b5ee364060ea31b5e55116e
Author: David Seifert  gentoo  org>
AuthorDate: Thu Mar 19 21:55:48 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Mar 19 21:55:48 2020 +
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  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 
882ed99cbc7333cbed85d247d04a764a92855e3d26cee96163d18ece566115b9d38999bbe05521834037dbdfc4c567548112dfddd5ece65af8f672a06091

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..000
--- 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/Makefile2016-03-08 19:38:39.0 +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..000
--- 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.0 +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.0 +0600
-+++ sympy-1.0/sympy/functions/special/zeta_functions.py2016-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
-+

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-03-17 Thread Michał Górny
commit: 08aea9001b73f5088f1e6063e3c0b58eb65246a7
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Mar 17 07:39:03 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Mar 17 08:07:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08aea900

dev-python/sympy: Clean py2 deps up

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/sympy-1.0-r1.ebuild   | 5 ++---
 dev-python/sympy/sympy-1.3.ebuild  | 5 ++---
 dev-python/sympy/sympy-1.5.1-r1.ebuild | 5 ++---
 dev-python/sympy/sympy-1.5.1.ebuild| 5 ++---
 dev-python/sympy/sympy-1.5.ebuild  | 5 ++---
 5 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/dev-python/sympy/sympy-1.0-r1.ebuild 
b/dev-python/sympy/sympy-1.0-r1.ebuild
index a1b4f8b591e..195f59d969c 100644
--- a/dev-python/sympy/sympy-1.0-r1.ebuild
+++ b/dev-python/sympy/sympy-1.0-r1.ebuild
@@ -17,12 +17,11 @@ 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}
-   ipython? ( || ( $(python_gen_useflags -3) ) )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
-   ipython? ( $(python_gen_cond_dep 'dev-python/ipython[${PYTHON_USEDEP}]' 
-3) )
+   ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
latex? (
virtual/latex-base
dev-texlive/texlive-fontsextra

diff --git a/dev-python/sympy/sympy-1.3.ebuild 
b/dev-python/sympy/sympy-1.3.ebuild
index 078dc48e8f8..ffc69e64f91 100644
--- a/dev-python/sympy/sympy-1.3.ebuild
+++ b/dev-python/sympy/sympy-1.3.ebuild
@@ -16,8 +16,7 @@ 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}
-   ipython? ( || ( $(python_gen_useflags -3) ) )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RESTRICT="test"
 # All tests actually pass, except a bunch of tests related to the deprecated 
pygletplot
@@ -26,7 +25,7 @@ RESTRICT="test"
 RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
-   ipython? ( $(python_gen_cond_dep 'dev-python/ipython[${PYTHON_USEDEP}]' 
-3) )
+   ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
latex? (
virtual/latex-base
dev-texlive/texlive-fontsextra

diff --git a/dev-python/sympy/sympy-1.5.1-r1.ebuild 
b/dev-python/sympy/sympy-1.5.1-r1.ebuild
index cc961486a27..aed3527e80e 100644
--- a/dev-python/sympy/sympy-1.5.1-r1.ebuild
+++ b/dev-python/sympy/sympy-1.5.1-r1.ebuild
@@ -16,8 +16,7 @@ SLOT="0"
 KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
 
-REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   ipython? ( || ( $(python_gen_useflags -3) ) )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RESTRICT="test"
 # All tests actually pass, except a bunch of tests related to the deprecated 
pygletplot
@@ -26,7 +25,7 @@ RESTRICT="test"
 RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
-   ipython? ( $(python_gen_cond_dep 'dev-python/ipython[${PYTHON_USEDEP}]' 
-3) )
+   ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
latex? (
virtual/latex-base
dev-texlive/texlive-fontsextra

diff --git a/dev-python/sympy/sympy-1.5.1.ebuild 
b/dev-python/sympy/sympy-1.5.1.ebuild
index 5ecc82a06a5..dd759926e28 100644
--- a/dev-python/sympy/sympy-1.5.1.ebuild
+++ b/dev-python/sympy/sympy-1.5.1.ebuild
@@ -16,8 +16,7 @@ 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}
-   ipython? ( || ( $(python_gen_useflags -3) ) )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RESTRICT="test"
 # All tests actually pass, except a bunch of tests related to the deprecated 
pygletplot
@@ -26,7 +25,7 @@ RESTRICT="test"
 RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
-   ipython? ( $(python_gen_cond_dep 'dev-python/ipython[${PYTHON_USEDEP}]' 
-3) )
+   ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
latex? (
virtual/latex-base
dev-texlive/texlive-fontsextra

diff --git a/dev-python/sympy/sympy-1.5.ebuild 
b/dev-python/sympy/sympy-1.5.ebuild
index c8dda896747..3d8957d84cb 100644
--- 

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-03-09 Thread Agostino Sarubbo
commit: dbbc1303207631db72bf884497dda3805ff11903
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar  9 13:44:02 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar  9 13:44:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbbc1303

dev-python/sympy: amd64 stable wrt bug #706338

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/sympy/sympy-1.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.5.1-r1.ebuild 
b/dev-python/sympy/sympy-1.5.1-r1.ebuild
index 8952e3ac040..cc961486a27 100644
--- a/dev-python/sympy/sympy-1.5.1-r1.ebuild
+++ b/dev-python/sympy/sympy-1.5.1-r1.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-01-31 Thread Andrey Grozin
commit: 3778d0097773c74392746c4e8b048f9387699051
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Jan 31 16:49:08 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Jan 31 16:49:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3778d009

dev-python/sympy: in 1.5.1-r1, USE flag gtk is dropped

Bug: https://bugs.gentoo.org/706336
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Andrey Grozin  gentoo.org>

 dev-python/sympy/sympy-1.5.1-r1.ebuild | 67 ++
 1 file changed, 67 insertions(+)

diff --git a/dev-python/sympy/sympy-1.5.1-r1.ebuild 
b/dev-python/sympy/sympy-1.5.1-r1.ebuild
new file mode 100644
index 000..8952e3ac040
--- /dev/null
+++ b/dev-python/sympy/sympy-1.5.1-r1.ebuild
@@ -0,0 +1,67 @@
+# 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 imaging ipython latex mathml opengl pdf png pyglet symengine 
test texmacs theano"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+   ipython? ( || ( $(python_gen_useflags -3) ) )"
+
+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? ( $(python_gen_cond_dep 'dev-python/ipython[${PYTHON_USEDEP}]' 
-3) )
+   latex? (
+   virtual/latex-base
+   dev-texlive/texlive-fontsextra
+   png? ( app-text/dvipng )
+   pdf? ( app-text/ghostscript-gpl )
+   )
+   mathml? ( dev-libs/libxml2:2[${PYTHON_USEDEP}] )
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-01-15 Thread Michał Górny
commit: 8fcf58f520250b861e186df46caf471925d5225c
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 16 05:39:07 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 16 06:04:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fcf58f5

dev-python/sympy: Remove Python 2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/sympy-1.0-r1.ebuild | 29 ++---
 dev-python/sympy/sympy-1.3.ebuild| 26 ++
 dev-python/sympy/sympy-1.5.1.ebuild  | 26 ++
 dev-python/sympy/sympy-1.5.ebuild| 26 ++
 4 files changed, 8 insertions(+), 99 deletions(-)

diff --git a/dev-python/sympy/sympy-1.0-r1.ebuild 
b/dev-python/sympy/sympy-1.0-r1.ebuild
index ee681475875..a1b4f8b591e 100644
--- a/dev-python/sympy/sympy-1.0-r1.ebuild
+++ b/dev-python/sympy/sympy-1.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7} )
 
 inherit distutils-r1 eutils virtualx
 
@@ -14,15 +14,13 @@ 
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 test 
texmacs theano"
+IUSE="examples gtk imaging ipython latex mathml opengl pdf png test texmacs"
 RESTRICT="!test? ( test )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   doc? ( || ( $(python_gen_useflags 'python2*') ) )
ipython? ( || ( $(python_gen_useflags -3) ) )"
 
 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? ( $(python_gen_cond_dep 'dev-python/ipython[${PYTHON_USEDEP}]' 
-3) )
latex? (
@@ -33,23 +31,15 @@ RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
)
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}] app-text/docbook2X )
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}"/${P}-zeta.patch
@@ -60,15 +50,6 @@ 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
 }
@@ -79,12 +60,6 @@ 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
 

diff --git a/dev-python/sympy/sympy-1.3.ebuild 
b/dev-python/sympy/sympy-1.3.ebuild
index 966444c3424..078dc48e8f8 100644
--- a/dev-python/sympy/sympy-1.3.ebuild
+++ b/dev-python/sympy/sympy-1.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7} )
 
 inherit distutils-r1 eutils virtualx
 
@@ -14,10 +14,9 @@ 
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"
+IUSE="examples gtk imaging ipython latex mathml opengl pdf png pyglet 
symengine test texmacs theano"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   doc? ( || ( $(python_gen_useflags 'python2*') ) )
ipython? ( || ( $(python_gen_useflags -3) ) )"
 
 RESTRICT="test"
@@ -36,7 +35,6 @@ RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
)
mathml? (
dev-libs/libxml2:2[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep 'dev-libs/libxslt[${PYTHON_USEDEP}]' 
python2_7)
gtk? ( 

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2020-01-10 Thread Andrey Grozin
commit: 58e2285cb9be6351a9308b52fa9f3768b39a65dd
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Jan 10 15:08:17 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Jan 10 15:08:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58e2285c

dev-python/sympy: bump to 1.5.1

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andrey Grozin  gentoo.org>

 dev-python/sympy/Manifest   |  1 +
 dev-python/sympy/sympy-1.5.1.ebuild | 92 +
 2 files changed, 93 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 5fab8c9b261..d0678e06ad9 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,3 +1,4 @@
 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 
882ed99cbc7333cbed85d247d04a764a92855e3d26cee96163d18ece566115b9d38999bbe05521834037dbdfc4c567548112dfddd5ece65af8f672a06091

diff --git a/dev-python/sympy/sympy-1.5.1.ebuild 
b/dev-python/sympy/sympy-1.5.1.ebuild
new file mode 100644
index 000..379c5702f68
--- /dev/null
+++ b/dev-python/sympy/sympy-1.5.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,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="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*') ) )
+   ipython? ( || ( $(python_gen_useflags -3) ) )"
+
+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? ( $(python_gen_cond_dep 'dev-python/ipython[${PYTHON_USEDEP}]' 
-3) )
+   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}] )"
+
+S="${WORKDIR}/${PN}-${P}"
+
+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
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2019-12-28 Thread 罗百科
commit: ea56104140966212404bc7b426852fffe5b4a029
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sat Dec 28 11:56:49 2019 +
Commit: 罗百科  gentoo  org>
CommitDate: Sat Dec 28 11:56:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea561041

dev-python/sympy: Bump

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Patrick Lauer  gentoo.org>

 dev-python/sympy/Manifest |  1 +
 dev-python/sympy/sympy-1.5.ebuild | 90 +++
 2 files changed, 91 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 2b7673282b3..5fab8c9b261 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1,3 @@
 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.tar.gz 6294079 BLAKE2B 
ee6764264d87454c9713a6e99b70b123e1cc2d36a691287a53e8b69a548df5503168989afa2ca85a08cd5f6792c952e5556352fde07332b1fe47b3746d02b47a
 SHA512 
882ed99cbc7333cbed85d247d04a764a92855e3d26cee96163d18ece566115b9d38999bbe05521834037dbdfc4c567548112dfddd5ece65af8f672a06091

diff --git a/dev-python/sympy/sympy-1.5.ebuild 
b/dev-python/sympy/sympy-1.5.ebuild
new file mode 100644
index 000..718e9d516db
--- /dev/null
+++ b/dev-python/sympy/sympy-1.5.ebuild
@@ -0,0 +1,90 @@
+# 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,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="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*') ) )
+   ipython? ( || ( $(python_gen_useflags -3) ) )"
+
+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? ( $(python_gen_cond_dep 'dev-python/ipython[${PYTHON_USEDEP}]' 
-3) )
+   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}] )"
+
+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 

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2019-12-04 Thread Michał Górny
commit: ff6ca5fd74b49cbac1b7f925384240025132e5f6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec  3 09:57:05 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec  4 17:13:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6ca5fd

dev-python/sympy: Restrict ipython to py3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/sympy/sympy-1.0-r1.ebuild | 5 +++--
 dev-python/sympy/sympy-1.3.ebuild| 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-python/sympy/sympy-1.0-r1.ebuild 
b/dev-python/sympy/sympy-1.0-r1.ebuild
index f75311b5dad..719584259fe 100644
--- a/dev-python/sympy/sympy-1.0-r1.ebuild
+++ b/dev-python/sympy/sympy-1.0-r1.ebuild
@@ -17,12 +17,13 @@ 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 test 
texmacs theano"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+   doc? ( || ( $(python_gen_useflags 'python2*') ) )
+   ipython? ( || ( $(python_gen_useflags -3) ) )"
 
 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}] )
+   ipython? ( $(python_gen_cond_dep 'dev-python/ipython[${PYTHON_USEDEP}]' 
-3) )
latex? (
virtual/latex-base
dev-texlive/texlive-fontsextra

diff --git a/dev-python/sympy/sympy-1.3.ebuild 
b/dev-python/sympy/sympy-1.3.ebuild
index 963538ab3ac..03a1e064eab 100644
--- a/dev-python/sympy/sympy-1.3.ebuild
+++ b/dev-python/sympy/sympy-1.3.ebuild
@@ -17,7 +17,8 @@ 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*') ) )"
+   doc? ( || ( $(python_gen_useflags 'python2*') ) )
+   ipython? ( || ( $(python_gen_useflags -3) ) )"
 
 RESTRICT="test"
 # All tests actually pass, except a bunch of tests related to the deprecated 
pygletplot
@@ -26,7 +27,7 @@ RESTRICT="test"
 RDEPEND="dev-python/mpmath[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
imaging? ( dev-python/pillow[${PYTHON_USEDEP}] )
-   ipython? ( dev-python/ipython[${PYTHON_USEDEP}] )
+   ipython? ( $(python_gen_cond_dep 'dev-python/ipython[${PYTHON_USEDEP}]' 
-3) )
latex? (
virtual/latex-base
dev-texlive/texlive-fontsextra



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/, dev-python/sympy/files/

2019-12-04 Thread Michał Górny
commit: eb29a29c5a5819619d77536c1b111e2aa1c1dc51
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec  3 09:55:48 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Dec  4 17:13:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb29a29c

dev-python/sympy: Remove redundant version

Signed-off-by: Michał Górny  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..000
--- 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.0 +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..000
--- 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 )
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/files/, dev-python/sympy/

2018-09-19 Thread Andrey Grozin
commit: 38ed6a20490a5123d818359b0f8652fbe2d1d052
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Sep 19 06:16:16 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Sep 19 06:16:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38ed6a20

dev-python/sympy: bump to 1.3

Closes: https://bugs.gentoo.org/666392
Package-Manager: Portage-2.3.41, Repoman-2.3.9

 dev-python/sympy/Manifest  |  1 +
 dev-python/sympy/files/sympy-1.3-eta.patch | 12 
 dev-python/sympy/sympy-1.3.ebuild  | 91 ++
 3 files changed, 104 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index d29867c4cc9..32de1e038dd 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1,3 @@
 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.3-eta.patch 
b/dev-python/sympy/files/sympy-1.3-eta.patch
new file mode 100644
index 000..16318458fc9
--- /dev/null
+++ b/dev-python/sympy/files/sympy-1.3-eta.patch
@@ -0,0 +1,12 @@
+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.0 +0700
 sympy-1.3/sympy/functions/special/zeta_functions.py2018-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.3.ebuild 
b/dev-python/sympy/sympy-1.3.ebuild
new file mode 100644
index 000..ae474151446
--- /dev/null
+++ b/dev-python/sympy/sympy-1.3.ebuild
@@ -0,0 +1,91 @@
+# 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*') ) )"
+
+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}]
+   $(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}-eta.patch )
+
+pkg_setup() {
+   use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
+}
+
+python_compile_all() {
+   if use doc; then
+   export 

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/, dev-python/sympy/files/

2018-09-19 Thread Andrey Grozin
commit: c94a7f4e726be6cc2c3521f8149cb1df444f1932
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Sep 19 06:12:26 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Sep 19 06:12:26 2018 +
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..000
--- 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.0 +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..000
--- 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 
-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 = '#AA'  %}
-+{%  set theme_sidebartextcolor = '#DD'  %}
-+{%  set theme_footertextcolor = '#DD'  %}
-+{%  set theme_relbartextcolor = '#DD'  %}
-+{%  set theme_relbarlinkcolor = '#81B953'  %}
-+{%  set theme_bgcolor = '#FF'  %}
-+
-+
- 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'
- 

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/, dev-python/sympy/files/

2017-07-27 Thread Andrey Grozin
commit: 0714332d34cc49f3ce29603825857fabc1391e6e
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Jul 28 00:06:42 2017 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Jul 28 00:06:42 2017 +
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 000..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.0 +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 000..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? ( 

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2017-07-26 Thread Sebastien Fabbro
commit: 26b7d6ef3a61d60ee876056f3da42c87ababb87f
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Jul 26 20:06:47 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Jul 26 20:07:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26b7d6ef

dev-python/sympy: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-python/sympy/Manifest |  1 +
 dev-python/sympy/metadata.xml |  4 +-
 dev-python/sympy/sympy-1.1.ebuild | 89 +++
 3 files changed, 92 insertions(+), 2 deletions(-)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index fd87d0b0b6a..6290308fadd 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,2 +1,3 @@
 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.tar.gz 4579454 SHA256 
e42d7b8cc719bb0427b503d49f8489ec6292c74957c3bd04216a8392bee37782 SHA512 
4129752778b50fbc08180fe413d2109ad418b54b79caea461b9a6cf6856ab4f50ce95df6131b07791ed633c840648aa7c4dd130ab3f1cbb1e03e7346e995747b
 WHIRLPOOL 
bcee355015504a464c89f1cc2c35b3085af6d53a4d8c2245eda124ddbf53fb562b6a768b2d6cd79688b1255a21540094bd18e3f814dd729541a85767e27adb3c

diff --git a/dev-python/sympy/metadata.xml b/dev-python/sympy/metadata.xml
index ec4404a141c..4a6d0ef3980 100644
--- a/dev-python/sympy/metadata.xml
+++ b/dev-python/sympy/metadata.xml
@@ -21,8 +21,8 @@
 Add support for dev-python/pillow
 Add support for mathml
 Use dev-python/pyglet for plots and print 
preview
-Add app-office/texmacs
-  interface
+Add support for a dev-python/symengine 
backend
+Add app-office/texmacs interface   
 Add support for dev-python/theano
   
   

diff --git a/dev-python/sympy/sympy-1.1.ebuild 
b/dev-python/sympy/sympy-1.1.ebuild
new file mode 100644
index 000..9fb9e67fbfc
--- /dev/null
+++ b/dev-python/sympy/sympy-1.1.ebuild
@@ -0,0 +1,89 @@
+# 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}"/${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
+  

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2017-05-15 Thread Kacper Kowalik
commit: 1bbde62483cd68c70b6d5067a883eac281f530fd
Author: Kacper Kowalik  gentoo  org>
AuthorDate: Mon May 15 13:50:17 2017 +
Commit: Kacper Kowalik  gentoo  org>
CommitDate: Mon May 15 13:51:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bbde624

dev-python/sympy: add python3_6

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-python/sympy/sympy-1.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/sympy/sympy-1.0-r1.ebuild 
b/dev-python/sympy/sympy-1.0-r1.ebuild
index 06a0e49cec1..358b62dde76 100644
--- a/dev-python/sympy/sympy-1.0-r1.ebuild
+++ b/dev-python/sympy/sympy-1.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1 eutils virtualx
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2016-12-29 Thread Agostino Sarubbo
commit: 2d929992ed623ba9fcfa95f187fd96e5d80ad3ae
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec 29 10:03:58 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec 29 10:03:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d929992

dev-python/sympy: amd64 stable wrt bug #593076

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/sympy/sympy-1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.0-r1.ebuild 
b/dev-python/sympy/sympy-1.0-r1.ebuild
index 2015771..483d314 100644
--- a/dev-python/sympy/sympy-1.0-r1.ebuild
+++ b/dev-python/sympy/sympy-1.0-r1.ebuild
@@ -14,7 +14,7 @@ 
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"
+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 test 
texmacs theano"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/, dev-python/sympy/files/

2016-12-28 Thread Andrey Grozin
commit: b1754d7ad8e53f7782dc873acaf99f8d2b99d04d
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Dec 29 01:29:49 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Dec 29 01:29:49 2016 +
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 ..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.0 +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.0 +0600
 sympy-1.0/sympy/functions/special/zeta_functions.py2016-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
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2016-04-19 Thread Michał Górny
commit: 2a80a42674174fb1840245ad3f16e31967a39dde
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 20 03:17:46 2016 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 20 03:20:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a80a426

dev-python/sympy: imaging -> pillow

 dev-python/sympy/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/metadata.xml b/dev-python/sympy/metadata.xml
index 60af707..ec4404a 100644
--- a/dev-python/sympy/metadata.xml
+++ b/dev-python/sympy/metadata.xml
@@ -18,7 +18,7 @@
 
   
 Add support for dev-python/ipython
-Add support for dev-python/imaging
+Add support for dev-python/pillow
 Add support for mathml
 Use dev-python/pyglet for plots and print 
preview
 Add app-office/texmacs



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2016-03-28 Thread Kacper Kowalik
commit: c5dbfe9c87b193c7ee90abbab8e5e6bec2174ee4
Author: Sean Vig  gmail  com>
AuthorDate: Mon Mar 28 15:13:39 2016 +
Commit: Kacper Kowalik  gentoo  org>
CommitDate: Mon Mar 28 15:13:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5dbfe9c

dev-python/sympy: Add Python 3.5

 dev-python/sympy/sympy-1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/sympy/sympy-1.0-r1.ebuild 
b/dev-python/sympy/sympy-1.0-r1.ebuild
index 2db71a6..1e84a50 100644
--- a/dev-python/sympy/sympy-1.0-r1.ebuild
+++ b/dev-python/sympy/sympy-1.0-r1.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
 
 inherit distutils-r1 eutils virtualx
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2016-03-28 Thread Andrey Grozin
commit: 4c0b20374bb20fbcb26c7bcf656717de9bcbf678
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Mar 28 12:55:20 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Mar 28 12:55:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c0b2037

gentoo/dev-python/sympy: cleaning old

Package-Manager: portage-2.2.28

 dev-python/sympy/sympy-0.7.6.1.ebuild | 97 ---
 dev-python/sympy/sympy-1.0.ebuild | 96 --
 2 files changed, 193 deletions(-)

diff --git a/dev-python/sympy/sympy-0.7.6.1.ebuild 
b/dev-python/sympy/sympy-0.7.6.1.ebuild
deleted file mode 100644
index 6ae4e9f..000
--- a/dev-python/sympy/sympy-0.7.6.1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# 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="
-   $(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
-   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.0.ebuild 
b/dev-python/sympy/sympy-1.0.ebuild
deleted file mode 100644
index 757c7d2..000
--- a/dev-python/sympy/sympy-1.0.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# 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}]' 

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2016-03-28 Thread Andrey Grozin
commit: c25aadf4d684872f411ad8e9db89184099c794ac
Author: Andrey Grozin  gentoo  org>
AuthorDate: Mon Mar 28 12:53:02 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Mon Mar 28 12:53:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c25aadf4

dev-python/sympy: with USE=doc now depends on app-text/docbook2X

Bug: 577966

Package-Manager: portage-2.2.28

 dev-python/sympy/sympy-1.0-r1.ebuild | 96 
 1 file changed, 96 insertions(+)

diff --git a/dev-python/sympy/sympy-1.0-r1.ebuild 
b/dev-python/sympy/sympy-1.0-r1.ebuild
new file mode 100644
index 000..2db71a6
--- /dev/null
+++ b/dev-python/sympy/sympy-1.0-r1.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}] app-text/docbook2X )
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/, dev-python/sympy/files/

2016-03-19 Thread Andrey Grozin
commit: 90027a0055202492483fb19bcc3d4dcf378c5702
Author: Andrey Grozin  gentoo  org>
AuthorDate: Fri Mar 18 20:45:28 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Fri Mar 18 20:45:28 2016 +
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 000..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/Makefile2016-03-08 19:38:39.0 +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 000..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
+}
+

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2016-01-30 Thread Justin Lecher
commit: da661fc9f247f8b46ab6ec86c92805eb12081cca
Author: Justin Lecher  gentoo  org>
AuthorDate: Sat Jan 30 15:41:43 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sat Jan 30 15:47:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da661fc9

dev-python/sympy: Better doc building and update virtualx.eclas usage

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/sympy/sympy-0.7.6.1-r1.ebuild | 18 --
 dev-python/sympy/sympy-0.7.6.1.ebuild| 17 -
 2 files changed, 24 insertions(+), 11 deletions(-)

diff --git a/dev-python/sympy/sympy-0.7.6.1-r1.ebuild 
b/dev-python/sympy/sympy-0.7.6.1-r1.ebuild
index 6a0f6dd..c69a900 100644
--- a/dev-python/sympy/sympy-0.7.6.1-r1.ebuild
+++ b/dev-python/sympy/sympy-0.7.6.1-r1.ebuild
@@ -1,11 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# 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} )
-DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
 
 inherit distutils-r1 eutils virtualx
 
@@ -19,7 +18,7 @@ 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_targets_python2_7 )"
+   doc? ( || ( $(python_gen_useflags 'python2*') ) )"
 
 RDEPEND="
$(python_gen_cond_dep '>=dev-python/pexpect-2.0[${PYTHON_USEDEP}]' 
python2_7)
@@ -46,6 +45,10 @@ 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
@@ -67,7 +70,7 @@ python_compile_all() {
 }
 
 python_test() {
-VIRTUALX_COMMAND="./setup.py" virtualmake test
+   virtx "${PYTHON}" setup.py test
 }
 
 python_install() {
@@ -77,8 +80,11 @@ python_install() {
 python_install_all() {
local DOCS=( AUTHORS README.rst )
use doc &&\
-   DOCS=( ${DOCS[*]} doc/_build/cheatsheet/cheatsheet.pdf 
doc/_build/cheatsheet/combinatoric_cheatsheet.pdf ) &&\
-   local HTML_DOCS=( doc/_build/html/. ) &&\
+   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

diff --git a/dev-python/sympy/sympy-0.7.6.1.ebuild 
b/dev-python/sympy/sympy-0.7.6.1.ebuild
index 15a78b6..6ae4e9f 100644
--- a/dev-python/sympy/sympy-0.7.6.1.ebuild
+++ b/dev-python/sympy/sympy-0.7.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -18,7 +18,7 @@ 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_targets_python2_7 )"
+   doc? ( || ( $(python_gen_useflags 'python2*') ) )"
 
 RDEPEND="
$(python_gen_cond_dep '>=dev-python/pexpect-2.0[${PYTHON_USEDEP}]' 
python2_7)
@@ -45,6 +45,10 @@ 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
@@ -65,7 +69,7 @@ python_compile_all() {
 }
 
 python_test() {
-VIRTUALX_COMMAND="./setup.py" virtualmake test
+   virtx "${PYTHON}" setup.py test
 }
 
 python_install() {
@@ -75,8 +79,11 @@ python_install() {
 python_install_all() {
local DOCS=( AUTHORS README.rst )
use doc &&\
-   DOCS=( ${DOCS[*]} doc/_build/cheatsheet/cheatsheet.pdf 
doc/_build/cheatsheet/combinatoric_cheatsheet.pdf ) &&\
-   local HTML_DOCS=( doc/_build/html/. ) &&\
+   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



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2016-01-30 Thread Andrey Grozin
commit: fc5d879ab4745029d16af3dfc770dfadec394a16
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat Jan 30 13:10:41 2016 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat Jan 30 13:11:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc5d879a

dev-python/sympy: docs are now built by python-2.7

Bug: 573282

Package-Manager: portage-2.2.27

 dev-python/sympy/sympy-0.7.6.1-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/sympy/sympy-0.7.6.1-r1.ebuild 
b/dev-python/sympy/sympy-0.7.6.1-r1.ebuild
index c480b6e..6a0f6dd 100644
--- a/dev-python/sympy/sympy-0.7.6.1-r1.ebuild
+++ b/dev-python/sympy/sympy-0.7.6.1-r1.ebuild
@@ -5,6 +5,7 @@
 EAPI=5
 
 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
 
 inherit distutils-r1 eutils virtualx
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2015-12-21 Thread Patrick Lauer
commit: 08746ed99e2c122f17f49d1f9e3c084fdcbae19a
Author: Patrick Lauer  gentoo  org>
AuthorDate: Mon Dec 21 14:22:46 2015 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Mon Dec 21 14:23:24 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08746ed9

dev-python/sympy: Remove unneeded useflag descriptions from metadata.xml

 dev-python/sympy/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/sympy/metadata.xml b/dev-python/sympy/metadata.xml
index 6a28c74..d24ae63 100644
--- a/dev-python/sympy/metadata.xml
+++ b/dev-python/sympy/metadata.xml
@@ -21,7 +21,6 @@
 Add app-office/texmacs
   interface
 Add support for dev-python/theano
-Use mpmath from portage instead of the bundled 
one
   
   
 sympy



[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/files/, dev-python/sympy/

2015-11-30 Thread Andrey Grozin
commit: 03423e2c774a7692551ab6e5fe73408d0d370ccb
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Dec  1 06:24:37 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Dec  1 06:36:55 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03423e2c

dev-python/sympy: upstream bug fix

https://github.com/skirpichev/omg/pull/137

Package-Manager: portage-2.2.26

 dev-python/sympy/files/sympy-0.7.6.1-zeta.patch | 32 +
 dev-python/sympy/sympy-0.7.6.1-r1.ebuild| 91 +
 2 files changed, 123 insertions(+)

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
new file mode 100644
index 000..ffb85f9
--- /dev/null
+++ b/dev-python/sympy/files/sympy-0.7.6.1-zeta.patch
@@ -0,0 +1,32 @@
+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.0 +0600
 sympy-0.7.6.1/sympy/functions/special/zeta_functions.py2015-12-01 
11:27:24.0 +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
new file mode 100644
index 000..c480b6e
--- /dev/null
+++ b/dev-python/sympy/sympy-0.7.6.1-r1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2015 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_targets_python2_7 )"
+
+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}] )"
+
+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() {
+VIRTUALX_COMMAND="./setup.py" virtualmake test
+}
+
+python_install() {
+   PYTHONPATH="." distutils-r1_python_install
+}
+
+python_install_all() {
+   local DOCS=( AUTHORS README.rst )
+   use doc &&\
+   DOCS=( ${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/. 

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/

2015-11-30 Thread Andrey Grozin
commit: 29b91b6c4c1b2bffc8c219dc9b1b2202fd724ee9
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Dec  1 06:39:14 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Dec  1 06:39:14 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29b91b6c

dev-python/sympy: cleaning old versions

Package-Manager: portage-2.2.26

 dev-python/sympy/Manifest |  4 --
 dev-python/sympy/sympy-0.7.4.1.ebuild | 90 -
 dev-python/sympy/sympy-0.7.6.ebuild   | 95 ---
 3 files changed, 189 deletions(-)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 14f203b..99a6263 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,5 +1 @@
-DIST sympy-0.7.4.1-system-mpmath.patch.gz 7350 SHA256 
d7f2acd0ccfb06eb8c102dd7fae2325b35a5105a5853e01dcb863c0841dedc75 SHA512 
761cdc6259101d6023d83cfea311a5547762c192b3c661ab3bc0ded20911ce464d0326a9b16d899ad35280a65046e621670e7de64ec40df740bfeb8bf667fb3d
 WHIRLPOOL 
24693863da03dab6ed67131f46c4e18dfdc8110d0a23f49825dcb835909fa157781791680cfe46092c41c526fe281370aa7ce341f7fbccae02351d34c29bffd3
-DIST sympy-0.7.4.1.tar.gz 6824862 SHA256 
51a8c2377c240a2cdb418bc59dac9ab106258196d04ce131d06806dbea2af456 SHA512 
8d4d87428c202407ff364ef503634529500c1656cf5ddbb4de19b838499593c58d227f0b619541ce86cdc15157e3a5b48a95c906a5d05d4606ef95f1aa8fa2dc
 WHIRLPOOL 
620d255e0cf289ac392328ad64e93d93489d8664df13498bac8933221c8edb80a45a8ea26da6cb8e1139ec2ca159c8f83ad196d96ee6afceb4fc8bb2a0eccfd7
-DIST sympy-0.7.6-system-mpmath.patch.gz 5030 SHA256 
d5ff8ff4f79ed66714486954633d18f865820197081230b82ff8e2093751e073 SHA512 
b8475f2a0c1320c7e5e1403476e011fae0997f07afba3fd892ad5e95e89b5cdfa5f92b778eb406b27f2c0edb2a119ee636c57ff32585360c26d38202ea09b075
 WHIRLPOOL 
d03273573237b04c403438a75e4a4c21cf89a6b93e642a71126a136c6e4e9e07db3e5ebc8e5a4724b792e0d4885f38a7d30759e26fa61146f929a1447e16e64c
 DIST sympy-0.7.6.1.tar.gz 6431571 SHA256 
1fc272b51091aabe7d07f1bf9f0a47f3e28657fb2bec52bf3ef0e8f159f5f564 SHA512 
18877abd3c530418e4f4942cbb0a03140dc81e5a1004720c472fb97cf8eaa41acca59765f6278715ea88bcd0cd07ad5952863a0d1b6e6d00994d257e8c0a6574
 WHIRLPOOL 
b0c0c74e7865c91585d1a2c8510fe328b8e697dec02bd17aaa446ef6e089b9cf2ca5b4f58b6b59febccf142384b907e1bd47451e22fa305843bd883355801226
-DIST sympy-0.7.6.tar.gz 6430549 SHA256 
dfa3927e9befdfa7da7a18783ccbc2fe489ce4c46aa335a879e49e48fc03d7a7 SHA512 
ce0f1a17ac01eb48aec31fc0ad431d9d7ed9907f0e8584a6d79d0ffe6864fe62e203fe3f2a3c3e4e3d485809750ce07507a6488e776a388a7a9a713110882fcf
 WHIRLPOOL 
850c27ae73f92f224826e5c00e41a0d4644fcb290767963744a947b03b704557423c00ed9a14ad696630c4611c3ed684926d58d7873127de76530325aae08ae2

diff --git a/dev-python/sympy/sympy-0.7.4.1.ebuild 
b/dev-python/sympy/sympy-0.7.4.1.ebuild
deleted file mode 100644
index cc01bc9..000
--- a/dev-python/sympy/sympy-0.7.4.1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_3} )
-
-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
-   https://dev.gentoo.org/~bicatali/distfiles/${P}-system-mpmath.patch.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 
+system-mpmath test texmacs theano"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-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) )
-   system-mpmath? ( >=dev-python/mpmath-0.18[${PYTHON_USEDEP}] )
-   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}] )"
-
-python_prepare_all() {
-   if use system-mpmath; then
-   rm -r sympy/mpmath doc/src/modules/mpmath || die
-   epatch "${WORKDIR}"/${P}-system-mpmath.patch
-   fi
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/files/, dev-python/sympy/

2015-11-14 Thread Andrey Grozin
commit: 6ac3bca42a099aa2e07c7ed831a6cdf36f829e88
Author: Andrey Grozin  gentoo  org>
AuthorDate: Sat Nov 14 16:00:29 2015 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Sat Nov 14 16:00:29 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ac3bca4

dev-python/sympy: bump to 0.7.6.1

A patch fixing docs building with sphinx-1.3.1
Thanks to Petr Cerny  black-net.org>

Package-Manager: portage-2.2.24

 dev-python/sympy/Manifest  |  1 +
 .../sympy/files/sympy-0.7.6.1-sphinx-1.3.1.patch   | 65 
 dev-python/sympy/sympy-0.7.6.1.ebuild  | 90 ++
 3 files changed, 156 insertions(+)

diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest
index 16e28e4..14f203b 100644
--- a/dev-python/sympy/Manifest
+++ b/dev-python/sympy/Manifest
@@ -1,4 +1,5 @@
 DIST sympy-0.7.4.1-system-mpmath.patch.gz 7350 SHA256 
d7f2acd0ccfb06eb8c102dd7fae2325b35a5105a5853e01dcb863c0841dedc75 SHA512 
761cdc6259101d6023d83cfea311a5547762c192b3c661ab3bc0ded20911ce464d0326a9b16d899ad35280a65046e621670e7de64ec40df740bfeb8bf667fb3d
 WHIRLPOOL 
24693863da03dab6ed67131f46c4e18dfdc8110d0a23f49825dcb835909fa157781791680cfe46092c41c526fe281370aa7ce341f7fbccae02351d34c29bffd3
 DIST sympy-0.7.4.1.tar.gz 6824862 SHA256 
51a8c2377c240a2cdb418bc59dac9ab106258196d04ce131d06806dbea2af456 SHA512 
8d4d87428c202407ff364ef503634529500c1656cf5ddbb4de19b838499593c58d227f0b619541ce86cdc15157e3a5b48a95c906a5d05d4606ef95f1aa8fa2dc
 WHIRLPOOL 
620d255e0cf289ac392328ad64e93d93489d8664df13498bac8933221c8edb80a45a8ea26da6cb8e1139ec2ca159c8f83ad196d96ee6afceb4fc8bb2a0eccfd7
 DIST sympy-0.7.6-system-mpmath.patch.gz 5030 SHA256 
d5ff8ff4f79ed66714486954633d18f865820197081230b82ff8e2093751e073 SHA512 
b8475f2a0c1320c7e5e1403476e011fae0997f07afba3fd892ad5e95e89b5cdfa5f92b778eb406b27f2c0edb2a119ee636c57ff32585360c26d38202ea09b075
 WHIRLPOOL 
d03273573237b04c403438a75e4a4c21cf89a6b93e642a71126a136c6e4e9e07db3e5ebc8e5a4724b792e0d4885f38a7d30759e26fa61146f929a1447e16e64c
+DIST sympy-0.7.6.1.tar.gz 6431571 SHA256 
1fc272b51091aabe7d07f1bf9f0a47f3e28657fb2bec52bf3ef0e8f159f5f564 SHA512 
18877abd3c530418e4f4942cbb0a03140dc81e5a1004720c472fb97cf8eaa41acca59765f6278715ea88bcd0cd07ad5952863a0d1b6e6d00994d257e8c0a6574
 WHIRLPOOL 
b0c0c74e7865c91585d1a2c8510fe328b8e697dec02bd17aaa446ef6e089b9cf2ca5b4f58b6b59febccf142384b907e1bd47451e22fa305843bd883355801226
 DIST sympy-0.7.6.tar.gz 6430549 SHA256 
dfa3927e9befdfa7da7a18783ccbc2fe489ce4c46aa335a879e49e48fc03d7a7 SHA512 
ce0f1a17ac01eb48aec31fc0ad431d9d7ed9907f0e8584a6d79d0ffe6864fe62e203fe3f2a3c3e4e3d485809750ce07507a6488e776a388a7a9a713110882fcf
 WHIRLPOOL 
850c27ae73f92f224826e5c00e41a0d4644fcb290767963744a947b03b704557423c00ed9a14ad696630c4611c3ed684926d58d7873127de76530325aae08ae2

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
new file mode 100644
index 000..c3b2082
--- /dev/null
+++ b/dev-python/sympy/files/sympy-0.7.6.1-sphinx-1.3.1.patch
@@ -0,0 +1,65 @@
+commit d3d3bd01bc5f625055bfa7247efc1e8cdeef0b33
+Author: Aaditya M Nair 
+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 = '#AA'  %}
++{%  set theme_sidebartextcolor = '#DD'  %}
++{%  set theme_footertextcolor = '#DD'  %}
++{%  set theme_relbartextcolor = '#DD'  %}
++{%  set theme_relbarlinkcolor = '#81B953'  %}
++{%  set theme_bgcolor = '#FF'  %}
++
++
+ 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',
+-