mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-03 07:42:10 +01:00
44 lines
1.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
# Maintainer: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
|
|
# Contributor: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
|
|
pkgname=py-greenlet
|
|
_pkgname=greenlet
|
|
pkgver=0.4.0
|
|
pkgrel=2
|
|
pkgdesc="Lightweight in-process concurrent programming"
|
|
url="http://pypi.python.org/pypi/greenlet"
|
|
arch="all"
|
|
license="MIT"
|
|
depends=""
|
|
makedepends="python-dev py-setuptools"
|
|
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip
|
|
gcc-4.8-bugfix.patch"
|
|
|
|
_builddir="$srcdir"/$_pkgname-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
env
|
|
CFLAGS="-O0" CPPFLAGS="-O0" CXXFLAGS="-O0" python setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python setup.py install --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="87887570082caadc08fb1f8671dbed71 greenlet-0.4.0.zip
|
|
93c2b0229a5d6f1228396fec05b7c4e1 gcc-4.8-bugfix.patch"
|
|
sha256sums="3f52af03bf8a89045fc159c6a76d5642349b30fb41c3df1a22b12bbd3920b1ee greenlet-0.4.0.zip
|
|
e0f10049aa8cd205cd4c93b80bcd9cc8247be2a55e0b74b7f50841afe8eea483 gcc-4.8-bugfix.patch"
|
|
sha512sums="c072ceb83b3040448f0f7c8596aa134837fcc2ada5513b12fbeada4f5ae2ca5e4d4c5814c317a9270e4a0a65a02e2525dce7edad678978782013da7caa188d19 greenlet-0.4.0.zip
|
|
d7fcdf5aa207e7e94bfdf96a9f94d2ab669f46c484c6a1972c1d7dde79de1bbabf1e6f76650dfe78ea91cf977acb10975ad3d3ac3c7e4d9553a06b00c44081d1 gcc-4.8-bugfix.patch"
|