ports/net/py-cares/Makefile

29 lines
539 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 for c-ares
MODPY_EGG_VERSION = 4.3.0
DISTNAME = pycares-${MODPY_EGG_VERSION}
PKGNAME = py-cares-${MODPY_EGG_VERSION}
CATEGORIES = net
# MIT
PERMIT_PACKAGE = Yes
WANTLIB += pthread ${MODPY_WANTLIB}
MODULES = lang/python
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
# some tests need network
USE_GMAKE = Yes
FLAVORS = python3
FLAVOR = python3
RUN_DEPENDS = devel/py-cffi${MODPY_FLAVOR}
BUILD_DEPENDS = ${RUN_DEPENDS}
.include <bsd.port.mk>