[arch-commits] Commit in python-mpmath/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sun Nov 7 10:15:17 UTC 2021


    Date: Sunday, November 7, 2021 @ 10:15:17
  Author: arojas
Revision: 1038467

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   66 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 30 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-07 10:15:08 UTC (rev 1038466)
+++ PKGBUILD	2021-11-07 10:15:17 UTC (rev 1038467)
@@ -1,36 +0,0 @@
-# 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.2.1
-pkgrel=2
-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
-        mpmath-sage-detection.patch::"https://github.com/fredrik-johansson/mpmath/commit/84ca137f.patch")
-sha256sums=('79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a'
-            '16b91c3b2197fce6a0e1a431aa3ad6a5854ec4985bdc479f37382d79e35adb35')
-
-prepare() {
-  patch -d mpmath-$pkgver -Rp1 < mpmath-sage-detection.patch # Fix Sage detection
-}
-
-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 1038466, python-mpmath/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-07 10:15:17 UTC (rev 1038467)
@@ -0,0 +1,30 @@
+# 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.2.1
+pkgrel=3
+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
+}



More information about the arch-commits mailing list