1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/py-django-annoying/Makefile
Cheng-Lung Sung 9809313865 This is a django application that tries to eliminate annoying
things in the Django framework.

Features:

    render_to decorator - reduce typing in django views.
    signals decorator - allow use signals as decorators.
    ajax_request decorator - returns JsonResponse with this dict as content.
    autostrip decorator - strip text form fields before validation.
    get_object_or_None function - similar to get_object_or_404, but
	returns None if object not found.
    get_config function - get settings from django.conf if exists,
	return default value otherwise.
    AutoOneToOne field - creates related object on first call if it
	doesn't exist yet.
    HttpResponseReload - reload and stay on same page from where request
	was made.
    StaticServer middleware - instead of configuring urls.py, just
	add this middleware and it will serve you static files.
    JSONField - custom field that lets you easily store JSON data in one of
	your model fields.

WWW: https://bitbucket.org/offline/django-annoying/wiki/Home

Feature safe:	yes
2011-11-16 14:15:15 +00:00

25 lines
607 B
Makefile

# New ports collection makefile for: py-django-annoying
# Date created: 2011-11-16
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= django-annoying
PORTVERSION= 0.7.6
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Application to eliminate annoying things in the Django framework
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.include <bsd.port.mk>