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)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-05-14 15:39:49 +00:00
parent 6c8866b61e
commit fdba55591c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469905
2 changed files with 24 additions and 9 deletions

View file

@ -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>

View file

@ -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