void-packages/srcpkgs/python3-gevent/template
Érico Rolim 7e2a987148 python3-gevent: fix dependencies.
Should depend on zope.event and zope.interface.
2021-02-04 23:08:28 -03:00

25 lines
767 B
Bash

# Template file for 'python3-gevent'
pkgname=python3-gevent
version=20.9.0
revision=5
wrksrc="gevent-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel libev-devel c-ares-devel"
depends="python3-greenlet python3-zope.event python3-zope.interface"
short_desc="Coroutine-based Python3 networking library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://www.gevent.org/"
distfiles="https://github.com/gevent/gevent/archive/${version}.tar.gz"
checksum=a43d6b8335eae4d1ebb3f9585bcb78c397c6f1f141eb2449838167cbb4a40ee3
export LIBEV_EMBED=0
export CARES_EMBED=0
post_install() {
# remove python2 compat stuff
rm -f ${DESTDIR}/${py3_sitelib}/gevent/_*2.py
vlicense LICENSE
}