svn commit: r491383 - in head/www: . py-django-modelcluster

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jan 27 19:56:18 UTC 2019


Author: sunpoet
Date: Sun Jan 27 19:56:17 2019
New Revision: 491383
URL: https://svnweb.freebsd.org/changeset/ports/491383

Log:
  Add py-django-modelcluster 4.3
  
  django-modelcluster extends Django's foreign key relations to make this
  possible. It introduces a new type of relation, ParentalKey, where the related
  models are stored locally to the 'parent' model until the parent is explicitly
  saved. Up to that point, the related models can still be accessed through a
  subset of the QuerySet API.
  
  WWW: https://github.com/wagtail/django-modelcluster

Added:
  head/www/py-django-modelcluster/
  head/www/py-django-modelcluster/Makefile   (contents, props changed)
  head/www/py-django-modelcluster/distinfo   (contents, props changed)
  head/www/py-django-modelcluster/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sun Jan 27 19:56:10 2019	(r491382)
+++ head/www/Makefile	Sun Jan 27 19:56:17 2019	(r491383)
@@ -1562,6 +1562,7 @@
     SUBDIR += py-django-mezzanine-filebrowser
     SUBDIR += py-django-mezzanine-grappelli
     SUBDIR += py-django-model-utils
+    SUBDIR += py-django-modelcluster
     SUBDIR += py-django-modern-rpc
     SUBDIR += py-django-mptt
     SUBDIR += py-django-netfields

Added: head/www/py-django-modelcluster/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-modelcluster/Makefile	Sun Jan 27 19:56:17 2019	(r491383)
@@ -0,0 +1,23 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	django-modelcluster
+PORTVERSION=	4.3
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Django extension for working with clusters of models as a single unit
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>=2015.2:devel/py-pytz@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/www/py-django-modelcluster/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-modelcluster/distinfo	Sun Jan 27 19:56:17 2019	(r491383)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1546725323
+SHA256 (django-modelcluster-4.3.tar.gz) = 407845f0c16b6f17547a65864657377446e0b3aa8a629b032bf5053f87f82fe9
+SIZE (django-modelcluster-4.3.tar.gz) = 22601

Added: head/www/py-django-modelcluster/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-modelcluster/pkg-descr	Sun Jan 27 19:56:17 2019	(r491383)
@@ -0,0 +1,7 @@
+django-modelcluster extends Django's foreign key relations to make this
+possible. It introduces a new type of relation, ParentalKey, where the related
+models are stored locally to the 'parent' model until the parent is explicitly
+saved. Up to that point, the related models can still be accessed through a
+subset of the QuerySet API.
+
+WWW: https://github.com/wagtail/django-modelcluster


More information about the svn-ports-head mailing list