Date: Sun, 19 Sep 2021 06:06:45 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 223647762b98 - main - www/py-dj32-django-modelcluster: Add py-py-dj32-django-modelcluster 5.1 (copied from py-django-modelcluster) Message-ID: <202109190606.18J66jIX052349@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=223647762b986688aa2b4fc21e30adadc4a91652 commit 223647762b986688aa2b4fc21e30adadc4a91652 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-09-19 05:25:41 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-09-19 05:40:31 +0000 www/py-dj32-django-modelcluster: Add py-py-dj32-django-modelcluster 5.1 (copied from py-django-modelcluster) --- www/Makefile | 1 + www/py-dj32-django-modelcluster/Makefile | 27 +++++++++++++++++++++++++++ www/py-dj32-django-modelcluster/distinfo | 3 +++ www/py-dj32-django-modelcluster/pkg-descr | 7 +++++++ 4 files changed, 38 insertions(+) diff --git a/www/Makefile b/www/Makefile index 70f5e16cf49d..61a07dd85ef5 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/py-dj32-django-modelcluster/Makefile b/www/py-dj32-django-modelcluster/Makefile new file mode 100644 index 000000000000..6e69b3ac4ea9 --- /dev/null +++ b/www/py-dj32-django-modelcluster/Makefile @@ -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> diff --git a/www/py-dj32-django-modelcluster/distinfo b/www/py-dj32-django-modelcluster/distinfo new file mode 100644 index 000000000000..aad2d8c62de8 --- /dev/null +++ b/www/py-dj32-django-modelcluster/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1605426487 +SHA256 (django-modelcluster-5.1.tar.gz) = 783d177f7bf5c8f30fe365c347b9a032920de371fe1c63d955d7b283684d4c08 +SIZE (django-modelcluster-5.1.tar.gz) = 24009 diff --git a/www/py-dj32-django-modelcluster/pkg-descr b/www/py-dj32-django-modelcluster/pkg-descr new file mode 100644 index 000000000000..815b73a39d65 --- /dev/null +++ b/www/py-dj32-django-modelcluster/pkg-descr @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109190606.18J66jIX052349>