Commit f44ddea6 authored by J0WI's avatar J0WI Committed by Andy Postnikov

community/py-greenlet: modernize and add check

parent e60e535e
......@@ -19,14 +19,20 @@ builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
export CFLAGS="-O0" CPPFLAGS="-O0" CXXFLAGS="-O0"
python2 setup.py build || return 1
python3 setup.py build || return 1
python2 setup.py build
python3 setup.py build
}
package() {
mkdir -p "$pkgdir"
}
check() {
cd "$builddir"
python2 setup.py test
python3 setup.py test
}
_py() {
local python=$1
pkgdesc="$pkgdesc - $python"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment