ports/net/py-cares/Makefile

29 lines
496 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
# using bundled c-ares which is patched for TTL support
COMMENT= Python interface to c-ares
2023-08-16 22:26:55 +00:00
MODPY_EGG_VERSION= 4.4.0
DISTNAME= pycares-${MODPY_EGG_VERSION}
PKGNAME= py-cares-${MODPY_EGG_VERSION}
CATEGORIES= net
2023-08-16 22:26:55 +00:00
# MIT
PERMIT_PACKAGE= Yes
2023-08-16 22:26:55 +00:00
WANTLIB += pthread
2023-08-16 22:26:55 +00:00
MODULES= lang/python
2023-08-16 22:26:55 +00:00
MODPY_PI= Yes
MODPY_PYBUILD= setuptools
2023-08-16 22:26:55 +00:00
# some tests need network
USE_GMAKE= Yes
2023-08-16 22:26:55 +00:00
FLAVORS= python3
FLAVOR= python3
2023-08-16 22:26:55 +00:00
RUN_DEPENDS= devel/py-cffi${MODPY_FLAVOR}
BUILD_DEPENDS= ${RUN_DEPENDS}
2023-08-16 22:26:55 +00:00
.include <bsd.port.mk>