freebsd-ports/www/py-django-constance/Makefile
Kai Knoblich 620e765f84 www/py-django-constance: Update to 3.1.0
* Switch to PyPI as the sdist is available there and it's the preferred
  source for Python ports.
* Add default option REDIS to reflect the settings as noted in setup.py.

Changelog since 2.9.1:

https://github.com/jazzband/django-constance/blob/3.1.0/docs/changes.rst

PR:		276432
Approved by:	maintainer timeout (2+ weeks)
2024-02-09 06:32:59 +01:00

26 lines
678 B
Makefile

PORTNAME= django-constance
PORTVERSION= 3.1.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ultima@FreeBSD.org
COMMENT= Dynamic Django settings
WWW= https://github.com/jazzband/django-constance
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-picklefield>=0:www/py-django-picklefield@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
OPTIONS_DEFINE= REDIS
OPTIONS_DEFAULT= REDIS
REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=0:databases/py-redis@${PY_FLAVOR}
.include <bsd.port.mk>