blob: 40a538971f3c7521c7f8162484be719eab7e039a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: S.Leduc <sebastien@sleduc.fr>
# Contributor: Lex Black <autumn-wind at web dot de>
# Contributor: Adam "falcon7" Chidlow <falcon7 _AT_ standardnerd.org>
pkgname=python-gmpy
pkgver=1.17
pkgrel=3
pkgdesc="Python extension that wraps GMP to provide fast multiprecision arithmetic. Last of the 1.x series, see gmpy2 for new developments."
arch=('i686' 'x86_64')
url="http://code.google.com/p/gmpy/"
license=('LGPL2.1')
depends=('python' 'gmp')
options=(!emptydirs)
source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gmpy/gmpy-${pkgver}.zip")
md5sums=('2bf419076b06e107167e219f60ac6d27')
package() {
cd "$srcdir/gmpy-$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 doc/*
}
# vim:set ts=2 sw=2 et:
|