updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python-zc.buildout / PKGBUILD
blobaa8973a0f14cfb7ed6c60356255e3b8e476c4019
1 # Contributor: Daniel Strandberg <esodax!nospam!@gmail.com>
3 _relname=zc.buildout
4 pkgname=python-$_relname
5 pkgver=1.5.2
6 pkgrel=4
7 pkgdesc='System for managing development buildouts'
8 arch=('any')
9 url='http://pypi.python.org/pypi/zc.buildout'
10 license=('ZPL')
11 depends=('python2' 'python2-distribute')
12 source=(http://pypi.python.org/packages/source/z/$_relname/$_relname-$pkgver.tar.gz)
13 md5sums=('87f7b3f8d13926c806242fd5f6fe36f7')
15 build() {
16   true
19 package() {
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/*
28 # vim:ts=2:sw=2:et: