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 34A48138334 for ; Wed, 12 Dec 2018 11:17:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E06A3E0C27; Wed, 12 Dec 2018 11:17:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 A1BBCE0C27 for ; Wed, 12 Dec 2018 11:17:37 +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 99432335CA6 for ; Wed, 12 Dec 2018 11:17:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 06FEC326 for ; Wed, 12 Dec 2018 11:17:33 +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: <1544613421.ad97be60ca65a58f35f9ea599fdc2856c706a7fd.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mpmath/files/, dev-python/mpmath/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mpmath/Manifest dev-python/mpmath/files/mpmath-1.1.0.patch dev-python/mpmath/files/mpmath.patch dev-python/mpmath/mpmath-1.1.0.ebuild X-VCS-Directories: dev-python/mpmath/files/ dev-python/mpmath/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: ad97be60ca65a58f35f9ea599fdc2856c706a7fd X-VCS-Branch: master Date: Wed, 12 Dec 2018 11:17:33 +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: 95a2c5f9-001c-401a-9fab-89fb0400f95b X-Archives-Hash: 10e0ffa6b69b848d0eab4ee4b736d186 commit: ad97be60ca65a58f35f9ea599fdc2856c706a7fd Author: Andrey Grozin gentoo org> AuthorDate: Wed Dec 12 11:16:21 2018 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Wed Dec 12 11:17:01 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad97be60 dev-python/mpmath: bump to 1.1.0 Signed-off-by: Andrey Grozin gentoo.org> Package-Manager: Portage-2.3.41, Repoman-2.3.9 dev-python/mpmath/Manifest | 1 + dev-python/mpmath/files/mpmath-1.1.0.patch | 9 +++++++ dev-python/mpmath/files/mpmath.patch | 9 ------- dev-python/mpmath/mpmath-1.1.0.ebuild | 41 ++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+), 9 deletions(-) diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest index ff89cb05b2c..c0576d534df 100644 --- a/dev-python/mpmath/Manifest +++ b/dev-python/mpmath/Manifest @@ -1 +1,2 @@ DIST mpmath-1.0.0.tar.gz 511349 BLAKE2B 62c6275f76c412043cdafef51815e4b5d055a63ca36f3f63b33957351b19e03419ca27f7d59641c580cf8e47c1ca45240b68b3040e2749b3de679eb45b15a28e SHA512 b225f237008e1cfee52b2f0dca0dce1445b932b6eaef92879d7feca30d728e3f88810bfa80882ad8776ba846a636807e59bebe0b9f690cd878c089e9418bd8b7 +DIST mpmath-1.1.0.tar.gz 2136921 BLAKE2B 8c3a5f39b48015aab1147aaf77ee7523dbffd7f34911ff2158d7b8bf1612e64f91d157494c5199b22090e986aba02044d610171bb92a2b230cdfbe025652e340 SHA512 628b6c61015825516d983bfcc54fc3a2793f3d9d2b93ba9c5a487a340ddf13eb4e83f17fa35692b22dd8a200a8da3a65ed88091d75abb4c48c9c4e4f2c686bcc diff --git a/dev-python/mpmath/files/mpmath-1.1.0.patch b/dev-python/mpmath/files/mpmath-1.1.0.patch new file mode 100644 index 00000000000..3a88f38c992 --- /dev/null +++ b/dev-python/mpmath/files/mpmath-1.1.0.patch @@ -0,0 +1,9 @@ +diff -r -U1 mpmath-1.0.0.orig/setup.py mpmath-1.0.0/setup.py +--- mpmath-1.0.0.orig/setup.py 2017-09-27 21:42:12.000000000 +0700 ++++ mpmath-1.0.0/setup.py 2017-10-02 20:36:02.919554100 +0700 +@@ -15,4 +15,3 @@ + 'mpmath.functions', +- 'mpmath.matrices', +- 'mpmath.tests'], ++ 'mpmath.matrices'], + classifiers=['Topic :: Scientific/Engineering :: Mathematics'] diff --git a/dev-python/mpmath/files/mpmath.patch b/dev-python/mpmath/files/mpmath.patch deleted file mode 100644 index 3040216e56c..00000000000 --- a/dev-python/mpmath/files/mpmath.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -r -U1 mpmath-all-0.17.orig/setup.py mpmath-all-0.17/setup.py ---- mpmath-all-0.17.orig/setup.py 2011-02-02 03:17:50.000000000 +0600 -+++ mpmath-all-0.17/setup.py 2011-02-13 01:18:00.000000000 +0600 -@@ -15,4 +15,3 @@ - 'mpmath/functions', -- 'mpmath/matrices', -- 'mpmath/tests'], -+ 'mpmath/matrices'], - classifiers=['Topic :: Scientific/Engineering :: Mathematics'] diff --git a/dev-python/mpmath/mpmath-1.1.0.ebuild b/dev-python/mpmath/mpmath-1.1.0.ebuild new file mode 100644 index 00000000000..08a77279f3e --- /dev/null +++ b/dev-python/mpmath/mpmath-1.1.0.ebuild @@ -0,0 +1,41 @@ +# 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 + +DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic" +HOMEPAGE="http://mpmath.org/" +SRC_URI="https://github.com/fredrik-johansson/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" + +IUSE="gmp matplotlib test" + +RDEPEND=" + gmp? ( dev-python/gmpy ) + matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}/${P}.patch" + ) + + # this test requires X + rm ${PN}/tests/test_visualization.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + pushd ${PN}/tests >/dev/null + ${EPYTHON} runtests.py -local + popd >/dev/null +}