Date: Wednesday, March 8, 2023 @ 07:37:14
  Author: arojas
Revision: 1416804

archrelease: copy trunk to community-any

Added:
  python-mpmath/repos/community-any/PKGBUILD
    (from rev 1416803, python-mpmath/trunk/PKGBUILD)
Deleted:
  python-mpmath/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   59 +++++++++++++++++++++++++++++------------------------------
 1 file changed, 29 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-08 07:37:05 UTC (rev 1416803)
+++ PKGBUILD    2023-03-08 07:37:14 UTC (rev 1416804)
@@ -1,30 +0,0 @@
-# Maintainer: Antonio Rojas <[email protected]>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
-# Contributor: Rafael G. Martins <[email protected]>
-# Contributor: Iván Pulido <[email protected]>
-
-pkgname=python-mpmath
-pkgver=1.2.1
-pkgrel=5
-pkgdesc='Python library for arbitrary-precision floating-point arithmetic.'
-arch=(any)
-url='http://mpmath.org/'
-license=(BSD)
-depends=(python-gmpy2)
-makedepends=(python-setuptools-scm)
-source=(https://pypi.python.org/packages/source/m/mpmath/mpmath-$pkgver.tar.gz)
-sha256sums=('79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a')
-
-build() {
-  cd mpmath-$pkgver
-  python setup.py build
-}
-
-package() {
-  cd mpmath-$pkgver  
-
-  python setup.py install --root "$pkgdir" --optimize=1
-
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-mpmath/repos/community-any/PKGBUILD (from rev 1416803, 
python-mpmath/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-08 07:37:14 UTC (rev 1416804)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Contributor: Rafael G. Martins <[email protected]>
+# Contributor: Iván Pulido <[email protected]>
+
+pkgname=python-mpmath
+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-build python-installer python-setuptools python-wheel)
+source=(https://pypi.python.org/packages/source/m/mpmath/mpmath-$pkgver.tar.gz)
+sha256sums=('7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f')
+
+build() {
+  cd mpmath-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd mpmath-$pkgver  
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Reply via email to