* Update both ports at once because www/py-django-photologue requires www/py-django-sortedm2m in version 3.0.0 or later. Also assign them to Django 2.2 (current LTS release) as Django 1.11 is End-of-Life. * www/py-django-photologue: Remove an obsolete patch that was required to fix build isses with newer versions of devel/py-pip . * www/py-django-sortedm2m: Switch to GitHub for a while as no sdist is available at PyPI. * Sort variables a bit according to the PHB. Changelogs: https://github.com/richardbarran/django-photologue/blob/3.11/CHANGELOG.txt https://github.com/jazzband/django-sortedm2m/blob/3.0.0/CHANGES.rst PR: 245359 Approved by: Kevin Golding <ports@caomhin.org> (maintainer)
25 lines
725 B
Makefile
25 lines
725 B
Makefile
# Created by: Kevin Golding <ports@caomhin.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= django-photologue
|
|
PORTVERSION= 3.11
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= ports@caomhin.org
|
|
COMMENT= Powerful image management and gallery application for Django
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}django-sortedm2m>=3.0.0:www/py-django-sortedm2m@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}ExifRead>=2.1.2:graphics/py-exifread@${PY_FLAVOR} \
|
|
${PY_PILLOW}
|
|
|
|
USES= python:3.6+ # Required as www/py-django-sortedm2m needs Python 3.6+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|