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

PORTNAME=   requests-oauthlib
PORTVERSION=    0.6.2
CATEGORIES= www python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

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

LICENSE=    ISCL

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

USES=       python
USE_PYTHON= autoplist distutils

NO_ARCH=    yes

do-test:
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>