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

Antonio Rojas arojas at archlinux.org
Tue Dec 11 15:44:33 UTC 2018


    Date: Tuesday, December 11, 2018 @ 15:44:32
  Author: arojas
Revision: 415365

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  103 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-11 15:44:05 UTC (rev 415364)
+++ PKGBUILD	2018-12-11 15:44:32 UTC (rev 415365)
@@ -1,52 +0,0 @@
-# $Id$
-# 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>
-
-pkgbase=python-mpmath
-pkgname=(python2-mpmath python-mpmath)
-pkgver=1.0.0
-pkgrel=2
-pkgdesc='Python library for arbitrary-precision floating-point arithmetic.'
-arch=(any)
-url='http://mpmath.org/'
-license=(BSD)
-makedepends=(python python2)
-source=("http://mpmath.org/files/mpmath-$pkgver.tar.gz")
-sha256sums=('d32ba7afffbae688229a15f54fbc37c11f4989e4fac628c99b3c5b6889aee03d')
-
-prepare(){
-  cp -R mpmath-$pkgver mpmath2-$pkgver
-}
-
-build() {
-  cd mpmath2-$pkgver  
-  python2 setup.py build
-
-  cd ../mpmath-$pkgver
-  python setup.py build
-}
-
-package_python2-mpmath() {
-  depends=(python2-gmpy2)
-  cd mpmath2-$pkgver
-
-  find -name '*.py' | xargs sed -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \
-                                -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i
-
-  python2 setup.py install --root "$pkgdir" --optimize=1
-
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-
-package_python-mpmath() {
-  depends=(python-gmpy2)
-  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 415364, python-mpmath/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-11 15:44:32 UTC (rev 415365)
@@ -0,0 +1,51 @@
+# 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>
+
+pkgbase=python-mpmath
+pkgname=(python2-mpmath python-mpmath)
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='Python library for arbitrary-precision floating-point arithmetic.'
+arch=(any)
+url='http://mpmath.org/'
+license=(BSD)
+makedepends=(python python2)
+source=($pkgbase-$pkgver.tar.gz::"https://github.com/fredrik-johansson/mpmath/archive/$pkgver.tar.gz")
+sha256sums=('16c01d589bcb1be5cab3a07de2855b578e5fc4a7882fb61a15f2aaf118fdd06e')
+
+prepare(){
+  cp -r mpmath-$pkgver mpmath2-$pkgver
+}
+
+build() {
+  cd mpmath2-$pkgver  
+  python2 setup.py build
+
+  cd ../mpmath-$pkgver
+  python setup.py build
+}
+
+package_python2-mpmath() {
+  depends=(python2-gmpy2)
+  cd mpmath2-$pkgver
+
+  find -name '*.py' | xargs sed -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \
+                                -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i
+
+  python2 setup.py install --root "$pkgdir" --optimize=1
+
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+
+package_python-mpmath() {
+  depends=(python-gmpy2)
+  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