Django-cron lets you run Django/Python code on a recurring basis providing basic plumbing to track and execute tasks. The two most common ways in which most people go about this is either writing custom python scripts or a management command per cron (leads to too many management commands). Along with that some mechanism to track success, failure etc. is also usually necessary. This app solves both issues to a reasonable extent. This is by no means a replacement for queues like Celery etc. WWW: https://github.com/tivix/django-cron Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D19589
23 lines
531 B
Makefile
23 lines
531 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= django-cron
|
|
PORTVERSION= 0.5.1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Running Python crons in a Django project
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}django-common-helpers>=0.6.4:www/py-django-common-helpers@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|