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/mpmath/
Date: Wed,  9 Oct 2024 06:31:07 +0000 (UTC)	[thread overview]
Message-ID: <1728455459.19bdd94c7cda895d3d2b22c703d6dbe1c6ee0087.mgorny@gentoo> (raw)

commit:     19bdd94c7cda895d3d2b22c703d6dbe1c6ee0087
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  9 06:29:17 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct  9 06:30:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19bdd94c

dev-python/mpmath: Bump to 1.4.0_alpha2

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

 dev-python/mpmath/Manifest                   |  1 +
 dev-python/mpmath/mpmath-1.4.0_alpha2.ebuild | 74 ++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/dev-python/mpmath/Manifest b/dev-python/mpmath/Manifest
index 62f82da139aa..87f23d7802cf 100644
--- a/dev-python/mpmath/Manifest
+++ b/dev-python/mpmath/Manifest
@@ -1,2 +1,3 @@
 DIST mpmath-1.3.0.tar.gz 508106 BLAKE2B 9d4eebbbb6788dd3ee45c8c30068ef3512043dd09ab626cbaf69b0f6bdf057a6e8c53c34e3dda7627db923f0d536a0bebf83916d8942f4dde9546bb8e0046f33 SHA512 a68028150095d743eae9669a0f70cbe6b7bcb4d27dfad6b1a96575f0885ec7306459a2a464117bab18779883ee8b4293502b4bd0ebd8672767e1d08d38f8b202
 DIST mpmath-1.4.0a1.tar.gz 2063946 BLAKE2B 0c6a86b1c8dc9addc3eb82586d4c4182ae6a9318cbe45d4fc699b9fbf9539774ae30f11c2d50137a3aa16ed4b0c328990483c2ceea812f86751cfa3ce419de5c SHA512 260afb20faaa949b89054ced3b039e346086d47c6ea018c8d226a0c42d9aa8f792611fe709c894a0df6930a0703dc8cfcf814432eba7ac977a821effd8879903
+DIST mpmath-1.4.0a2.tar.gz 2079112 BLAKE2B 9d2d99dddd4e800b3860f38ef1955b7d803c928d54a7e5d7b07386a127c5a6477818e3ac5c9f679f596c7a2c21bbf430f0bb2348c70ab77d6a888cfb19c6a218 SHA512 523775f3e7d96fd9e0d2c5e4caf855f62d0b683ac00df9dce4fd50d8764bfcf77282fdb34afb51bc53bb303178e7f0e8b6d72700e530d3ca11e3d365b09fc4de

diff --git a/dev-python/mpmath/mpmath-1.4.0_alpha2.ebuild b/dev-python/mpmath/mpmath-1.4.0_alpha2.ebuild
new file mode 100644
index 000000000000..eef610f1e8c6
--- /dev/null
+++ b/dev-python/mpmath/mpmath-1.4.0_alpha2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="Python library for arbitrary-precision floating-point arithmetic"
+HOMEPAGE="
+	https://mpmath.org/
+	https://github.com/mpmath/mpmath/
+	https://pypi.org/project/mpmath/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+
+BDEPEND="
+	dev-python/setuptools-scm[${PYTHON_USEDEP}]
+	test? (
+		dev-python/hypothesis[${PYTHON_USEDEP}]
+		dev-python/numpy[${PYTHON_USEDEP}]
+		dev-python/packaging[${PYTHON_USEDEP}]
+		dev-python/pexpect[${PYTHON_USEDEP}]
+		dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+		dev-python/pytest-timeout[${PYTHON_USEDEP}]
+		$(python_gen_cond_dep '
+			dev-python/gmpy[${PYTHON_USEDEP}]
+		' 'python3*')
+		!mips? (
+			dev-python/matplotlib[${PYTHON_USEDEP}]
+			$(python_gen_cond_dep '
+				dev-python/ipython[${PYTHON_USEDEP}]
+			' 3.{10..12})
+		)
+	)
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# TODO
+		mpmath/tests/test_cli.py::test_bare_console_bare_division
+		mpmath/tests/test_cli.py::test_bare_console_no_bare_division
+		mpmath/tests/test_cli.py::test_bare_console_pretty
+		mpmath/tests/test_cli.py::test_bare_console_without_ipython
+		mpmath/tests/test_cli.py::test_bare_console_wrap_floats
+	)
+
+	case ${EPYTHON} in
+		pypy3)
+			EPYTEST_DESELECT+=(
+				# minor whitespace mismatch
+				# https://github.com/mpmath/mpmath/issues/874
+				mpmath/tests/test_format.py::test_mpf_floats_bulk
+				mpmath/tests/test_format.py::test_mpc_complexes
+			)
+			;;
+	esac
+
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	epytest -p rerunfailures --reruns=5 -p timeout
+}
+
+pkg_postinst() {
+	optfeature "gmp support" dev-python/gmpy
+	optfeature "matplotlib support" dev-python/matplotlib
+}


             reply	other threads:[~2024-10-09  6:31 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-09  6:31 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 11:07 [gentoo-commits] repo/gentoo:master commit in: dev-python/mpmath/ Sam James
2025-02-23  2:00 Sam James
2025-02-16  4:15 Sam James
2025-02-15 13:28 Sam James
2025-02-15  8:35 Arthur Zamarin
2025-02-08 18:18 Sam James
2025-02-08 13:55 Arthur Zamarin
2025-02-08 12:04 Arthur Zamarin
2025-01-30  4:10 Michał Górny
2025-01-23  5:39 Michał Górny
2024-10-31  0:24 Sam James
2024-10-30 15:19 Michał Górny
2024-10-30 15:19 Michał Górny
2024-10-30 14:53 Sam James
2024-10-30 14:48 Michał Górny
2024-10-26 11:52 Michał Górny
2024-09-09 19:55 Arthur Zamarin
2024-08-31  4:48 Sam James
2024-08-30 14:59 Ionen Wolkens
2024-08-30 14:59 Ionen Wolkens
2024-08-29 16:33 Arthur Zamarin
2024-08-29 14:28 Ionen Wolkens
2024-08-29 14:28 Ionen Wolkens
2024-08-29 14:28 Ionen Wolkens
2024-08-29 14:28 Ionen Wolkens
2024-08-12 22:05 Jakov Smolić
2024-08-12 22:05 Jakov Smolić
2024-07-20 11:24 Arthur Zamarin
2024-07-20 11:24 Arthur Zamarin
2023-11-24 15:22 Arthur Zamarin
2023-11-17 16:51 Michał Górny
2023-11-05 20:58 Michał Górny
2023-10-05 17:25 Arthur Zamarin
2023-03-11 10:25 Michał Górny
2023-03-11  9:49 Michał Górny
2023-03-11  9:49 Michał Górny
2023-03-11  9:49 Michał Górny
2023-03-07 16:58 Sam James
2022-09-22 14:29 Marek Szuba
2022-06-04 19:57 Michał Górny
2021-11-22  3:07 Yixun Lan
2021-09-03 14:41 Arthur Zamarin
2021-09-03 14:41 Arthur Zamarin
2021-09-03 14:41 Arthur Zamarin
2021-03-15  3:50 Sam James
2021-03-15  3:50 Sam James
2021-02-09 18:48 Michał Górny
2021-02-03 10:48 Sam James
2020-10-27 19:58 Sam James
2020-08-02  6:46 Michał Górny
2020-08-02  6:46 Michał Górny
2020-08-02  6:46 Michał Górny
2020-07-12 16:57 Michał Górny
2020-05-13 10:08 Agostino Sarubbo
2020-05-12 13:05 Agostino Sarubbo
2020-04-29 16:40 Pacho Ramos
2020-01-17 10:02 Michał Górny
2018-10-02 13:46 Andrey Grozin
2017-12-02 20:55 Mike Gilbert
2017-10-02 14:02 Andrey Grozin
2017-03-30 18:25 Andrey Grozin
2017-03-30 18:21 Andrey Grozin
2017-02-02 18:43 David Seifert
2016-12-29 10:05 Agostino Sarubbo
2016-03-18 20:48 Andrey Grozin

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=1728455459.19bdd94c7cda895d3d2b22c703d6dbe1c6ee0087.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