[arch-commits] Commit in python-gmpy2/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed May 22 06:51:00 UTC 2019


    Date: Wednesday, May 22, 2019 @ 06:50:59
  Author: arojas
Revision: 468292

archrelease: copy trunk to community-x86_64

Added:
  python-gmpy2/repos/community-x86_64/PKGBUILD
    (from rev 468291, python-gmpy2/trunk/PKGBUILD)
Deleted:
  python-gmpy2/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-22 06:50:38 UTC (rev 468291)
+++ PKGBUILD	2019-05-22 06:50:59 UTC (rev 468292)
@@ -1,48 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Omar Sandoval <osandov at cs dot washington dot edu>
-# Contributor: Alexander Slesarev <slesarew at gmail dot com>
-
-pkgbase=python-gmpy2
-pkgname=(python2-gmpy2 python-gmpy2)
-pkgver=2.1.0a4
-pkgrel=1
-pkgdesc="Provides C-coded Python modules for fast multiple-precision arithmetic."
-arch=(x86_64)
-url="https://github.com/aleaxit/gmpy"
-license=(LGPL2.1)
-makedepends=(python2-setuptools python-setuptools libmpc git)
-source=("https://github.com/aleaxit/gmpy/releases/download/gmpy2-${pkgver/.0/}/gmpy2-$pkgver.tar.gz")
-sha256sums=('7822b3336ee022b64edd66695375bd06dfc8586a52450128c0a3cd0d9cb4b857')
-
-prepare() {
-  cp -r gmpy2-$pkgver{,-py2}  
-}
-
-build() {
-  cd gmpy2-$pkgver
-  python setup.py build
-
-  cd ../gmpy2-$pkgver-py2
-  python2 setup.py build
-}
-
-package_python2-gmpy2() {
-  depends=(python2 libmpc)
-
-  cd gmpy2-$pkgver-py2
-  python2 setup.py install --root=$pkgdir --optimize=1 --skip-build
-
-  install -d -m 755 $pkgdir/usr/share/doc/$pkgname
-  install -m 644 -t $pkgdir/usr/share/doc/$pkgname docs/*
-}
-
-package_python-gmpy2() {
-  depends=(python libmpc)
-  
-  cd gmpy2-$pkgver 
-  python setup.py install --root=$pkgdir --optimize=1 --skip-build
- 
-  install -d -m 755 $pkgdir/usr/share/doc/$pkgname
-  install -m 644 -t $pkgdir/usr/share/doc/$pkgname docs/*
-}
-

Copied: python-gmpy2/repos/community-x86_64/PKGBUILD (from rev 468291, python-gmpy2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-22 06:50:59 UTC (rev 468292)
@@ -0,0 +1,48 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Omar Sandoval <osandov at cs dot washington dot edu>
+# Contributor: Alexander Slesarev <slesarew at gmail dot com>
+
+pkgbase=python-gmpy2
+pkgname=(python2-gmpy2 python-gmpy2)
+pkgver=2.1.0b1
+pkgrel=1
+pkgdesc="Provides C-coded Python modules for fast multiple-precision arithmetic."
+arch=(x86_64)
+url="https://github.com/aleaxit/gmpy"
+license=(LGPL2.1)
+makedepends=(python2-setuptools python-setuptools libmpc git)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/aleaxit/gmpy/archive/gmpy2-$pkgver.tar.gz")
+sha256sums=('888d3c34a91c2ac068ac5033431c765e04f125e85920bd69d8739fbb62f4279d')
+
+prepare() {
+  cp -r gmpy-gmpy2-$pkgver{,-py2}  
+}
+
+build() {
+  cd gmpy-gmpy2-$pkgver
+  python setup.py build
+
+  cd ../gmpy-gmpy2-$pkgver-py2
+  python2 setup.py build
+}
+
+package_python2-gmpy2() {
+  depends=(python2 libmpc)
+
+  cd gmpy-gmpy2-$pkgver-py2
+  python2 setup.py install --root=$pkgdir --optimize=1 --skip-build
+
+  install -d -m 755 $pkgdir/usr/share/doc/$pkgname
+  install -m 644 -t $pkgdir/usr/share/doc/$pkgname docs/*
+}
+
+package_python-gmpy2() {
+  depends=(python libmpc)
+  
+  cd gmpy-gmpy2-$pkgver 
+  python setup.py install --root=$pkgdir --optimize=1 --skip-build
+ 
+  install -d -m 755 $pkgdir/usr/share/doc/$pkgname
+  install -m 644 -t $pkgdir/usr/share/doc/$pkgname docs/*
+}
+


More information about the arch-commits mailing list