Index: www/Makefile =================================================================== --- www/Makefile +++ www/Makefile @@ -1550,6 +1550,7 @@ SUBDIR += py-django-cors-headers SUBDIR += py-django-countries SUBDIR += py-django-crispy-forms + SUBDIR += py-django-cron SUBDIR += py-django-datetime-widget SUBDIR += py-django-debug-toolbar SUBDIR += py-django-dpaste Index: www/py-django-cron/Makefile =================================================================== --- /dev/null +++ www/py-django-cron/Makefile @@ -0,0 +1,23 @@ +# $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 Index: www/py-django-cron/distinfo =================================================================== --- /dev/null +++ www/py-django-cron/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1549629311 +SHA256 (django-cron-0.5.1.tar.gz) = 08d22708c8b2ecab8cda989019a66c7e1e2424c59d822796fd45abf7731d261d +SIZE (django-cron-0.5.1.tar.gz) = 12122 Index: www/py-django-cron/pkg-descr =================================================================== --- /dev/null +++ www/py-django-cron/pkg-descr @@ -0,0 +1,12 @@ +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 +necesary. + +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