[arch-commits] Commit in python-gmpy2/repos (2 files)

Antonio Rojas arojas at archlinux.org
Thu Jan 18 22:38:15 UTC 2018


    Date: Thursday, January 18, 2018 @ 22:38:11
  Author: arojas
Revision: 284005

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: python-gmpy2/repos/community-staging-x86_64/PKGBUILD (from rev 284004, python-gmpy2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-01-18 22:38:11 UTC (rev 284005)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: 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.0.8
+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 python libmpc)
+source=("https://pypi.io/packages/source/g/gmpy2/gmpy2-${pkgver}.zip")
+sha256sums=('dd233e3288b90f21b0bb384bcc7a7e73557bb112ccf0032ad52aa614eb373d3f')
+
+package_python2-gmpy2() {
+  depends=(python2 libmpc)
+
+  cd gmpy2-$pkgver
+  python2 setup.py install --root=$pkgdir --optimize=1
+
+  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
+ 
+  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