aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-requests-oauthlib/Makefile
blob: 43d8e0ce444b556ecf863d106276985c7cc2d2b3 (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
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$

PORTNAME=   requests-oauthlib
PORTVERSION=    0.3.1
CATEGORIES= www python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= koobs@FreeBSD.org
COMMENT=    OAuthlib authentication support for Requests

LICENSE=    ISCL

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}oauthlib>=0.3.7:${PORTSDIR}/security/py-oauthlib \
        ${PYTHON_PKGNAMEPREFIX}requests>=0:${PORTSDIR}/www/py-requests
TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock

USE_GITHUB= yes
GH_ACCOUNT= requests
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT=  a7e6030

USE_PYTHON=     yes
USE_PYDISTUTILS=    easy_install

regression-test: build
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test

.include <bsd.port.mk>