Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2018 11:27:23 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470769 - in head: devel/py-django-rq devel/py-django-rq-dashboard www/py-django-annotations www/py-django-cors-headers
Message-ID:  <201805241127.w4OBRNSZ012540@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu May 24 11:27:22 2018
New Revision: 470769
URL: https://svnweb.freebsd.org/changeset/ports/470769

Log:
  www/py-django-annotations: switch to django 1.11
  
  PR:		228229
  Submitted by:	Kai <freebsd_ports@k-worx.org>
  Approved by:	rene (devel/py-django-rq maintainer)

Modified:
  head/devel/py-django-rq-dashboard/Makefile   (contents, props changed)
  head/devel/py-django-rq/Makefile   (contents, props changed)
  head/www/py-django-annotations/Makefile   (contents, props changed)
  head/www/py-django-cors-headers/Makefile   (contents, props changed)

Modified: head/devel/py-django-rq-dashboard/Makefile
==============================================================================
--- head/devel/py-django-rq-dashboard/Makefile	Thu May 24 11:26:57 2018	(r470768)
+++ head/devel/py-django-rq-dashboard/Makefile	Thu May 24 11:27:22 2018	(r470769)
@@ -2,20 +2,28 @@
 
 PORTNAME=	django-rq-dashboard
 PORTVERSION=	0.3.3
+PORTREVISION=	1
 CATEGORIES=	devel python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	Monitor your RQ queues, jobs and workers from the Django admin
 
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENCE
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django-rq>0:devel/py-django-rq@${FLAVOR}
 
+USES=		python
+USE_PYTHON=	autoplist distutils
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	brutasse
-
 NO_ARCH=	yes
 
-USES=		python:2.7
-USE_PYTHON=	autoplist distutils
+post-patch:
+	# Fix for Python v3.x builds
+	@${REINPLACE_CMD} -e "s|open('README.rst').read()|'${COMMENT}'|" \
+	${WRKSRC}/setup.py
 
 .include <bsd.port.mk>

Modified: head/devel/py-django-rq/Makefile
==============================================================================
--- head/devel/py-django-rq/Makefile	Thu May 24 11:26:57 2018	(r470768)
+++ head/devel/py-django-rq/Makefile	Thu May 24 11:27:22 2018	(r470769)
@@ -4,6 +4,7 @@
 PORTNAME=	django-rq
 PORTVERSION=	1.1.0
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	devel python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -16,7 +17,7 @@ TEST_DEPENDS=	redis-server:databases/redis \
 		${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django18>=1.8:www/py-django18@${FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django111>0:www/py-django111@${FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rq>=0.5.5:devel/py-rq@${FLAVOR}
 
 NO_ARCH=	yes

Modified: head/www/py-django-annotations/Makefile
==============================================================================
--- head/www/py-django-annotations/Makefile	Thu May 24 11:26:57 2018	(r470768)
+++ head/www/py-django-annotations/Makefile	Thu May 24 11:27:22 2018	(r470769)
@@ -2,20 +2,22 @@
 
 PORTNAME=	django-annotations
 PORTVERSION=	0.0.0.2016041401
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	Django implementation of annotatorjs Storage
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django-cors-headers>=1.1.0:www/py-django-cors-headers@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}djangorestframework36>=3.3.2:www/py-djangorestframework36@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}django-rq>0:devel/py-django-rq@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}django-rq-dashboard>0:devel/py-django-rq-dashboard@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${FLAVOR}
+LICENSE=	APACHE20
 
-USES=		python:2.7
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django-cors-headers>=1.1.0:www/py-django-cors-headers@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.3.2:www/py-djangorestframework@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}django-rq>0:devel/py-django-rq@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}django-rq-dashboard>0:devel/py-django-rq-dashboard@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
+
+USES=		python
 USE_GITHUB=	yes
 USE_PYTHON=	autoplist concurrent distutils
 

Modified: head/www/py-django-cors-headers/Makefile
==============================================================================
--- head/www/py-django-cors-headers/Makefile	Thu May 24 11:26:57 2018	(r470768)
+++ head/www/py-django-cors-headers/Makefile	Thu May 24 11:27:22 2018	(r470769)
@@ -2,6 +2,7 @@
 
 PORTNAME=	django-cors-headers
 PORTVERSION=	2.2.0
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +12,7 @@ COMMENT=	Handles server headers required for Cross-Ori
 
 LICENSE=	MIT
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django18>0:www/py-django18@${FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django111>0:www/py-django111@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	distutils autoplist



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805241127.w4OBRNSZ012540>