python3-gevent: update to 21.1.2.
This commit is contained in:
parent
5c97d14716
commit
93c01fe831
|
@ -0,0 +1,13 @@
|
||||||
|
OSError: [Errno 97] Address family not supported by protocol
|
||||||
|
|
||||||
|
--- src/gevent/tests/test__socket.py
|
||||||
|
+++ src/gevent/tests/test__socket.py
|
||||||
|
@@ -483,7 +483,7 @@
|
||||||
|
# use', which makes even less sense. The manylinux
|
||||||
|
# 2010 environment produces 'errno 99 Cannot assign
|
||||||
|
# requested address', which, I guess?
|
||||||
|
- 'refused|not known|already in use|assign'
|
||||||
|
+ 'refused|not known|already in use|assign|not supported'
|
||||||
|
):
|
||||||
|
socket.create_connection(
|
||||||
|
(greentest.DEFAULT_BIND_ADDR, connect_port),
|
|
@ -1,24 +1,33 @@
|
||||||
# Template file for 'python3-gevent'
|
# Template file for 'python3-gevent'
|
||||||
pkgname=python3-gevent
|
pkgname=python3-gevent
|
||||||
version=20.9.0
|
version=21.1.2
|
||||||
revision=5
|
revision=1
|
||||||
wrksrc="gevent-${version}"
|
wrksrc="gevent-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools python3-Cython"
|
hostmakedepends="python3-setuptools python3-Cython"
|
||||||
makedepends="python3-devel libev-devel c-ares-devel"
|
makedepends="python3-devel libev-devel c-ares-devel python3-greenlet-devel"
|
||||||
depends="python3-greenlet python3-zope.event python3-zope.interface"
|
depends="python3-dnspython python3-greenlet python3-zope.event python3-zope.interface"
|
||||||
|
checkdepends="${depends} iana-etc"
|
||||||
short_desc="Coroutine-based Python3 networking library"
|
short_desc="Coroutine-based Python3 networking library"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://www.gevent.org/"
|
homepage="http://www.gevent.org/"
|
||||||
distfiles="https://github.com/gevent/gevent/archive/${version}.tar.gz"
|
distfiles="https://github.com/gevent/gevent/archive/${version}.tar.gz"
|
||||||
checksum=a43d6b8335eae4d1ebb3f9585bcb78c397c6f1f141eb2449838167cbb4a40ee3
|
checksum=1fc6579fee04c0bc348cb1dcbc10f822129e6af7dcf2c52c24f1497cea3bd45c
|
||||||
|
|
||||||
export LIBEV_EMBED=0
|
post_extract() {
|
||||||
export CARES_EMBED=0
|
# purge bundled dependencies
|
||||||
|
rm -rf deps
|
||||||
|
}
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
PYTHONPATH="$(cd build/lib* && pwd)" python -m gevent.tests
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
# remove python2 compat stuff
|
# remove python2 compat stuff
|
||||||
rm -f ${DESTDIR}/${py3_sitelib}/gevent/_*2.py
|
rm -f ${DESTDIR}/${py3_sitelib}/gevent/_*2.py
|
||||||
vlicense LICENSE
|
# don't ship tests
|
||||||
|
rm -rf ${DESTDIR}/${py3_sitelib}/gevent/tests
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue