Advertisement
Guest User

Untitled

a guest
Apr 18th, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.86 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement