kmos bd85d18172 Remove obsolete uses of the TESTLIBDIR construct in favor of
MODPY_TEST_LIBDIR from the lang/python module

Fix tests for geo/py-fiona while here
2022-01-26 22:58:21 +00:00

33 lines
637 B
Makefile

# $OpenBSD: Makefile,v 1.19 2022/01/26 22:58:22 kmos Exp $
# using bundled c-ares which is patched for TTL support
COMMENT = python interface for c-ares
MODPY_EGG_VERSION = 4.1.2
DISTNAME = pycares-${MODPY_EGG_VERSION}
PKGNAME = py-cares-${MODPY_EGG_VERSION}
CATEGORIES = net
REVISION = 0
# MIT
PERMIT_PACKAGE = Yes
WANTLIB += pthread ${MODPY_WANTLIB}
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
MODPY_PYTEST_ARGS = tests/tests.py
USE_GMAKE = Yes
FLAVORS = python3
FLAVOR = python3
RUN_DEPENDS = devel/py-cffi${MODPY_FLAVOR}
BUILD_DEPENDS = ${RUN_DEPENDS}
.include <bsd.port.mk>