aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-requests/Makefile
blob: b5711452b2ffe6433615845b498e25ea8dd09647 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# New ports collection makefile for: py-requests
# Date created:     2011-07-30
# Whom:     Olivier Duchateau <duchateau.olivier@gmail.com>
#
# $FreeBSD$
#

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

MAINTAINER= koobs.freebsd@gmail.com
COMMENT=    Requests is a 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>