blob: e254febaa411e61789872a55bc05983d6a60e62f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
# Contributor: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
pkgname=py3-greenlet
_pkgname=greenlet
pkgver=0.4.15
pkgrel=3
pkgdesc="Lightweight in-process concurrent programming"
url="https://pypi.python.org/pypi/greenlet"
arch="all"
license="MIT"
makedepends="py3-setuptools python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
ppc64le_clobbering.patch"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-greenlet" # Backwards compatibility
provides="py-greenlet=$pkgver-r$pkgrel" # Backwards compatibility
build() {
case "$CARCH" in
mips*) ;;
*) export CFLAGS="-O0" CPPFLAGS="-O0" CXXFLAGS="-O0" ;;
esac
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="a3b7856aadc988fe153f5cf62552dd6219358f35ee2ca136e5eb5c9871cb7545986753af299e6b3e95877e9aa564559e95c548785f78e680766630b047a1ec89 greenlet-0.4.15.tar.gz
7dde3227207c3d637031c37f4ea2e81d454a3481164b58984528fa186e3edfa30d7f6075fef31c6b5f75c3b08129ec38ccc4d10c0c2cf3fb763803fc6dbd4643 ppc64le_clobbering.patch"
|