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 1C57F158004 for ; Tue, 2 Jul 2024 06:59:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA20D2BC04F; Tue, 2 Jul 2024 06:59:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 99D442BC04F for ; Tue, 2 Jul 2024 06:59:00 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 57819343075 for ; Tue, 2 Jul 2024 06:58:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 01FD61DC1 for ; Tue, 2 Jul 2024 06:58:57 +0000 (UTC) From: "Michał Górny" 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" Message-ID: <1719903528.5d18cc02965d38e6149c99b51d9ec709adeb669d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/gmpy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/gmpy/Manifest dev-python/gmpy/gmpy-2.2.0.ebuild X-VCS-Directories: dev-python/gmpy/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5d18cc02965d38e6149c99b51d9ec709adeb669d X-VCS-Branch: master Date: Tue, 2 Jul 2024 06:58:57 +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: 23fd48e2-72d5-47c4-8dfd-07665634ec85 X-Archives-Hash: c51648191dd1e764dd80b42cc16757a8 commit: 5d18cc02965d38e6149c99b51d9ec709adeb669d Author: Michał Górny gentoo org> AuthorDate: Tue Jul 2 05:31:27 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jul 2 06:58:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d18cc02 dev-python/gmpy: Bump to 2.2.0 Signed-off-by: Michał Górny gentoo.org> dev-python/gmpy/Manifest | 1 + dev-python/gmpy/gmpy-2.2.0.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/gmpy/Manifest b/dev-python/gmpy/Manifest index 545491749d8f..8009f10c3fe2 100644 --- a/dev-python/gmpy/Manifest +++ b/dev-python/gmpy/Manifest @@ -1,3 +1,4 @@ DIST gmpy-2.1.5-cache.patch 19769 BLAKE2B 72d61ea00fda608ae92c5319828cb5c0003a69cd4be4bf3cde62574a93987b2316df5334d290eca7d48e44e423227d0b5a22c142c4a95b42aebb4560c3bf7ea6 SHA512 f16dbd78a99f27c6f588b814bb9b307429927eae9828fcea04225f163c1cd28968c2994689c4802dc0b619cdfd7c50401d1ec06c220756268af17499613fda1b DIST gmpy-2.1.5-py3.12.patch.gz 1817 BLAKE2B cbea3a9c662d52c5bfddb82ab5e920474a52c1dd715b3b9fecf55e5ee097297168ddb7961b6156e4c1f902e911890c77252d119c3651f345f01cad144ed44127 SHA512 26195e8e9a87147a05fd07fa325f262c2004fcba2b8857dbc87ca7a1e9e5e64b4a47d35be77edc263829e5df1db6a0acda6904307d01529eba832feb4f0f3f71 DIST gmpy2-2.1.5.tar.gz 261709 BLAKE2B 50958868866fadc49c97534780fa491fadfaaea902f3fd4bd51f4e76a94602a6d030a1ee6685aac742e25b5fbe4865e1419307f7215c8fb553b166761d63607a SHA512 92e16359ee1df63faaeae4a3cbefe8cdbbc576d8eda377f08d59f12b70dfe9337a299686e85d1efee6c2f5b41fc4583643fecc68ea38a500c7f876c56fc169e7 +DIST gmpy2-2.2.0.tar.gz 233943 BLAKE2B e25f47fe25896df7e2ac7dce0eb8bdbe39bb6e12a07c600483bed534332b07f27bb70b23ae7801212df3c1a6c7731fba2f92f8215c618ea0fcc86d175abfc439 SHA512 402d7fc3c320e6d4742b3bd4dd3bf24c70192c1196f522def067f1b1d583c4b60d7497f95ba71691bafbccbe1e0fad8f0d2ec6fee455b9521bdc303510744188 diff --git a/dev-python/gmpy/gmpy-2.2.0.ebuild b/dev-python/gmpy/gmpy-2.2.0.ebuild new file mode 100644 index 000000000000..4962df5e3ca3 --- /dev/null +++ b/dev-python/gmpy/gmpy-2.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN="gmpy2" +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries" +HOMEPAGE=" + https://github.com/aleaxit/gmpy/ + https://pypi.org/project/gmpy2/ +" + +LICENSE="LGPL-3+" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +DEPEND=" + >=dev-libs/mpc-1.0.2:= + >=dev-libs/mpfr-3.1.2:= + dev-libs/gmp:0= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/mpmath[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + rm -rf gmpy2 || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}