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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2636315802F for ; Tue, 7 Mar 2023 16:58:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54F3EE07C9; Tue, 7 Mar 2023 16:58:34 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 38918E07C9 for ; Tue, 7 Mar 2023 16:58:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 514493413F7 for ; Tue, 7 Mar 2023 16:58:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9B9D08B5 for ; Tue, 7 Mar 2023 16:58:31 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1678208300.22cecdc3bf96930e5f433b7219e0db338fd7a43a.sam@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.3.0.ebuild X-VCS-Directories: dev-python/mpmath/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 22cecdc3bf96930e5f433b7219e0db338fd7a43a X-VCS-Branch: master Date: Tue, 7 Mar 2023 16:58:31 +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: c2905b46-ef4f-4ba4-b47f-8faa0b65e4aa X-Archives-Hash: 8b59fe1e4e7049b3827a1816a88505e8 commit: 22cecdc3bf96930e5f433b7219e0db338fd7a43a Author: Sam James gentoo org> AuthorDate: Tue Mar 7 16:57:57 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 7 16:58:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22cecdc3 dev-python/mpmath: add 1.3.0 Bug: https://bugs.gentoo.org/900202 Signed-off-by: Sam James gentoo.org> dev-python/mpmath/Manifest | 1 + dev-python/mpmath/mpmath-1.3.0.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest index b9377f33da42..f77e408f7301 100644 --- a/dev-python/mpmath/Manifest +++ b/dev-python/mpmath/Manifest @@ -1 +1,2 @@ DIST mpmath-1.2.1.tar.gz 2135690 BLAKE2B a21e0ef04a025f23e32dad5839db411708266c6cf3408e97ec5c995f197b14f446c1d328bd2e9f50e1c48a2e08239ef7908fcc3aab8659118fc1e0e78106a47e SHA512 2dd908bca26162adcdce0493146d009e04d3d96db965ff2207c332504020fa6f5a5e2af97d38e8fb3e7442a26c1e93a756a8d93b378da720ab7c07753f700d10 +DIST mpmath-1.3.0.tar.gz 2136844 BLAKE2B 42b121896e1bcffe459ac5591a4e0ec41fdd708d5518b1a76bf4cc434f34e5801d77207ea9769d11b6746340aa32a84b58e089c81b5163b48a80ccc6ecd0a345 SHA512 ec703e661323035e3c973fc2e52206e793f6182ed9897e5a483cb35a22421d7869df850cdd89fc1ef4e1bb28b17b4914447116dbeed136a687e582cce0bf9e42 diff --git a/dev-python/mpmath/mpmath-1.3.0.ebuild b/dev-python/mpmath/mpmath-1.3.0.ebuild new file mode 100644 index 000000000000..ddc293e2387e --- /dev/null +++ b/dev-python/mpmath/mpmath-1.3.0.ebuild @@ -0,0 +1,32 @@ +# 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="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 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="gmp matplotlib" + +RDEPEND=" + gmp? ( dev-python/gmpy[${PYTHON_USEDEP}] ) + matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + "${EPYTHON}" mpmath/tests/runtests.py -local || die "Tests failed with ${EPYTHON}" +}