From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/sympy/Manifest | 1 + dev-python/sympy/metadata.xml | 33 +++++++++++++++++ dev-python/sympy/sympy-1.5.1-r1.ebuild | 66 ++++++++++++++++++++++++++++++++++ 3 files changed, 100 insertions(+) create mode 100644 dev-python/sympy/Manifest create mode 100644 dev-python/sympy/metadata.xml create mode 100644 dev-python/sympy/sympy-1.5.1-r1.ebuild (limited to 'dev-python/sympy') diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest new file mode 100644 index 000000000000..b8791fc94efc --- /dev/null +++ b/dev-python/sympy/Manifest @@ -0,0 +1 @@ +DIST sympy-1.5.1.tar.gz 6815997 BLAKE2B bc74d01fdf2ccea6b83a06c11f810e3d105e9d35b397c8b87a1bcc4e316d00c456f576baf57d1b4a6175e056dec58f05fbb05893519775ffa252ac018452d2ff SHA512 3c4220243d2cbcff9eedb2a7986431b5b4d7d0007c78208a60b21830c9a3528d2171086874c42205c1227f779e44c19b9562943e2935d329bc352e7ea85396c7 diff --git a/dev-python/sympy/metadata.xml b/dev-python/sympy/metadata.xml new file mode 100644 index 000000000000..da316754bfe8 --- /dev/null +++ b/dev-python/sympy/metadata.xml @@ -0,0 +1,33 @@ + + + + + grozin@gentoo.org + Andrey Grozin + + + sci-mathematics@gentoo.org + Gentoo Mathematics Project + + + SymPy is a Python library for symbolic mathematics (manipulation). It + aims to become a full-featured computer algebra system (CAS) while keeping + the code as simple as possible in order to be comprehensible and easily + 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 + 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 + sympy/sympy + + gentoo-staging + 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 000000000000..f5455d9408f1 --- /dev/null +++ b/dev-python/sympy/sympy-1.5.1-r1.ebuild @@ -0,0 +1,66 @@ +# 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 +} -- cgit v1.3.1