Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2018 15:39:50 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469905 - head/www/py-django-simple-captcha
Message-ID:  <201805141539.w4EFdolU090740@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon May 14 15:39:49 2018
New Revision: 469905
URL: https://svnweb.freebsd.org/changeset/ports/469905

Log:
  Update to 0.5.6
  
  - Add LICENSE_FILE
  - Add NO_ARCH
  - Allow concurrent installation (USE_PYTHON=concurrent)
  - Add DOCS and MIGRATIONS options
  
  Changes:	https://github.com/mbi/django-simple-captcha/blob/master/CHANGES
  PR:		228133
  Submitted by:	Kai <freebsd_ports@k-worx.org>
  Approved by:	John Hixson <jhixson@gmail.com> (maintainer)

Modified:
  head/www/py-django-simple-captcha/Makefile
  head/www/py-django-simple-captcha/distinfo

Modified: head/www/py-django-simple-captcha/Makefile
==============================================================================
--- head/www/py-django-simple-captcha/Makefile	Mon May 14 15:39:28 2018	(r469904)
+++ head/www/py-django-simple-captcha/Makefile	Mon May 14 15:39:49 2018	(r469905)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	django-simple-captcha
-PORTVERSION=	0.4.1
-PORTREVISION=	1
+PORTVERSION=	0.5.6
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,12 +11,27 @@ MAINTAINER=	jhixson@gmail.com
 COMMENT=	Simple, yet powerful, Django captcha application
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django18>=1.3:www/py-django18@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pillow>=2.0.0:graphics/py-pillow@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>=1.2.0:devel/py-six@${FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django111>=1.7.0:www/py-django111@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}django-ranged-response>=0.2.0:www/py-django-ranged-response@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>=2.2.2:graphics/py-pillow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.2.0:devel/py-six@${PY_FLAVOR}
 
-USES=		python
-USE_PYTHON=	distutils autoplist
+USES=		python zip
+USE_PYTHON=	autoplist concurrent distutils
+NO_ARCH=	yes
+
+PORTDOCS=	*
+
+OPTIONS_DEFINE=		DOCS MIGRATIONS
+DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
+DOCS_VARS=		PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
+MIGRATIONS_DESC=	Schema and data migration support (via south)
+MIGRATIONS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}south>0:databases/py-south@${PY_FLAVOR}
+
+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>

Modified: head/www/py-django-simple-captcha/distinfo
==============================================================================
--- head/www/py-django-simple-captcha/distinfo	Mon May 14 15:39:28 2018	(r469904)
+++ head/www/py-django-simple-captcha/distinfo	Mon May 14 15:39:49 2018	(r469905)
@@ -1,2 +1,3 @@
-SHA256 (django-simple-captcha-0.4.1.tar.gz) = caa194d5b7ea0cbcb69a797daaebae72d34a9ca32bfafddd08ead8e87bd7ef46
-SIZE (django-simple-captcha-0.4.1.tar.gz) = 60775
+TIMESTAMP = 1525990705
+SHA256 (django-simple-captcha-0.5.6.zip) = d6fd36e8ba4215908f8698ae0ee40ed2591f7ce544f6eb1a2c84a84ea55e4b0b
+SIZE (django-simple-captcha-0.5.6.zip) = 226340



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