Created
March 29, 2016 21:02
-
-
Save ShalokShalom/f7c46fc8308dc6bdbb6eb7a8683e8839 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=python2-greenlet | |
pkgver=0.4.9 | |
pkgrel=1 | |
pkgdesc="Lightweight in-process concurrent programming" | |
license=("MIT") | |
url="http://pypi.python.org/pypi/greenlet" | |
makedepends=('python2-setuptools') | |
source=("https://pypi.python.org/packages/source/g/greenlet/greenlet-${pkgver}.zip") | |
arch=('x86_64') | |
build() { | |
cd ../python2-greenlet-$pkgver | |
python2 setup.py build | |
} | |
check() { | |
cd ../greenlet-$pkgver-py2 | |
python2 setup.py test | |
} | |
package() { | |
depends=('python2') | |
cd greenlet-$pkgver-py2 | |
python2 setup.py install -O1 --root="$pkgdir" | |
install -Dm0644 LICENSE.PSF "$pkgdir/usr/share/licenses/$pkgname/LICENSE.PSF" | |
} | |
sha512sums=('2dce966827caf32b21cf005498ef6e595524ffb0aabbe424c705850986edfda4f4b2ba791180a7de900b1778594851de83a5b2cc69baf31c968ee8fb9131ba58') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment