# Maintainer: Jesus E. pkgname=tauthon-greenlet pkgver=1.1.2 pkgrel=1 pkgdesc="Lightweight in-process concurrent programming" license=('Expat' 'Python') arch=('i686' 'x86_64') url='https://pypi.org/project/greenlet/' depends=('tauthon') makedepends=('tauthon-setuptools') source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/g/greenlet/greenlet-$pkgver.tar.gz") sha512sums=('e7bcc1bfffc80fcaee735ee69f6f53e8f68bd4d3ab8ad6ed813684ffad72340a347e4810f18cc32d9c3948b5c995aefc3a53ce4ae60324093dae12042d33183b') build() { cd "greenlet-$pkgver" tauthon setup.py build } package() { cd "greenlet-$pkgver" PYTHONHASHSEED=0 tauthon setup.py install -O1 --root="$pkgdir" --skip-build install -Dm644 LICENSE LICENSE.PSF -t "$pkgdir/usr/share/licenses/$pkgname/" }