This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

python2-scikit-image PKGBUILD

By: a guest on Nov 22nd, 2013  |  syntax: None  |  size: 0.82 KB  |  views: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Brett Nelson <brettnelson at ufl dot edu>
  2.  
  3. pkgname=python2-scikit-image
  4. pkgver=0.9.3
  5. pkgrel=1
  6. pkgdesc='Image processing algorithms for SciPy (Python 2)'
  7. arch=('any')
  8. url='http://scikit-image.org/'
  9. license=('GPL')
  10. depends=('python-scipy')
  11. makedepends=('python2-setuptools' 'cython2>=0.17' 'python2-numpy>=1.6')
  12. optdepends=('python2-matplotlib')
  13. source=("https://pypi.python.org/packages/source/s/scikit-image/scikit-image-$pkgver.tar.gz")
  14. md5sums=('f010e0cd46ee2996a6875c96b216e768')
  15.  
  16. build() {
  17.   cd "$srcdir/scikit-image-$pkgver"
  18.   python2 setup.py build
  19. }
  20.  
  21. package() {  
  22.   cd "$srcdir/scikit-image-$pkgver"
  23.   python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
  24.   mv $pkgdir/usr/bin/skivi $pkgdir/usr/bin/skivi2
  25.   install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
  26. }
clone this paste RAW Paste Data