public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/gmpy/files/, dev-python/gmpy/
Date: Thu, 31 Oct 2024 05:00:18 +0000 (UTC)	[thread overview]
Message-ID: <1730349467.0fa422704294e82bd03b9e9e4a8f3a2081598ad3.mgorny@gentoo> (raw)

commit:     0fa422704294e82bd03b9e9e4a8f3a2081598ad3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 31 04:37:47 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct 31 04:37:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fa42270

dev-python/gmpy: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/gmpy/Manifest                          |  3 --
 dev-python/gmpy/files/gmpy-2.1.5-mpfr-4.2.1.patch | 31 --------------
 dev-python/gmpy/gmpy-2.1.5-r2.ebuild              | 51 -----------------------
 3 files changed, 85 deletions(-)

diff --git a/dev-python/gmpy/Manifest b/dev-python/gmpy/Manifest
index 01ce77a4a165..0438447f5105 100644
--- a/dev-python/gmpy/Manifest
+++ b/dev-python/gmpy/Manifest
@@ -1,4 +1 @@
-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.1.tar.gz 234228 BLAKE2B 80188c6abd30ee5b5ebc4d233d3d97dd78be7f9d21d0649429e87b23d3e6d8b5b9269c792d481f24bd3b43d28e012bdd64ee6bb5d0137e3ac759742c845186c1 SHA512 2a3dc011295a373e10455e1f133aa3063cff24cdac0151cee9f29ce5855c3e44c3e3aab61bf13c11c9df1147b9183c6c387db1cb4dcb270b9dce1a9cb521f5dc

diff --git a/dev-python/gmpy/files/gmpy-2.1.5-mpfr-4.2.1.patch b/dev-python/gmpy/files/gmpy-2.1.5-mpfr-4.2.1.patch
deleted file mode 100644
index 4bbc9097824e..000000000000
--- a/dev-python/gmpy/files/gmpy-2.1.5-mpfr-4.2.1.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 68a6b489c3d8d95b2658a1ed884fb99f4bd955c1 Mon Sep 17 00:00:00 2001
-From: Sergey B Kirpichev <skirpichev@gmail.com>
-Date: Sun, 3 Sep 2023 02:35:19 +0300
-Subject: [PATCH] Exclude MPFR workaround for MPFR >= 4.2.1
-
-Co-authored-by: Vincent Lefevre <vincent@vinc17.net>
-
-Closes #418
----
- src/gmpy2_format.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/gmpy2_format.c b/src/gmpy2_format.c
-index 3e450c96..303bb7bf 100644
---- a/src/gmpy2_format.c
-+++ b/src/gmpy2_format.c
-@@ -592,12 +592,14 @@ GMPy_MPC_Format(PyObject *self, PyObject *args)
-     if (mpcstyle)
-         strcat(tempbuf, " ");
-     else {
-+#if MPFR_VERSION < MPFR_VERSION_NUM(4,2,1)
-         /* Need to insert + if imag is nan or +inf. */
-         if (mpfr_nan_p(mpc_imagref(MPC(self))) ||
-             (mpfr_inf_p(mpc_imagref(MPC(self))) &&
-              mpfr_sgn(mpc_imagref(MPC(self))) > 0)) {
-             strcat(tempbuf, "+");
-         }
-+#endif
-     }
-     strcat(tempbuf, imagbuf);
-     if (strlen(imagbuf) < 50 &&

diff --git a/dev-python/gmpy/gmpy-2.1.5-r2.ebuild b/dev-python/gmpy/gmpy-2.1.5-r2.ebuild
deleted file mode 100644
index dd824a5359e1..000000000000
--- a/dev-python/gmpy/gmpy-2.1.5-r2.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# 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/
-"
-SRC_URI+="
-	https://dev.gentoo.org/~grozin/${P}-py3.12.patch.gz
-	https://github.com/tornaria/void-packages/raw/722b32aa405804b79a74256708de6a511e255b4b/srcpkgs/python3-gmpy2/patches/cleanup-object-caching.patch
-		-> ${P}-cache.patch
-"
-
-LICENSE="LGPL-3+"
-SLOT="2"
-KEYWORDS="amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv sparc 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}
-"
-
-distutils_enable_sphinx docs
-
-PATCHES=(
-	"${WORKDIR}/${P}-py3.12.patch"
-	# https://github.com/aleaxit/gmpy/commit/7351e2eb1abf4b37a47a822eb3f3f29f90c7f854
-	# rebased by Void; needed for mpfr 4.2.1
-	"${DISTDIR}/${P}-cache.patch"
-	# https://github.com/aleaxit/gmpy/commit/68a6b489c3d8d95b2658a1ed884fb99f4bd955c1
-	"${FILESDIR}/${P}-mpfr-4.2.1.patch"
-)
-
-python_test() {
-	cd test || die
-	"${EPYTHON}" runtests.py || die "tests failed under ${EPYTHON}"
-}


             reply	other threads:[~2024-10-31  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-31  5:00 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-12 11:42 [gentoo-commits] repo/gentoo:master commit in: dev-python/gmpy/files/, dev-python/gmpy/ Michał Górny
2021-07-12  9:11 Michał Górny
2021-05-15 11:51 Michał Górny
2018-04-06  5:23 Matt Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1730349467.0fa422704294e82bd03b9e9e4a8f3a2081598ad3.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox