pkgsrc/net/py-gevent/Makefile
wiz bb579283d0 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:53:26 +00:00

40 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2022/01/04 20:54:27 wiz Exp $
DISTNAME= gevent-21.12.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
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
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
DEPENDS+= ${PYPKGPREFIX}-ZopeEvent-[0-9]*:../../devel/py-ZopeEvent
DEPENDS+= ${PYPKGPREFIX}-ZopeInterface-[0-9]*:../../devel/py-ZopeInterface
MAKE_ENV+= CARES_EMBED=0
MAKE_ENV+= LIBEV_EMBED=0
MAKE_ENV+= LIBUV_EMBED=0
USE_LANGUAGES= c c++
# Explicitly disable inotify on SunOS, assumes Linux statfs.
MAKE_ENV.SunOS+= ac_cv_header_sys_inotify_h=no
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(CC_VERSION:Mgcc-1[0-9].*)
BUILDLINK_TRANSFORM.SunOS+= opt:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600
.endif
.include "../../devel/py-cython/buildlink3.mk"
.include "../../devel/libev/buildlink3.mk"
.include "../../devel/libuv/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../net/libcares/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"