32 lines
949 B
Bash
32 lines
949 B
Bash
# Template file for 'python3-greenlet'
|
|
pkgname=python3-greenlet
|
|
version=1.1.0
|
|
revision=3
|
|
wrksrc="greenlet-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3"
|
|
makedepends="python3-devel"
|
|
short_desc="Lightweight in-process concurrent programming (Python3)"
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/python-greenlet/greenlet"
|
|
changelog="https://raw.githubusercontent.com/python-greenlet/greenlet/master/CHANGES.rst"
|
|
distfiles="${PYPI_SITE}/g/greenlet/greenlet-${version}.tar.gz"
|
|
checksum=c87df8ae3f01ffb4483c796fe1b15232ce2b219f0b18126948616224d3f658ee
|
|
|
|
do_check() {
|
|
PYTHONPATH="$(cd build/lib* && pwd)" python3 -m unittest discover -v greenlet.tests
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-greenlet-devel_package() {
|
|
depends="python3-greenlet>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove ${py3_inc}
|
|
}
|
|
}
|