Date: Friday, April 7, 2023 @ 04:18:31
  Author: felixonmars
Revision: 1440499

archrelease: copy trunk to community-staging-any

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

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

Copied: python-mpmath/repos/community-staging-any/PKGBUILD (from rev 1440498, 
python-mpmath/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 04:18:31 UTC (rev 1440499)
@@ -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=2
+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