24 lines
747 B
Makefile
24 lines
747 B
Makefile
# $NetBSD: Makefile,v 1.22 2016/06/08 17:49:19 wiz Exp $
|
|
|
|
DISTNAME= requests-2.10.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
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"
|