[arch-commits] Commit in python-mpmath/repos/community-staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Nov 1 13:36:25 UTC 2019
Date: Friday, November 1, 2019 @ 13:36:25
Author: felixonmars
Revision: 521878
archrelease: copy trunk to community-staging-any
Added:
python-mpmath/repos/community-staging-any/PKGBUILD
(from rev 521877, python-mpmath/trunk/PKGBUILD)
Deleted:
python-mpmath/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-01 13:36:12 UTC (rev 521877)
+++ PKGBUILD 2019-11-01 13:36:25 UTC (rev 521878)
@@ -1,51 +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>
-
-pkgbase=python-mpmath
-pkgname=(python2-mpmath python-mpmath)
-pkgver=1.1.0
-pkgrel=2
-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
-}
Copied: python-mpmath/repos/community-staging-any/PKGBUILD (from rev 521877, python-mpmath/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-01 13:36:25 UTC (rev 521878)
@@ -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=3
+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