freebsd-ports/www/py-google-api-python-client/Makefile
Kai Knoblich ebecb709a7 www/py-google-api-python-client: Change RUN_DEPENDS of DJANGO option
* Switch the non-default DJANGO option from Django 1.11 (End-of-Life since
  April 2020) to Django 2.2 (current LTS release).

* Bump PORTREVISION due changed dependencies.

PR:		247115
Approved by:	maintainer timeout (5+ months)
2021-01-04 09:28:27 +00:00

34 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= google-api-python-client
PORTVERSION= 1.7.6
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Google API Client Library for Python
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>=0.9.2:www/py-httplib2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}google-auth>=0:security/py-google-auth@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}google-auth-httplib2>=0.0.3:security/py-google-auth-httplib2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.6.1:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.0:net/py-uritemplate@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
OPTIONS_DEFINE= DJANGO WEBTEST
DJANGO_DESC= Use the library with Django
DJANGO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.3:www/py-django22@${PY_FLAVOR}
WEBTEST_DESC= Use WebTest helper to test WSGI apps
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 <bsd.port.mk>