pkgsrc/net/py-gevent/Makefile
adam 134c8fb004 py-gevent: updated to 1.3.6
1.3.6:
- gevent now depends on greenlet 0.4.14 or above. gevent binary wheels
  for 1.3.5 and below must have greenlet 0.4.13 installed on Python
  3.7 or they will crash.
- :class:gevent.local.local subclasses correctly supports @staticmethod functions.

1.3.5:
- Update the bundled libuv from 1.20.1 to 1.22.0.
- Test Python 3.7 on Appveyor. Fix the handling of Popen's
  close_fds argument on 3.7.
- Update Python versions tested on Travis, including PyPy to 6.0.
- :mod:gevent.queue imports _PySimpleQueue instead of
  SimpleQueue so that it doesn't block the event loop.
  :func:gevent.monkey.patch_all makes this same substitution in
  :mod:queue. This fixes issues with
  :class:concurrent.futures.ThreadPoolExecutor as well.
- :meth:gevent.socket.socket.connect doesn't pass the port (service)
  to :func:socket.getaddrinfo when it resolves an AF_INET or
  AF_INET6 address. (The standard library doesn't either.) This
  fixes an issue on Solaris.
- :meth:gevent.socket.socket.connect works with more address
  families, notably AF_TIPC, AF_NETLINK, AF_BLUETOOTH, AF_ALG and AF_VSOCK.
2018-08-19 09:44:28 +00:00

42 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2018/08/19 09:44:28 adam Exp $
DISTNAME= gevent-1.3.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gevent/}
MAINTAINER= kamel.derouiche@gmail.com
HOMEPAGE= http://www.gevent.org/
COMMENT= Python-gevent a coroutine-based Python networking library
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-cffi>=1.11.5:../../devel/py-cffi
DEPENDS+= ${PYPKGPREFIX}-greenlet>=0.4.14:../../devel/py-greenlet
TEST_DEPENDS+= ${PYPKGPREFIX}-ZopeEvent-[0-9]*:../../devel/py-ZopeEvent
TEST_DEPENDS+= ${PYPKGPREFIX}-ZopeInterface-[0-9]*:../../devel/py-ZopeInterface
TEST_DEPENDS+= ${PYPKGPREFIX}-objgraph-[0-9]*:../../graphics/py-objgraph
TEST_DEPENDS+= ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
.include "../../lang/python/pyversion.mk"
.if "${_PYTHON_VERSION}" == "27"
TEST_DEPENDS+= ${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
.endif
MAKE_ENV+= CARES_EMBED=0 LIBEV_EMBED=0
USE_LANGUAGES= c c++
# Explicitly disable inotify on SunOS, assumes Linux statfs.
MAKE_ENV.SunOS+= ac_cv_header_sys_inotify_h=no
do-test:
cd ${WRKSRC}/src/greentest && \
${PYTHONBIN} testrunner.py --config known_failures.py
.include "../../devel/py-cython/buildlink3.mk"
.include "../../devel/libev/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../net/libcares/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"