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

PORTNAME=   requests-oauthlib
PORTVERSION=    0.3.2
PORTREVISION=   2
CATEGORIES= www python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

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

LICENSE=    ISCL

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

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

USE_PYTHON=     yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

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

.include <bsd.port.mk>