From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1249523-garchives=archives.gentoo.org@lists.gentoo.org> 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 9A2FE1382C5 for <garchives@archives.gentoo.org>; Tue, 9 Feb 2021 18:48:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D079CE0952; Tue, 9 Feb 2021 18:48:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 B9F28E092A for <gentoo-commits@lists.gentoo.org>; Tue, 9 Feb 2021 18:48:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 E0FDF340E49 for <gentoo-commits@lists.gentoo.org>; Tue, 9 Feb 2021 18:48:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 809804BE for <gentoo-commits@lists.gentoo.org>; Tue, 9 Feb 2021 18:48:50 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1612896525.820a288c5d4bd2326f1145f5d2b6854428c8736c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mpmath/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mpmath/Manifest dev-python/mpmath/mpmath-1.2.1.ebuild X-VCS-Directories: dev-python/mpmath/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 820a288c5d4bd2326f1145f5d2b6854428c8736c X-VCS-Branch: master Date: Tue, 9 Feb 2021 18:48:50 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 404683dc-94c9-46e7-a6ee-241fb3d6bcf9 X-Archives-Hash: 695db29b965a7e16128784ddf21c08b2 commit: 820a288c5d4bd2326f1145f5d2b6854428c8736c Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Feb 9 18:31:19 2021 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Feb 9 18:48:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=820a288c dev-python/mpmath: Bump to 1.2.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/mpmath/Manifest | 1 + dev-python/mpmath/mpmath-1.2.1.ebuild | 40 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest index 021ebeb7abf..5a871d21a76 100644 --- a/dev-python/mpmath/Manifest +++ b/dev-python/mpmath/Manifest @@ -1 +1,2 @@ DIST mpmath-1.1.0.tar.gz 2136921 BLAKE2B 8c3a5f39b48015aab1147aaf77ee7523dbffd7f34911ff2158d7b8bf1612e64f91d157494c5199b22090e986aba02044d610171bb92a2b230cdfbe025652e340 SHA512 628b6c61015825516d983bfcc54fc3a2793f3d9d2b93ba9c5a487a340ddf13eb4e83f17fa35692b22dd8a200a8da3a65ed88091d75abb4c48c9c4e4f2c686bcc +DIST mpmath-1.2.1.tar.gz 2135690 BLAKE2B a21e0ef04a025f23e32dad5839db411708266c6cf3408e97ec5c995f197b14f446c1d328bd2e9f50e1c48a2e08239ef7908fcc3aab8659118fc1e0e78106a47e SHA512 2dd908bca26162adcdce0493146d009e04d3d96db965ff2207c332504020fa6f5a5e2af97d38e8fb3e7442a26c1e93a756a8d93b378da720ab7c07753f700d10 diff --git a/dev-python/mpmath/mpmath-1.2.1.ebuild b/dev-python/mpmath/mpmath-1.2.1.ebuild new file mode 100644 index 00000000000..ee062f0cf51 --- /dev/null +++ b/dev-python/mpmath/mpmath-1.2.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic" +HOMEPAGE="https://mpmath.org/" +SRC_URI="https://github.com/fredrik-johansson/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="gmp matplotlib test" +RESTRICT="!test? ( test )" + +RDEPEND=" + gmp? ( dev-python/gmpy[${PYTHON_USEDEP}] ) + matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + pushd ${PN}/tests >/dev/null + ${EPYTHON} runtests.py -local || die "Tests failed with ${EPYTHON}" + popd >/dev/null +}