[arch-commits] Commit in python-mpmath/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 16:46:55 UTC 2020
Date: Monday, November 9, 2020 @ 16:46:55
Author: foutrelis
Revision: 747524
archrelease: copy trunk to community-staging-any
Added:
python-mpmath/repos/community-staging-any/
python-mpmath/repos/community-staging-any/PKGBUILD
(from rev 747522, python-mpmath/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-mpmath/repos/community-staging-any/PKGBUILD (from rev 747522, python-mpmath/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:46:55 UTC (rev 747524)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Contributor: Rafael G. Martins <rafael at rafaelmartins.com>
+# Contributor: Iván Pulido <ijpulidos at riseup.net>
+
+pkgname=python-mpmath
+pkgver=1.1.0
+pkgrel=4
+pkgdesc='Python library for arbitrary-precision floating-point arithmetic.'
+arch=(any)
+url='http://mpmath.org/'
+license=(BSD)
+depends=(python-gmpy2)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/fredrik-johansson/mpmath/archive/$pkgver.tar.gz")
+sha256sums=('16c01d589bcb1be5cab3a07de2855b578e5fc4a7882fb61a15f2aaf118fdd06e')
+
+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
+}
More information about the arch-commits
mailing list