Date: Wednesday, March 8, 2023 @ 07:37:05 Author: arojas Revision: 1416803
upgpkg: python-mpmath 1.3.0-1: Update to 1.3.0 Modified: python-mpmath/trunk/PKGBUILD ----------+ PKGBUILD | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-03-08 05:01:29 UTC (rev 1416802) +++ PKGBUILD 2023-03-08 07:37:05 UTC (rev 1416803) @@ -5,26 +5,25 @@ # Contributor: Iván Pulido <[email protected]> pkgname=python-mpmath -pkgver=1.2.1 -pkgrel=5 +pkgver=1.3.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-setuptools-scm) +makedepends=(python-build python-installer python-setuptools python-wheel) source=(https://pypi.python.org/packages/source/m/mpmath/mpmath-$pkgver.tar.gz) -sha256sums=('79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a') +sha256sums=('7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f') build() { cd mpmath-$pkgver - python setup.py build + python -m build --wheel --no-isolation } package() { cd mpmath-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl - python setup.py install --root "$pkgdir" --optimize=1 - - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname }
