Date: Sunday, December 21, 2014 @ 11:03:38 Author: arojas Revision: 124264
Splitting sage-mathematics Added: python-gmpy2/ python-gmpy2/trunk/ python-gmpy2/trunk/PKGBUILD ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Added: python-gmpy2/trunk/PKGBUILD =================================================================== --- python-gmpy2/trunk/PKGBUILD (rev 0) +++ python-gmpy2/trunk/PKGBUILD 2014-12-21 10:03:38 UTC (rev 124264) @@ -0,0 +1,36 @@ +# Maintainer: Antonio Rojas <aro...@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.4 +pkgrel=1 +pkgdesc="Provides C-coded Python modules for fast multiple-precision arithmetic." +arch=('i686' 'x86_64') +url="http://code.google.com/p/gmpy/" +license=('LGPL2.1') +makedepends=('python2' 'python' 'libmpc') +source=("https://pypi.python.org/packages/source/g/gmpy2/gmpy2-${pkgver}.zip") +md5sums=('b5f0e5bbb64fcd1582ddd5079c9a7b73') + +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/* +} + Property changes on: python-gmpy2/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property