Django Models and working with trees of Model instances. MPTT is a technique for storing hierarchical data in a database. The aim is to make retrieval operations very efficient. The trade-off for this efficiency is that performing inserts and moving items around the tree is more involved, as there's some extra work required to keep the tree structure in a good state at all times.
21 lines
595 B
Makefile
21 lines
595 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2012/01/08 07:48:36 adam Exp $
|
|
|
|
DISTNAME= django-mptt-0.5.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= http://pypi.python.org/packages/source/d/django-mptt/
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= http://github.com/django-mptt/django-mptt
|
|
COMMENT= Utilities for implementing Modified Preorder Tree Traversal
|
|
LICENSE= mit
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= # empty
|
|
PYDISTUTILSPKG= yes
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-django-[0-9]*:../../www/py-django
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|