From 5e6df5492fce5bc988f2e8be383cc521c8e7b341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= 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 " 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