31 lines
891 B
Bash
31 lines
891 B
Bash
# Template file for 'python3-greenlet'
|
|
pkgname=python3-greenlet
|
|
version=0.4.17
|
|
revision=1
|
|
wrksrc="greenlet-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
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/NEWS"
|
|
distfiles="${PYPI_SITE}/g/greenlet/greenlet-${version}.tar.gz"
|
|
checksum=41d8835c69a78de718e466dd0e6bfd4b46125f21a67c3ff6d76d8d8059868d6b
|
|
|
|
do_check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-greenlet-devel_package() {
|
|
depends="python3-greenlet>=${version}_${revision}"
|
|
short_desc="${short_desc/Python2/Python3} - development files"
|
|
pkg_install() {
|
|
vmove ${py3_inc}
|
|
}
|
|
}
|