public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mpmath/
Date: Thu,  5 Oct 2023 17:25:24 +0000 (UTC)	[thread overview]
Message-ID: <1696525844.68e0e2c5e8992ce587a8f89f9636b289a0e21967.arthurzam@gentoo> (raw)

commit:     68e0e2c5e8992ce587a8f89f9636b289a0e21967
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  5 17:10:44 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Oct  5 17:10:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68e0e2c5

dev-python/mpmath: enable py3.12, use optfeature

After verifying the code, the deps behind 2 USE flags are just
optional runtime dependencies, so just use optfeature for it.

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/mpmath/mpmath-1.3.0-r1.ebuild | 35 ++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/dev-python/mpmath/mpmath-1.3.0-r1.ebuild b/dev-python/mpmath/mpmath-1.3.0-r1.ebuild
new file mode 100644
index 000000000000..d6d7fdab14b5
--- /dev/null
+++ b/dev-python/mpmath/mpmath-1.3.0-r1.ebuild
@@ -0,0 +1,35 @@
+# 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_{10..12} )
+
+inherit distutils-r1 optfeature pypi virtualx
+
+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 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+
+distutils_enable_tests pytest
+
+src_test() {
+	virtx distutils-r1_src_test
+}
+
+python_test() {
+	"${EPYTHON}" mpmath/tests/runtests.py -local || die "Tests failed with ${EPYTHON}"
+}
+
+pkg_postinst() {
+	optfeature "gmp support" dev-python/gmpy
+	optfeature "matplotlib support" dev-python/matplotlib
+}


             reply	other threads:[~2023-10-05 17:25 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-05 17:25 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-09  6:31 [gentoo-commits] repo/gentoo:master commit in: dev-python/mpmath/ 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-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=1696525844.68e0e2c5e8992ce587a8f89f9636b289a0e21967.arthurzam@gentoo \
    --to=arthurzam@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