freebsd-ports/security/py-oauthlib/Makefile
Kubilay Kocak 6e01dcd030 security/py-oauthlib: Update to 0.4.0
- Update pkg-descr WWW:
- Update pkg-plist

Changes: https://github.com/idan/oauthlib/tree/0.4.0#changelog

Approved by:	eadler, rm (mentors, implicit)
2013-04-28 06:46:43 +00:00

35 lines
875 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= oauthlib
PORTVERSION= 0.4.0
CATEGORIES= security net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= RFC-compliant Python implementation of OAuth
LICENSE= BSD
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
TEST_DEPENDS= nosetests:${PORTSDIR}/devel/py-nose \
${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
USE_GITHUB= yes
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
GH_ACCOUNT= idan
GH_COMMIT= a205150
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 300
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2
.endif
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.post.mk>