From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 22367138350 for ; Fri, 10 Jan 2020 15:08:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48F80E0841; Fri, 10 Jan 2020 15:08:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 20936E0841 for ; Fri, 10 Jan 2020 15:08:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 781FB34DF5F for ; Fri, 10 Jan 2020 15:08:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 096CB38 for ; Fri, 10 Jan 2020 15:08:39 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1578668897.58e2285cb9be6351a9308b52fa9f3768b39a65dd.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sympy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sympy/Manifest dev-python/sympy/sympy-1.5.1.ebuild X-VCS-Directories: dev-python/sympy/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 58e2285cb9be6351a9308b52fa9f3768b39a65dd X-VCS-Branch: master Date: Fri, 10 Jan 2020 15:08:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 387de019-381e-407d-a77f-1c2a59db4e02 X-Archives-Hash: 5c2d60393933b8f28f2fdeaa39af5f00 commit: 58e2285cb9be6351a9308b52fa9f3768b39a65dd Author: Andrey Grozin gentoo org> AuthorDate: Fri Jan 10 15:08:17 2020 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Fri Jan 10 15:08:17 2020 +0000 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 882ed99cbc7333cbed85d247d04a764a92855e3d26cee96163d18ece566115b9d38999bbe022225521834037dbdfc4c567548112dfddd5ece65af8f672a06091 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 00000000000..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 + 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 +}