mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
94e9d9be22
- Bump PORTREVISION to enforce a cleanup for the easy_install references With hat: python@ Approved by: portmgr (implicit)
43 lines
1018 B
Makefile
43 lines
1018 B
Makefile
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rauth
|
|
PORTVERSION= 0.6.2
|
|
PORTREVISION= 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}requests1>=1.2.3:${PORTSDIR}/www/py-requests1
|
|
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= yes
|
|
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>
|