mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
e75dda1754
- Take maintainership under python@'s wings - httplib2 is a RUN not BUILD dependency - Add TEST_DEPENDS and regression-test target - Limit to Python 2.x - Sort USE_PYTHON values - Add breadcrumb/notes to setup.py patch - Make pkg-descr a bit prettier
32 lines
795 B
Makefile
32 lines
795 B
Makefile
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= oauth2
|
|
PORTVERSION= 1.5.211
|
|
PORTREVISION= 3
|
|
CATEGORIES= net python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
COMMENT= Python library for OAuth version 1.0
|
|
|
|
LICENSE= MIT
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>0:${PORTSDIR}/www/py-httplib2
|
|
TEST_DEPENDS:= ${RUN_DEPENDS} \
|
|
${PYTHON_PKGNAMEPREFIX}coverage>0:${PORTSDIR}/devel/py-coverage \
|
|
${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
|
|
|
|
OPTIONS_DEFINE= TESTS
|
|
TESTS_DESC= Install test suite requirements
|
|
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
|
|
|
|
USES= python:-2.7
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|