1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/devel/py-rauth/Makefile
Kubilay Kocak 08795732a2 devel/py-rauth: Update to 0.6.2
- Update to 0.6.2
- Enable STAGE support, delete pkg-plist
- Enable AUTOPLIST support
- Update RUN_DEPENDS minimum version for requests
- Re-order *_DEPENDS and USE_* sections
- Add pycrypto to TEST_DEPENDS

Changes:

 https://github.com/litl/rauth/blob/0.6.2/CHANGELOG
2013-11-30 15:46:48 +00:00

42 lines
1009 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= rauth
PORTVERSION= 0.6.2
CATEGORIES= devel www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Python library for OAuth 1.0/a, 2.0, and Ofly consumers
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.2.3:${PORTSDIR}/www/py-requests
TEST_DEPENDS:= ${RUN_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}nose>=1.2.1:${PORTSDIR}/devel/py-nose \
${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:${PORTSDIR}/devel/py-mock \
${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:${PORTSDIR}/security/py-pycrypto
OPTIONS_DEFINE= TESTS
TESTS_DESC= Install tools for unit testing
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
USE_GITHUB= yes
GH_ACCOUNT= litl
GH_COMMIT= b6d92ca
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_AUTOPLIST= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTESTS}
BUILD_DEPENDS:= ${TEST_DEPENDS}
.endif
regression-test: build
@cd ${WRKSRC} && nosetests
.include <bsd.port.mk>