From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-mpmath: depend on python3-gmpy2
Date: Wed, 13 Oct 2021 01:49:18 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33511@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]
There is a new pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages mpmath
https://github.com/void-linux/void-packages/pull/33511
python3-mpmath: depend on python3-gmpy2
By default mpmath uses python's builtin long integers which are very
slow. Installing python3-gmpy2 makes it use gmp, mpfr, mpc for that,
which is asymptotically faster.
After #33481 it was agreed to add it to depends.
Also:
- remove INSTALL.msg; for plotting, mpmath itself gives a warning.
- Adopt.
[ci-skip] since this will fail before #33481 is merged, but nothing is really changed
A patch file from https://github.com/void-linux/void-packages/pull/33511.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mpmath-33511.patch --]
[-- Type: text/x-diff, Size: 1964 bytes --]
From 317ea37af5920083b248f26e7c6932530ca52cee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 12 Oct 2021 20:38:13 -0300
Subject: [PATCH] python3-mpmath: depend on python3-gmpy2
By default mpmath uses python's builtin long integers which are very
slow. Installing python3-gmpy2 makes it use gmp, mpfr, mpc for that,
which is asymptotically faster.
After a discussion in #33481 it was decided to add it to depends.
Also:
- remove INSTALL.msg; for plotting, mpmath itself gives a warning.
- Adopt.
---
srcpkgs/python3-mpmath/INSTALL.msg | 4 ----
srcpkgs/python3-mpmath/template | 6 +++---
2 files changed, 3 insertions(+), 7 deletions(-)
delete mode 100644 srcpkgs/python3-mpmath/INSTALL.msg
diff --git a/srcpkgs/python3-mpmath/INSTALL.msg b/srcpkgs/python3-mpmath/INSTALL.msg
deleted file mode 100644
index d38bcd667418..000000000000
--- a/srcpkgs/python3-mpmath/INSTALL.msg
+++ /dev/null
@@ -1,4 +0,0 @@
-If you require plotting capabilities, install python3-matplotlib.
-
-mpmath internally uses Python's builtin long integers by default.
-For much faster high-precision arithmetic, install python3-gmpy2.
diff --git a/srcpkgs/python3-mpmath/template b/srcpkgs/python3-mpmath/template
index 4087ac129345..edd45ee5b6e8 100644
--- a/srcpkgs/python3-mpmath/template
+++ b/srcpkgs/python3-mpmath/template
@@ -1,14 +1,14 @@
# Template file for 'python3-mpmath'
pkgname=python3-mpmath
version=1.2.1
-revision=2
+revision=3
wrksrc="mpmath-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
-depends="python3"
+depends="python3 python3-gmpy2"
checkdepends="python3-pytest"
short_desc="Python3 library for arbitrary-precision floating-point arithmetic"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="http://mpmath.org/"
distfiles="${PYPI_SITE}/m/mpmath/mpmath-${version}.tar.gz"
next reply other threads:[~2021-10-12 23:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-12 23:49 tornaria [this message]
2021-10-13 19:00 ` [PR PATCH] [Merged]: " ahesford
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33511@inbox.vuxu.org \
--to=tornaria@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).