2023-08-16 22:26:55 +00:00
|
|
|
# using bundled c-ares which is patched for TTL support
|
2024-05-26 03:08:12 +00:00
|
|
|
COMMENT= Python interface to c-ares
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-26 03:08:12 +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
|
2024-05-26 03:08:12 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-26 03:08:12 +00:00
|
|
|
WANTLIB += pthread
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-26 03:08:12 +00:00
|
|
|
MODULES= lang/python
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-26 03:08:12 +00:00
|
|
|
MODPY_PI= Yes
|
|
|
|
MODPY_PYBUILD= setuptools
|
2023-08-16 22:26:55 +00:00
|
|
|
# some tests need network
|
|
|
|
|
2024-05-26 03:08:12 +00:00
|
|
|
USE_GMAKE= Yes
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-26 03:08:12 +00:00
|
|
|
FLAVORS= python3
|
|
|
|
FLAVOR= python3
|
2023-08-16 22:26:55 +00:00
|
|
|
|
2024-05-26 03:08:12 +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>
|