Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
python-mpmath
Commits:
fa32a89c by Antonio Rojas at 2026-02-23T08:57:13+01:00
upgpkg: 1.4.0-1: Upstream update
- - - - -
3 changed files:
- .SRCINFO
- .nvchecker.toml
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,16 +1,22 @@
pkgbase = python-mpmath
pkgdesc = Python library for arbitrary-precision floating-point
arithmetic.
- pkgver = 1.3.0
- pkgrel = 5
+ pkgver = 1.4.0
+ pkgrel = 1
url = http://mpmath.org/
arch = any
- license = BSD
+ license = BSD-3-Clause
+ checkdepends = python-hypothesis
+ checkdepends = python-pexpect
+ checkdepends = python-pytest
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools
+ makedepends = python-setuptools-scm
makedepends = python-wheel
+ depends = python
depends = python-gmpy2
- source =
https://pypi.python.org/packages/source/m/mpmath/mpmath-1.3.0.tar.gz
- sha256sums =
7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f
+ source = git+https://github.com/mpmath/mpmath#tag=1.4.0
+ sha256sums =
29a6b2f8f5d6e39f846ce0e523b6cef05c1227c42ac6f51c1a26e42746e5fcc4
pkgname = python-mpmath
=====================================
.nvchecker.toml
=====================================
@@ -1,3 +1,4 @@
[python-mpmath]
-source = 'pypi'
-pypi = 'mpmath'
+source = 'git'
+git = 'https://github.com/mpmath/mpmath'
+include_regex = '[\d.]+'
=====================================
PKGBUILD
=====================================
@@ -5,24 +5,38 @@
# Contributor: Iván Pulido <[email protected]>
pkgname=python-mpmath
-pkgver=1.3.0
-pkgrel=5
+pkgver=1.4.0
+pkgrel=1
pkgdesc='Python library for arbitrary-precision floating-point arithmetic.'
arch=(any)
url='http://mpmath.org/'
-license=(BSD)
-depends=(python-gmpy2)
-makedepends=(python-build python-installer python-setuptools python-wheel)
-source=(https://pypi.python.org/packages/source/m/mpmath/mpmath-$pkgver.tar.gz)
-sha256sums=('7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f')
+license=(BSD-3-Clause)
+depends=(python
+ python-gmpy2)
+makedepends=(git
+ python-build
+ python-installer
+ python-setuptools
+ python-setuptools-scm
+ python-wheel)
+checkdepends=(python-hypothesis
+ python-pexpect
+ python-pytest)
+source=(git+https://github.com/mpmath/mpmath#tag=$pkgver)
+sha256sums=('29a6b2f8f5d6e39f846ce0e523b6cef05c1227c42ac6f51c1a26e42746e5fcc4')
build() {
- cd mpmath-$pkgver
+ cd mpmath
python -m build --wheel --no-isolation
}
+#check() {
+# cd mpmath
+# pytest -v
+#}
+
package() {
- cd mpmath-$pkgver
+ cd mpmath
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-mpmath/-/commit/fa32a89c5105dcbdfa3761dc9b3bd5d18698d0d3
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-mpmath/-/commit/fa32a89c5105dcbdfa3761dc9b3bd5d18698d0d3
You're receiving this email because of your account on gitlab.archlinux.org.