mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
77d68471ad
PR: 267994 Differential revision: D37518 Approved by: bapt
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
PORTNAME= django-simple-captcha
|
|
PORTVERSION= 0.5.14
|
|
PORTREVISION= 1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= jhixson@FreeBSD.org
|
|
COMMENT= Simple, yet powerful, Django captcha application
|
|
WWW= https://pypi.org/project/django-simple-captcha/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=1.7.0:www/py-django32@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}django-ranged-response>=0.2.0:www/py-django-ranged-response@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>=1.2.0:devel/py-six@${PY_FLAVOR} \
|
|
${PY_PILLOW}
|
|
|
|
USES= python:3.6+ zip
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS MIGRATIONS
|
|
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1: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>
|