# $NetBSD: Makefile,v 1.25 2017/01/01 08:21:49 ryoon Exp $ DISTNAME= requests-2.12.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGREVISION= 1 CATEGORIES= devel www MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests/} MAINTAINER= imil@NetBSD.org HOMEPAGE= http://docs.python-requests.org/en/latest/ COMMENT= HTTP library, written in Python, for human beings LICENSE= apache-2.0 USE_LANGUAGES= c REPLACE_PYTHON= requests/certs.py requests/packages/chardet/chardetect.py BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test #BUILD_DEPENDS+= ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin do-test: cd ${WRKSRC} && py.test-${PYVERSSUFFIX} .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"