Files
ports/www/py-django-markdownx/Makefile
T
Kai Knoblich e4a79bc302 www/py-django-markdownx: Update to 3.0.1
* Also assign the port to Django 2.2 (current LTS release) as Django 1.11 is
  End-of-Life.

* Enforce UTF-8 environments for Python <= 3.6 to avoid errors during the
  configuration phase.

* Make USES block separate from non-related variables.

Changelog:

https://github.com/neutronX/django-markdownx/releases

PR:		245325
Approved by:	maintainer timeout (14 days)
2020-04-18 09:50:46 +00:00

35 lines
845 B
Makefile

# Created by: Carlo Strub
# $FreeBSD$
PORTNAME= django-markdownx
PORTVERSION= 3.0.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= cs@FreeBSD.org
COMMENT= Django Markdown editor with image uploads and live preview
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>0:www/py-django22@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR} \
${PY_PILLOW}
USES= python:3.5+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3700
# Force an UTF-8 environment to avoid failures in the configuration phase for
# Python versions <= 3.6. Since Python 3.7 the UTF-8 mode is enabled by
# default when the locale is C.
USE_LOCALE= en_US.UTF-8
.endif
.include <bsd.port.post.mk>