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

Untitled

By: a guest on Apr 18th, 2012  |  syntax: Bash  |  size: 0.86 KB  |  views: 28  |  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: Max Pray a.k.a. Synthead <synthead@gmail.com>
  2.  
  3. pkgname=python26-distribute
  4. _pkgname=distribute
  5. pkgver=0.6.16
  6. pkgrel=2
  7. pkgdesc="Easily build and distribute Python packages"
  8. arch=('any')
  9. license=('PSF')
  10. url="http://pypi.python.org/pypi/distribute"
  11. depends=('python26')
  12. source=("http://pypi.python.org/packages/source/d/$_pkgname/$_pkgname-$pkgver.tar.gz"
  13.         'distribute-0.6.16-fix_deprecation_warnings.patch')
  14. sha1sums=('30729db66892b7583d24d8e54cdaeb4176e2953b'
  15.           'a20bb3f35a03847ebe02199f2ce1a1c3883ef171')
  16.  
  17. build() {
  18.  cd "$srcdir/"
  19.  tar zxf $_pkgname-$pkgver.tar.gz
  20.  cd "$_pkgname-$pkgver"
  21.  patch -Np1 -i "$srcdir/distribute-0.6.16-fix_deprecation_warnings.patch"
  22.  python2.6 setup.py build
  23. }
  24.  
  25. package() {
  26.  cd "$srcdir/$_pkgname-$pkgver"
  27.  python2.6 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
  28. }
clone this paste RAW Paste Data