mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 06:00:30 -04:00
Changes to the port: *Changed CHEESESHOP to GH. Reason: Release 4.2.3 is dated from Q1/2017 and has no support for Django 1.11 or newer. Support for Django 1.11 has been introduced with commit 564e574 . When upstream brings a new release then a return to CHEESESHOP should be no problem. *Changed RUN_DEPENDS to reflect the new dependencies *Added NO_ARCH *Added pkg-message with quick start notes to improve the user experience *Added SUB_FILES and SUB_LIST for pkg-message - Update www/py-django-mezzanine-filebrowser to 0.4.7 - Update www/py-django-mezzanine-grapelli to 0.4.7 PR: 228417 Submitted by: freebsd_ports@k-worx.org Approved by: koobs (maintainer) Sponsored by: iXsystems Inc.
44 lines
1.8 KiB
Makefile
44 lines
1.8 KiB
Makefile
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= django-mezzanine
|
|
DISTVERSION= 4.2.3-148
|
|
DISTVERSIONSUFFIX= -g12114051
|
|
CATEGORIES= www python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
COMMENT= Content management platform built using the Django framework
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}django-contrib-comments>0:www/py-django-contrib-comments@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}django-mezzanine-filebrowser>=0.4.6:www/py-django-mezzanine-filebrowser@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}django-mezzanine-grappelli>=0.4.5:www/py-django-mezzanine-grappelli@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}tzlocal>=1.0:devel/py-tzlocal@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}bleach>=2.0:www/py-bleach@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.5.3:www/py-beautifulsoup@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}requests>=2.1.0:www/py-requests@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=0.4:www/py-requests-oauthlib@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}future>=0.9.0:devel/py-future@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pep8>=1.4.1:devel/pep8@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pyflakes>=0.6.1:devel/py-pyflakes@${PY_FLAVOR}
|
|
|
|
USES= gettext python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= stephenmcd
|
|
GH_PROJECT= mezzanine
|
|
NO_ARCH= yes
|
|
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= PYTHON_VER=${PYTHON_VER}
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${SETENV} TZ=UTC LC_ALL=en_US.UTF-8 ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|