SHARE
TWEET

python2-gmpy2 PKGBUILD

a guest Jan 14th, 2020 77 in 358 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Antonio Rojas <arojas@archlinux.org>
  2. # Contributor: Omar Sandoval <osandov at cs dot washington dot edu>
  3. # Contributor: Alexander Slesarev <slesarew at gmail dot com>
  4.  
  5. pkgname=python2-gmpy2
  6. pkgver=2.1.0b1
  7. pkgrel=3
  8. pkgdesc="Provides C-coded Python modules for fast multiple-precision arithmetic."
  9. arch=(x86_64)
  10. url="https://github.com/aleaxit/gmpy"
  11. license=(LGPL2.1)
  12. depends=(python2 libmpc)
  13. makedepends=(python2-setuptools)
  14. source=("$pkgname-$pkgver.tar.gz::https://github.com/aleaxit/gmpy/archive/gmpy2-$pkgver.tar.gz")
  15. sha256sums=('888d3c34a91c2ac068ac5033431c765e04f125e85920bd69d8739fbb62f4279d')
  16.  
  17. build() {
  18.   cd gmpy-gmpy2-$pkgver
  19.   python2 setup.py build
  20. }
  21.  
  22. package() {
  23.   cd gmpy-gmpy2-$pkgver
  24.   python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
  25.  
  26.   install -d -m 755 $pkgdir/usr/share/doc/$pkgname
  27.   install -m 644 -t $pkgdir/usr/share/doc/$pkgname docs/*
  28. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top