Date: Thursday, November 22, 2018 @ 07:53:21
  Author: arojas
Revision: 409316

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-11-22 07:52:51 UTC (rev 409315)
+++ PKGBUILD    2018-11-22 07:53:21 UTC (rev 409316)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <aro...@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.0a2
-pkgrel=3
-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://pypi.io/packages/source/g/gmpy2/gmpy2-$pkgver.tar.gz";
-source=(git://github.com/aleaxit/gmpy#tag=gmpy2-$pkgver
-        
gmpy2-cython.patch::"https://github.com/aleaxit/gmpy/commit/cb0d591e.patch";)
-sha256sums=('SKIP'
-            '457e29bc4441a868eabd5a1f2a45316d13b96e949c2616237f2700e5d3d5bf6c')
-
-prepare() {
-  mv gmpy gmpy2-$pkgver
-
-  cd gmpy2-$pkgver
-   patch -p1 -i ../gmpy2-cython.patch # Fix install of cython headers
-  cd ..
-
-  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 409315, 
python-gmpy2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-11-22 07:53:21 UTC (rev 409316)
@@ -0,0 +1,48 @@
+# Maintainer: Antonio Rojas <aro...@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/*
+}
+

Reply via email to