* [PR PATCH] python3-mpmath: update to 1.3.0.
@ 2023-03-14 2:17 tornaria
2023-03-16 12:35 ` [PR REVIEW] " abenson
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: tornaria @ 2023-03-14 2:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1272 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/42753
python3-mpmath: update to 1.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly** (tested with sagemath)
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/42753.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mpmath-42753.patch --]
[-- Type: text/x-diff, Size: 2289 bytes --]
From 1b1ef19e9633c40278593e7997618f2c3adf0d64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 11 Mar 2023 11:50:05 -0300
Subject: [PATCH] python3-mpmath: update to 1.3.0.
---
srcpkgs/python3-mpmath/patches/fix-pytest.patch | 13 +++++++++++++
srcpkgs/python3-mpmath/template | 15 ++++++++++-----
2 files changed, 23 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/python3-mpmath/patches/fix-pytest.patch
diff --git a/srcpkgs/python3-mpmath/patches/fix-pytest.patch b/srcpkgs/python3-mpmath/patches/fix-pytest.patch
new file mode 100644
index 000000000000..4dcbec3acf73
--- /dev/null
+++ b/srcpkgs/python3-mpmath/patches/fix-pytest.patch
@@ -0,0 +1,13 @@
+--- a/setup.cfg 2023-03-07 13:47:06.191945300 -0300
++++ b/setup.cfg 2023-03-11 13:30:43.365593629 -0300
+@@ -50,7 +50,9 @@
+ addopts = --doctest-modules
+ --ignore=setup.py
+ --doctest-glob='*.txt'
+-norecursedirs = doc/source/plots demo .eggs .git
++norecursedirs = doc/source/plots demo .eggs .git build
++markers =
++ slow: marks tests as slow (deselect with '-m "not slow"')
+
+ [coverage:run]
+ branch = True
diff --git a/srcpkgs/python3-mpmath/template b/srcpkgs/python3-mpmath/template
index 4c4c6666e763..b03bd5f611cd 100644
--- a/srcpkgs/python3-mpmath/template
+++ b/srcpkgs/python3-mpmath/template
@@ -1,17 +1,22 @@
# Template file for 'python3-mpmath'
pkgname=python3-mpmath
-version=1.2.1
-revision=4
+version=1.3.0
+revision=1
build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+hostmakedepends="python3-setuptools"
depends="python3 python3-gmpy2"
-checkdepends="python3-pytest"
+checkdepends="python3-pytest python3-gmpy2"
short_desc="Python3 library for arbitrary-precision floating-point arithmetic"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="http://mpmath.org/"
+changelog="https://github.com/mpmath/mpmath/raw/master/CHANGES"
distfiles="${PYPI_SITE}/m/mpmath/mpmath-${version}.tar.gz"
-checksum=79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a
+checksum=7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f
+
+if [ "$XBPS_CHECK_PKGS" != full ]; then
+ make_check_args="-m not(slow)"
+fi
post_install() {
vlicense LICENSE
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR REVIEW] python3-mpmath: update to 1.3.0.
2023-03-14 2:17 [PR PATCH] python3-mpmath: update to 1.3.0 tornaria
@ 2023-03-16 12:35 ` abenson
2023-03-19 12:30 ` [PR PATCH] [Updated] " tornaria
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: abenson @ 2023-03-16 12:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
New review comment by abenson on void-packages repository
https://github.com/void-linux/void-packages/pull/42753#discussion_r1138587965
Comment:
Could just add `${depends}` to avoid duplication if more depends are added in the future.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] python3-mpmath: update to 1.3.0.
2023-03-14 2:17 [PR PATCH] python3-mpmath: update to 1.3.0 tornaria
2023-03-16 12:35 ` [PR REVIEW] " abenson
@ 2023-03-19 12:30 ` tornaria
2023-03-19 12:32 ` [PR REVIEW] " tornaria
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2023-03-19 12:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1277 bytes --]
There is an updated 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/42753
python3-mpmath: update to 1.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly** (tested with sagemath)
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/42753.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mpmath-42753.patch --]
[-- Type: text/x-diff, Size: 2284 bytes --]
From 5e6df5492fce5bc988f2e8be383cc521c8e7b341 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 11 Mar 2023 11:50:05 -0300
Subject: [PATCH] python3-mpmath: update to 1.3.0.
---
srcpkgs/python3-mpmath/patches/fix-pytest.patch | 13 +++++++++++++
srcpkgs/python3-mpmath/template | 15 ++++++++++-----
2 files changed, 23 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/python3-mpmath/patches/fix-pytest.patch
diff --git a/srcpkgs/python3-mpmath/patches/fix-pytest.patch b/srcpkgs/python3-mpmath/patches/fix-pytest.patch
new file mode 100644
index 000000000000..4dcbec3acf73
--- /dev/null
+++ b/srcpkgs/python3-mpmath/patches/fix-pytest.patch
@@ -0,0 +1,13 @@
+--- a/setup.cfg 2023-03-07 13:47:06.191945300 -0300
++++ b/setup.cfg 2023-03-11 13:30:43.365593629 -0300
+@@ -50,7 +50,9 @@
+ addopts = --doctest-modules
+ --ignore=setup.py
+ --doctest-glob='*.txt'
+-norecursedirs = doc/source/plots demo .eggs .git
++norecursedirs = doc/source/plots demo .eggs .git build
++markers =
++ slow: marks tests as slow (deselect with '-m "not slow"')
+
+ [coverage:run]
+ branch = True
diff --git a/srcpkgs/python3-mpmath/template b/srcpkgs/python3-mpmath/template
index 4c4c6666e763..4ebbbb57aec6 100644
--- a/srcpkgs/python3-mpmath/template
+++ b/srcpkgs/python3-mpmath/template
@@ -1,17 +1,22 @@
# Template file for 'python3-mpmath'
pkgname=python3-mpmath
-version=1.2.1
-revision=4
+version=1.3.0
+revision=1
build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+hostmakedepends="python3-setuptools"
depends="python3 python3-gmpy2"
-checkdepends="python3-pytest"
+checkdepends="$depends python3-pytest"
short_desc="Python3 library for arbitrary-precision floating-point arithmetic"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="http://mpmath.org/"
+changelog="https://github.com/mpmath/mpmath/raw/master/CHANGES"
distfiles="${PYPI_SITE}/m/mpmath/mpmath-${version}.tar.gz"
-checksum=79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a
+checksum=7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f
+
+if [ "$XBPS_CHECK_PKGS" != full ]; then
+ make_check_args="-m not(slow)"
+fi
post_install() {
vlicense LICENSE
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR REVIEW] python3-mpmath: update to 1.3.0.
2023-03-14 2:17 [PR PATCH] python3-mpmath: update to 1.3.0 tornaria
2023-03-16 12:35 ` [PR REVIEW] " abenson
2023-03-19 12:30 ` [PR PATCH] [Updated] " tornaria
@ 2023-03-19 12:32 ` tornaria
2023-03-19 14:37 ` [PR PATCH] [Updated] " tornaria
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2023-03-19 12:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 153 bytes --]
New review comment by tornaria on void-packages repository
https://github.com/void-linux/void-packages/pull/42753#discussion_r1141350368
Comment:
Done
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] python3-mpmath: update to 1.3.0.
2023-03-14 2:17 [PR PATCH] python3-mpmath: update to 1.3.0 tornaria
` (2 preceding siblings ...)
2023-03-19 12:32 ` [PR REVIEW] " tornaria
@ 2023-03-19 14:37 ` tornaria
2023-03-19 14:38 ` tornaria
2023-03-25 22:02 ` [PR PATCH] [Merged]: " leahneukirchen
5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2023-03-19 14:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1277 bytes --]
There is an updated 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/42753
python3-mpmath: update to 1.3.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly** (tested with sagemath)
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/42753.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mpmath-42753.patch --]
[-- Type: text/x-diff, Size: 3427 bytes --]
From 33fae27f8320888b9b1969e08ed6c93ee526631c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Sat, 11 Mar 2023 11:50:05 -0300
Subject: [PATCH] python3-mpmath: update to 1.3.0.
---
.../python3-mpmath/patches/fix-pytest.patch | 47 +++++++++++++++++++
srcpkgs/python3-mpmath/template | 15 ++++--
2 files changed, 57 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/python3-mpmath/patches/fix-pytest.patch
diff --git a/srcpkgs/python3-mpmath/patches/fix-pytest.patch b/srcpkgs/python3-mpmath/patches/fix-pytest.patch
new file mode 100644
index 000000000000..f67d5b39b329
--- /dev/null
+++ b/srcpkgs/python3-mpmath/patches/fix-pytest.patch
@@ -0,0 +1,47 @@
+commit ccebfbacbe1dc65716b8b7a9cd3c930447dbfa03
+Author: Gonzalo Tornaría <tornaria@cmat.edu.uy>
+Date: Sun Mar 19 11:03:30 2023 -0300
+
+ Fix running pytest
+
+ Running pytest doesn't work quite right. Changes here:
+ - move all pytest configuration from setup.cfg to pytest.ini to avoid
+ having different configurations
+ - add . to pythonpath so the mpmath module here takes precedence in
+ case mpmath is installed in system
+ - fix norecursedirs: doc/source/plots -> docs/plots
+ - add build to norecursedirs so pytest works even after building mpmath
+ - add '*.rst' to globs so pytest picks a few tests in docs/*.rst
+
+diff --git a/pytest.ini b/pytest.ini
+index 95697f2..93f753f 100644
+--- a/pytest.ini
++++ b/pytest.ini
+@@ -0,0 +1,10 @@
++[pytest]
++pythonpath = .
++doctest_optionflags = IGNORE_EXCEPTION_DETAIL
++addopts = --doctest-modules
++ --ignore=setup.py
++ --doctest-glob='*.txt'
++ --doctest-glob='*.rst'
++norecursedirs = docs/plots demo .eggs .git build
++markers =
++ slow: marks tests as slow (deselect with '-m "not slow"')
+diff --git a/setup.cfg b/setup.cfg
+index 9dd3067..2761b08 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -45,12 +45,6 @@ docs = sphinx
+ select = E101,W191,W291,W293,E111,E112,E113,W292,W391
+ exclude = .eggs,.git
+
+-[tool:pytest]
+-doctest_optionflags = IGNORE_EXCEPTION_DETAIL
+-addopts = --doctest-modules
+- --ignore=setup.py
+- --doctest-glob='*.txt'
+-norecursedirs = doc/source/plots demo .eggs .git
+
+ [coverage:run]
+ branch = True
diff --git a/srcpkgs/python3-mpmath/template b/srcpkgs/python3-mpmath/template
index 4c4c6666e763..4ebbbb57aec6 100644
--- a/srcpkgs/python3-mpmath/template
+++ b/srcpkgs/python3-mpmath/template
@@ -1,17 +1,22 @@
# Template file for 'python3-mpmath'
pkgname=python3-mpmath
-version=1.2.1
-revision=4
+version=1.3.0
+revision=1
build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+hostmakedepends="python3-setuptools"
depends="python3 python3-gmpy2"
-checkdepends="python3-pytest"
+checkdepends="$depends python3-pytest"
short_desc="Python3 library for arbitrary-precision floating-point arithmetic"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="http://mpmath.org/"
+changelog="https://github.com/mpmath/mpmath/raw/master/CHANGES"
distfiles="${PYPI_SITE}/m/mpmath/mpmath-${version}.tar.gz"
-checksum=79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a
+checksum=7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f
+
+if [ "$XBPS_CHECK_PKGS" != full ]; then
+ make_check_args="-m not(slow)"
+fi
post_install() {
vlicense LICENSE
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: python3-mpmath: update to 1.3.0.
2023-03-14 2:17 [PR PATCH] python3-mpmath: update to 1.3.0 tornaria
` (3 preceding siblings ...)
2023-03-19 14:37 ` [PR PATCH] [Updated] " tornaria
@ 2023-03-19 14:38 ` tornaria
2023-03-25 22:02 ` [PR PATCH] [Merged]: " leahneukirchen
5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2023-03-19 14:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 258 bytes --]
New comment by tornaria on void-packages repository
https://github.com/void-linux/void-packages/pull/42753#issuecomment-1475279012
Comment:
I changed the patch to match my PR https://github.com/mpmath/mpmath/pull/659, hopefully it will be merged upstream.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Merged]: python3-mpmath: update to 1.3.0.
2023-03-14 2:17 [PR PATCH] python3-mpmath: update to 1.3.0 tornaria
` (4 preceding siblings ...)
2023-03-19 14:38 ` tornaria
@ 2023-03-25 22:02 ` leahneukirchen
5 siblings, 0 replies; 7+ messages in thread
From: leahneukirchen @ 2023-03-25 22:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1120 bytes --]
There's a merged pull request on the void-packages repository
python3-mpmath: update to 1.3.0.
https://github.com/void-linux/void-packages/pull/42753
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly** (tested with sagemath)
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-03-25 22:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-14 2:17 [PR PATCH] python3-mpmath: update to 1.3.0 tornaria
2023-03-16 12:35 ` [PR REVIEW] " abenson
2023-03-19 12:30 ` [PR PATCH] [Updated] " tornaria
2023-03-19 12:32 ` [PR REVIEW] " tornaria
2023-03-19 14:37 ` [PR PATCH] [Updated] " tornaria
2023-03-19 14:38 ` tornaria
2023-03-25 22:02 ` [PR PATCH] [Merged]: " leahneukirchen
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).