Skip to content

Commit

Permalink
www/py-django-filer: Update to 3.1.0
Browse files Browse the repository at this point in the history
* Introduce default option HEIF to reflect the settings as defined
  in setup.py.

* Remove no longer required patch.

Changelog:

https://github.com/django-cms/django-filer/releases/tag/3.1.0

PR:		274890
Approved by:	portmgr (maintainer timeout, 14+ days)
  • Loading branch information
knobix committed Nov 20, 2023
1 parent f7d874c commit 9016ee4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 34 deletions.
18 changes: 10 additions & 8 deletions www/py-django-filer/Makefile
@@ -1,6 +1,5 @@
PORTNAME= django-filer
PORTVERSION= 2.1.2
PORTREVISION= 1
PORTVERSION= 3.1.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -12,16 +11,19 @@ WWW= https://github.com/stefanfoulis/django-filer
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=2.2<4.0:www/py-django32@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-easy-thumbnails>=2.8.0:graphics/py-django-easy-thumbnails@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-mptt>=0.6<1.0:www/py-django-mptt@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-polymorphic>=2:www/py-django-polymorphic@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}unidecode>=0.04<1.2:converters/py-unidecode@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=3.2<5.1:www/py-django32@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-easy-thumbnails>0:graphics/py-django-easy-thumbnails@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-polymorphic>0:www/py-django-polymorphic@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist distutils

NO_ARCH= yes

OPTIONS_DEFINE= HEIF
OPTIONS_DEFAULT= HEIF

HEIF_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow-heif>0:graphics/py-pillow-heif@${PY_FLAVOR}

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions www/py-django-filer/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1643097180
SHA256 (django-filer-2.1.2.tar.gz) = 50f9da3b40e106de084dc6e18c19a7a54397fbee60b7ddd2568b1281ed2a24b4
SIZE (django-filer-2.1.2.tar.gz) = 1003487
TIMESTAMP = 1698834039
SHA256 (django-filer-3.1.0.tar.gz) = a69db306f9495f30ba67046cca166dc8a7f73f69ed90bc302767e6d9ca991cca
SIZE (django-filer-3.1.0.tar.gz) = 1109438
23 changes: 0 additions & 23 deletions www/py-django-filer/files/patch-setup.py

This file was deleted.

0 comments on commit 9016ee4

Please sign in to comment.