1 # Contributor: Daniel Strandberg <esodax!nospam!@gmail.com>
4 pkgname=python-$_relname
7 pkgdesc='System for managing development buildouts'
9 url='http://pypi.python.org/pypi/zc.buildout'
11 depends=('python2' 'python2-distribute')
12 source=(http://pypi.python.org/packages/source/z/$_relname/$_relname-$pkgver.tar.gz)
13 md5sums=('87f7b3f8d13926c806242fd5f6fe36f7')
20 cd $srcdir/$_relname-$pkgver
21 python2 setup.py install --root=$pkgdir --prefix=/usr || return 1
22 install -Dm644 $pkgdir/usr/README.txt $pkgdir/usr/share/doc/$_relname/README.txt
23 rm -f $pkgdir/usr/README.txt
24 # Make sure egg-info files is readable for everybody
25 chmod 644 $pkgdir/usr/lib/python2.7/site-packages/zc.buildout-$pkgver-py2.7.egg-info/*