Nicola Vitale 59f19bc5ba - Update to 1.3.2
- Change master site to CHEESESHOP
- Sort variables
- Remove devel/py-gflags from run dependencies
- Add security/py-oauth2client to build dependencies
  because setup.py checks its presence
- Remove DOCS and EXAMPLES options
- Use option helpers
- Use auto plist
2015-03-05 17:00:23 +00:00

36 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= google-api-python-client
PORTVERSION= 1.3.2
#PORTREVISION= 0
CATEGORIES= www
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Google API Client Library for Python
LICENSE= APACHE20
BUILD_DEPENDS= ${PKGNAMEPREFIX}oauth2client>=1.3:${PORTSDIR}/security/py-oauth2client
RUN_DEPENDS= ${PKGNAMEPREFIX}httplib2>=0.6.0:${PORTSDIR}/www/py-httplib2 \
${PKGNAMEPREFIX}oauth2client>=1.3:${PORTSDIR}/security/py-oauth2client \
${PKGNAMEPREFIX}uritemplate>=0.6:${PORTSDIR}/net/py-uritemplate
DJANGO_DESC= Use the library with Django
DJANGO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>=1.3:${PORTSDIR}/www/py-django
GAE_DESC= Use the library with Google App Engine
GAE_RUN_DEPENDS= google-appengine>=1.4.3:${PORTSDIR}/www/google-appengine
OPTIONS_DEFINE= DJANGO GAE WEBTEST
USES= python:2
USE_PYTHON= autoplist distutils
WEBTEST_DESC= Use WebTest helper to test WSGI apps (Python 2.6+)
WEBTEST_RUN_DEPENDS= ${PKGNAMEPREFIX}WebTest>=1.3.3:${PORTSDIR}/www/py-WebTest \
${PKGNAMEPREFIX}openssl>=0.13:${PORTSDIR}/security/py-openssl
.include <bsd.port.mk>