[arch-commits] Commit in python-gmpy2/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Sat Feb 10 17:28:40 UTC 2018
Date: Saturday, February 10, 2018 @ 17:28:38
Author: arojas
Revision: 291388
archrelease: copy trunk to community-testing-x86_64
Added:
python-gmpy2/repos/community-testing-x86_64/
python-gmpy2/repos/community-testing-x86_64/PKGBUILD
(from rev 291387, python-gmpy2/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-gmpy2/repos/community-testing-x86_64/PKGBUILD (from rev 291387, python-gmpy2/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2018-02-10 17:28:38 UTC (rev 291388)
@@ -0,0 +1,37 @@
+# $Id$
+# 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.0a1
+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 python libmpc)
+source=("https://pypi.io/packages/source/g/gmpy2/gmpy2-${pkgver}.tar.gz")
+sha256sums=('d28fbb0b990233b2339be020418d14d1a132eddfd7a763e56ecef8c87790a881')
+
+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