34 lines
954 B
Bash
34 lines
954 B
Bash
# Template file for 'python3-greenlet'
|
|
pkgname=python3-greenlet
|
|
version=2.0.2
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
makedepends="python3-devel"
|
|
depends="python3"
|
|
checkdepends="python3-objgraph python3-psutil"
|
|
short_desc="Lightweight in-process concurrent programming"
|
|
maintainer="Mohammed Anas <triallax@tutanota.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=e7c8dc13af7db097bed64a051d2dd49e9f0af495c26995c00a9ee842690d34c0
|
|
|
|
do_check() {
|
|
python3 setup.py build_ext --inplace
|
|
PYTHONPATH=src python3 -m unittest discover src
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-greenlet-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove ${py3_inc}
|
|
}
|
|
}
|