# Created by: Olivier Duchateau <duchateau.olivier@gmail.com>
# $FreeBSD: branches/RELEASE_8_4_0/www/py-requests/Makefile 311983 2013-02-09 14:50:27Z koobs $

PORTNAME=	requests
PORTVERSION=	0.14.1
CATEGORIES=	www python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	koobs@FreeBSD.org
COMMENT=	HTTP library written in Python for human beings

LICENSE=	ISCL

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}certifi>0:${PORTSDIR}/security/py-certify \
		${PYTHON_PKGNAMEPREFIX}oauthlib>=0.1.0:${PORTSDIR}/security/py-oauthlib

USE_PYTHON=	-3.1
USE_PYDISTUTILS=	easy_install

test: build
	${TOUCH} ${WRKSRC}/tests/__init__.py
	cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test

.include <bsd.port.mk>
