Skip to content

Commit

Permalink
www/py-django-constance: Update to 3.1.0
Browse files Browse the repository at this point in the history
* 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)
  • Loading branch information
knobix committed Feb 9, 2024
1 parent 019406c commit 620e765
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
16 changes: 9 additions & 7 deletions www/py-django-constance/Makefile
@@ -1,6 +1,7 @@
PORTNAME= django-constance
PORTVERSION= 2.9.1
PORTVERSION= 3.1.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= ultima@FreeBSD.org
Expand All @@ -10,15 +11,16 @@ WWW= https://github.com/jazzband/django-constance
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=0:databases/py-redis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-picklefield>=0:www/py-django-picklefield@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django32>=1.8:www/py-django32@${PY_FLAVOR}
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
USE_GITHUB= yes
GH_ACCOUNT= jazzband

OPTIONS_DEFINE= REDIS
OPTIONS_DEFAULT= REDIS

REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=0:databases/py-redis@${PY_FLAVOR}

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions www/py-django-constance/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1660285964
SHA256 (jazzband-django-constance-2.9.1_GH0.tar.gz) = be021529f825d82c672a8773a44d3b04d17b1dbf35e7abf1675dd948048e448d
SIZE (jazzband-django-constance-2.9.1_GH0.tar.gz) = 167966
TIMESTAMP = 1705471675
SHA256 (django-constance-3.1.0.tar.gz) = 2b96e51de63751ef63f8f92f74e0f6aea30fb6453f3a736c21e1f8b3f6cf0b4f
SIZE (django-constance-3.1.0.tar.gz) = 36806

0 comments on commit 620e765

Please sign in to comment.