8f93153c27
www/py-dj22-django-prometheus: Fix RUN_DEPENDS of REDIS option * Assign the RUN_DEPENDS of the non-default option REDIS to the Django 2.2 variant of www/py-django-redis. This was forgotten in r504808. * Bump PORTREVISION due package change when built with the REDIS option. Reported by: sunpoet Approved by: ports-secteam dependency fix blanket
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= django-prometheus
|
|
PORTVERSION= 1.1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj22-
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Export Django monitoring metrics for Prometheus.io
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.7:net-mgmt/py-prometheus-client@${PY_FLAVOR}
|
|
|
|
USES= python:3.5+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-prometheus
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_GROUP= DATABASE CACHE
|
|
OPTIONS_GROUP_DATABASE= MYSQL PGSQL
|
|
OPTIONS_GROUP_CACHE= MEMCACHED REDIS
|
|
|
|
MEMCACHED_DESC= Memcached distributed memory caching support
|
|
|
|
MEMCACHED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-memcached>=0:databases/py-python-memcached@${PY_FLAVOR}
|
|
MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=0:databases/py-mysqlclient@${PY_FLAVOR}
|
|
PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR}
|
|
REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj22-django-redis>=4.8:www/py-dj22-django-redis@${PY_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|