--- www/py-google-api-python-client/Makefile (revision 538311) +++ www/py-google-api-python-client/Makefile (working copy) @@ -2,7 +2,7 @@ PORTNAME= google-api-python-client PORTVERSION= 1.7.6 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -26,7 +26,7 @@ OPTIONS_DEFINE= DJANGO GAE WEBTEST DJANGO_DESC= Use the library with Django -DJANGO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.3:www/py-django111@${PY_FLAVOR} +DJANGO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.3:www/py-django22@${PY_FLAVOR} GAE_DESC= Use the library with Google App Engine GAE_RUN_DEPENDS= google-appengine>=1.4.3:www/google-appengine WEBTEST_DESC= Use WebTest helper to test WSGI apps @@ -33,4 +33,10 @@ WEBTEST_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}WebTest>=1.3.3:www/py-WebTest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=0.13:security/py-openssl@${PY_FLAVOR} -.include +.include + +.if ${PORT_OPTIONS:MDJANGO} && ${PYTHON_REL} < 3500 +BROKEN= Option DJANGO is set which requires Python 3.5+ for Django 2.2 +.endif + +.include