aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2018-06-03 01:32:35 +0800
committermiwi <miwi@FreeBSD.org>2018-06-03 01:32:35 +0800
commit4e681a6c79e0e4aaf3620562c992e8e74520eaec (patch)
treea2bbfb6a0b5b3c8625ac767195865ca4564cf985 /www
parent6c1183a46330fe41140b9426c89ca29c98a080e1 (diff)
downloadfreebsd-ports-gnome-4e681a6c79e0e4aaf3620562c992e8e74520eaec.tar.gz
freebsd-ports-gnome-4e681a6c79e0e4aaf3620562c992e8e74520eaec.tar.zst
freebsd-ports-gnome-4e681a6c79e0e4aaf3620562c992e8e74520eaec.zip
- Update to 2.0
- Switch to django111 - Update MASTER_SITES CHEESESHOP - Added LICENSE - Added DOCS option with the appropriate dependencies PR: 228153 Submitted by: freebsd_ports@k-worx.org Approved by: maintainer timeout Sponsored by: iXsystems Inc.
Diffstat (limited to 'www')
-rw-r--r--www/py-django-configurations/Makefile28
-rw-r--r--www/py-django-configurations/distinfo5
2 files changed, 22 insertions, 11 deletions
diff --git a/www/py-django-configurations/Makefile b/www/py-django-configurations/Makefile
index 5ffe5874c519..09f5827111b3 100644
--- a/www/py-django-configurations/Makefile
+++ b/www/py-django-configurations/Makefile
@@ -1,22 +1,32 @@
# Created by: Tom Judge <tj@FreeBSD.org>
# $FreeBSD$
-PORTNAME= configurations
-PORTVERSION= 1.0
+PORTNAME= django-configurations
+PORTVERSION= 2.0
CATEGORIES= www python
-MASTER_SITES= GH
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}django-
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= tj@FreeBSD.org
COMMENT= Django project configuration using the composability of Python classes
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=0:www/py-django18@${FLAVOR}
+LICENSE= BSD3CLAUSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR}
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
-USE_GITHUB= yes
-GH_ACCOUNT= jazzband
-GH_PROJECT= django-configurations
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
+DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @(cd ${WRKSRC}/build/sphinx/html && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
+ "! -name .buildinfo -and ! -name objects.inv")
.include <bsd.port.mk>
diff --git a/www/py-django-configurations/distinfo b/www/py-django-configurations/distinfo
index 4a54047a15d9..70372fc0c418 100644
--- a/www/py-django-configurations/distinfo
+++ b/www/py-django-configurations/distinfo
@@ -1,2 +1,3 @@
-SHA256 (jazzband-django-configurations-1.0_GH0.tar.gz) = 345564cf1481a0101a59026a2ec0ec8fae51e8a25fe4083c1b2ca6beb911aed9
-SIZE (jazzband-django-configurations-1.0_GH0.tar.gz) = 39308
+TIMESTAMP = 1526033186
+SHA256 (django-configurations-2.0.tar.gz) = b4a4eb3ed631c2abbeb7008b5cc5d8d04b190df838e7b613731d728f674f3a2f
+SIZE (django-configurations-2.0.tar.gz) = 213029