diff options
Diffstat (limited to 'community/python2-greenlet')
-rw-r--r-- | community/python2-greenlet/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/python2-greenlet/PKGBUILD b/community/python2-greenlet/PKGBUILD new file mode 100644 index 000000000..38546a68d --- /dev/null +++ b/community/python2-greenlet/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 70305 2012-05-04 08:21:08Z mtorromeo $ +# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> +# Contributor: Ralf Schmitt <ralf@systemexit.de> + +pkgname=python2-greenlet +pkgver=0.3.4 +pkgrel=1 +pkgdesc="python coroutine library" +license=("MIT") +url="http://pypi.python.org/pypi/greenlet" +depends=('python2') +source=(http://pypi.python.org/packages/source/g/greenlet/greenlet-$pkgver.zip) +arch=('i686' 'x86_64') + +md5sums=('530a69acebbb0d66eb5abd83523d8272') +sha1sums=('1bff62c43e179d3f4866f31a8258a259c82b4803') + +build() { + cd "$srcdir/greenlet-$pkgver" + python2 setup.py build +} + +package() { + cd "$srcdir/greenlet-$pkgver" + python2 setup.py install --root="$pkgdir" + install -Dm0644 LICENSE.PSF "$pkgdir/usr/share/licenses/$pkgname/LICENSE.PSF" +} |