2017-04-04 14:42:23 +02:00
|
|
|
# $NetBSD: Makefile,v 1.26 2017/04/04 12:42:23 adam Exp $
|
2013-05-21 16:34:38 +02:00
|
|
|
|
2017-04-04 14:42:23 +02:00
|
|
|
DISTNAME= requests-2.13.0
|
2014-12-12 20:54:31 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
2013-05-21 16:34:38 +02:00
|
|
|
CATEGORIES= devel www
|
2016-06-08 19:49:19 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests/}
|
2013-05-21 16:34:38 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2014-01-26 14:00:43 +01:00
|
|
|
USE_LANGUAGES= c
|
|
|
|
REPLACE_PYTHON= requests/certs.py requests/packages/chardet/chardetect.py
|
|
|
|
|
2015-11-06 22:42:14 +01:00
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
2016-01-03 14:08:23 +01:00
|
|
|
#BUILD_DEPENDS+= ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin
|
2016-01-02 11:49:49 +01:00
|
|
|
|
|
|
|
do-test:
|
|
|
|
cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
|
2015-11-06 22:42:14 +01:00
|
|
|
|
2013-06-16 13:48:51 +02:00
|
|
|
.include "../../lang/python/application.mk"
|
2013-05-21 16:34:38 +02:00
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|