Guest User

Updated python-ggplot PKGBUILD

a guest
Sep 6th, 2016
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Thomas Weißschuh <thomas t-8ch de>
  2.  
  3. pkgbase=python-ggplot
  4. pkgname=(python-ggplot python2-ggplot)
  5. _libname=${pkgbase/python-/}
  6. pkgver=0.11.2
  7. pkgrel=1
  8. pkgdesc='ggplot for python'
  9. arch=('any')
  10. url='https://github.com/yhat/ggplot/'
  11. license=('BSD')
  12. source=("https://pypi.python.org/packages/8b/c1/9b0ed2526effdbd7b2da5a74671592f936d1ebc9a97e11a566c3fcb2eb1c/${_libname}-${pkgver}.tar.gz")
  13.  
  14. package_python-ggplot() {
  15.     depends=('python-matplotlib' 'python-statsmodels' 'python-brewer2mpl')
  16.     makedepends=('python-setuptools')
  17.     cd "$srcdir/$_libname-$pkgver"
  18.     python setup.py install --root="$pkgdir" --optimize=1
  19. }
  20.  
  21. package_python2-ggplot() {
  22.     depends=('python2-matplotlib' 'python2-statsmodels' 'python2-brewer2mpl')
  23.     makedepends=('python2-setuptools')
  24.     cd "$srcdir/$_libname-$pkgver"
  25.     python2 setup.py install --root="$pkgdir" --optimize=1
  26. }
  27.  
  28. sha256sums=('b01df3498865281730d137455df53fbd7b8c313dbdcc2a7275598f1f9df8dd08')
RAW Paste Data