Repocopy www/py-django-cacheops and assign it to Django 2.2. That port will be required for the upcoming update of net-mgmt/netbox to 2.6. Also limit the port to Python 3.5+ as Django 2.2 requires it as minimum dependency and add the related CONFLICTS_INSTALL entries.
27 lines
734 B
Makefile
27 lines
734 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= django-cacheops
|
|
PORTVERSION= 4.1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Slick ORM cache with automatic granular event-driven invalidation
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}redis>=2.9.1:databases/py-redis@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}funcy>=1.8:devel/py-funcy@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj22-django-cacheops
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|