1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00

www/py-dj32-django-modelcluster: Add py-py-dj32-django-modelcluster 5.1 (copied from py-django-modelcluster)

This commit is contained in:
Po-Chuan Hsieh 2021-09-19 13:25:41 +08:00
parent d2f4bdbcf8
commit 223647762b
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 38 additions and 0 deletions

View File

@ -1460,6 +1460,7 @@
SUBDIR += py-dj32-django-debug-toolbar
SUBDIR += py-dj32-django-filter
SUBDIR += py-dj32-django-js-asset
SUBDIR += py-dj32-django-modelcluster
SUBDIR += py-dj32-django-mptt
SUBDIR += py-dj32-django-prometheus
SUBDIR += py-dj32-django-redis

View File

@ -0,0 +1,27 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= django-modelcluster
PORTVERSION= 5.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj32-
MAINTAINER= sunpoet@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,1:devel/py-pytz@${PY_FLAVOR}
USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= TAGGIT
TAGGIT_DESC= Tagging support
TAGGIT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj32-django-taggit>=0.20:www/py-dj32-django-taggit@${PY_FLAVOR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1605426487
SHA256 (django-modelcluster-5.1.tar.gz) = 783d177f7bf5c8f30fe365c347b9a032920de371fe1c63d955d7b283684d4c08
SIZE (django-modelcluster-5.1.tar.gz) = 24009

View File

@ -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