1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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)
This commit is contained in:
Kai Knoblich 2020-04-18 09:50:46 +00:00
parent c26aff9250
commit e4a79bc302
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=532014
2 changed files with 17 additions and 8 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= django-markdownx
PORTVERSION= 2.0.23
PORTREVISION= 2
PORTVERSION= 3.0.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -14,12 +13,22 @@ COMMENT= Django Markdown editor with image uploads and live preview
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>0:www/py-django22@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR} \
${PY_PILLOW}
USES= python
USES= python:3.5+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>
.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>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1526023240
SHA256 (django-markdownx-2.0.23.tar.gz) = 245df601b26465acf9d29bf65736d7ca8202f7171fcf8b3b52c84ebd4c3c4764
SIZE (django-markdownx-2.0.23.tar.gz) = 30963
TIMESTAMP = 1585603793
SHA256 (django-markdownx-3.0.1.tar.gz) = e18e395cad0ade96afbb250a81cad15618e417ac3c0d9c37d964be3d8fd57bcf
SIZE (django-markdownx-3.0.1.tar.gz) = 33084