# $NetBSD: Makefile,v 1.84 2022/10/26 10:32:06 wiz Exp $ DISTNAME= pycurl-7.45.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} PKGREVISION= 1 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycurl/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://pycurl.io/ COMMENT= Python module interface to the cURL library LICENSE= gnu-lgpl-v2.1 OR mit TEST_DEPENDS+= ${PYPKGPREFIX}-bottle-[0-9]*:../../www/py-bottle TEST_DEPENDS+= ${PYPKGPREFIX}-flaky-[0-9]*:../../devel/py-flaky TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test PYSETUPARGS= --with-openssl PYTHON_VERSIONS_INCOMPATIBLE= 27 do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests BUILDLINK_API_DEPENDS.curl+= curl>=7.19.0 .include "../../www/curl/buildlink3.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"