void-packages/srcpkgs/python3-greenlet/template

32 lines
891 B
Bash

# Template file for 'python3-greenlet'
pkgname=python3-greenlet
version=0.4.15
revision=4
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=9416443e219356e3c31f1f918a91badf2e37acf297e2fa13d24d1cc2380f8fbc
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}
}
}