From nobody Sat Mar 09 14:09:43 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TsQ083Ft4z5DF9C; Sat, 9 Mar 2024 14:09:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TsQ080Dkqz4nxC; Sat, 9 Mar 2024 14:09:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709993384; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cstOUnDBrozl5j+aRjp+7X+dqR7R8Cs/IOe0jVkNQWE=; b=uMeOmJkgqh9Edyb7TcFCIjS3dd0x90inRYpz47KzyZ0dFzind0OKtl+zFG3ICjwx+h/gOI /HULBMeGfk2zuGcAQ4CwbhEF3MEIcDGiFRKUuqGA5nQRBcm8ShDCL4S/TNi+eM/oV1+s+u PXGBGbP+cqcodfX+50WWciskr9fJDgwSw/PjInNfD+Ud762JK9NLKT43LKu6IHP4ah4gYQ 4TLn/zafywOTA/GV9oLMkbWM21ONBk+g954WINQFFSoZPr9y5hHa6hXabzP1Rd15xL/dd1 BfuTbB2F9CsB6ON8e0frxgtQ1F7ReUoQt5X/QOFCAeuloAWP9tLK54bdROrqIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709993384; a=rsa-sha256; cv=none; b=aCQ5eNST6FkQtivzNfaDo3eXq03S+Fm3dNjfMQ2WZsgQfyE46Sxk9HztZKPBMbCLIM1G1D 5GmcZeMnK9womNYGeDYDUf2EnPrsUzaHfR1d4jxzpxtK7TJFQMzaNusysXgV9rn8NNewIl vyKy6iQMNPsbHmCZpJdt+sJtM1nYfrnp27yWLu308gfnKKe65HYvtte6Lj1sOLkAZUYZvd MTTSLGNes9cngcwYHMnoyoL2fOjHiInnD77/NiyRcvBF0T+po6BJmTQwq6YE2zjnOb0MFs NsNmfY9ha1Gi5/ybuoF42xZpQPFCKColSoY5ayBuuI9axZmBvU7EsRPE0fdkCg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709993384; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cstOUnDBrozl5j+aRjp+7X+dqR7R8Cs/IOe0jVkNQWE=; b=ZCiRmm5MjPhEZcWtDjNa/HS6CnuBZTmaoslhBn63V0VEBa+vPPOZmvmlTeVTFZ7rQ3oh6C A/t1TWFBh0io/V7ZtcUirsX8YrBo5GnKGqm96ChFWOazPeP6k1KAG1QykJi2S4zU9I0zfh /Y5JS1mERITwnFcgoD04dMjw3FyXU1JlrfYtfPf6NrlD6alAkHj7Bc8KOibCR73VZXQ2oN /iNa1ASJc6BO1SBn5rOOqHLWWpQhTxteEKe0pBCMUXTi4Uw2kh5hBCAgHy9WyDpQ0VO7BG 8JZvk/Z1DniKgc809Jl32RjB5CplBYulIjiAOQKmuys/V2OyziBMh3HdXSsRBw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TsQ076yPkz14rD; Sat, 9 Mar 2024 14:09:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 429E9hVC093120; Sat, 9 Mar 2024 14:09:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 429E9hNn093117; Sat, 9 Mar 2024 14:09:43 GMT (envelope-from git) Date: Sat, 9 Mar 2024 14:09:43 GMT Message-Id: <202403091409.429E9hNn093117@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 34c201e051eb - main - www/py-dj42-django-modelcluster: Add py-dj42-django-modelcluster 6.2.1 (copied from py-django-modelcluster) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 34c201e051eb56adc8267e481ab188cadfc155e5 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=34c201e051eb56adc8267e481ab188cadfc155e5 commit 34c201e051eb56adc8267e481ab188cadfc155e5 Author: Po-Chuan Hsieh AuthorDate: 2024-03-09 13:44:21 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-03-09 14:05:15 +0000 www/py-dj42-django-modelcluster: Add py-dj42-django-modelcluster 6.2.1 (copied from py-django-modelcluster) 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/Makefile | 1 + www/py-dj42-django-modelcluster/Makefile | 27 +++++++++++++++++++++++++++ www/py-dj42-django-modelcluster/distinfo | 3 +++ www/py-dj42-django-modelcluster/pkg-descr | 5 +++++ 4 files changed, 36 insertions(+) diff --git a/www/Makefile b/www/Makefile index a087e573b1fe..c21724837f7d 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1507,6 +1507,7 @@ SUBDIR += py-dj42-django-graphiql-debug-toolbar SUBDIR += py-dj42-django-guardian SUBDIR += py-dj42-django-js-asset + SUBDIR += py-dj42-django-modelcluster SUBDIR += py-dj42-django-mptt SUBDIR += py-dj42-django-multiselectfield SUBDIR += py-dj42-django-prometheus diff --git a/www/py-dj42-django-modelcluster/Makefile b/www/py-dj42-django-modelcluster/Makefile new file mode 100644 index 000000000000..5fc30b0a20b7 --- /dev/null +++ b/www/py-dj42-django-modelcluster/Makefile @@ -0,0 +1,27 @@ +PORTNAME= django-modelcluster +PORTVERSION= 6.2.1 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Django extension for working with clusters of models as a single unit +WWW= https://github.com/wagtail/django-modelcluster + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytz>=2022.4,1:devel/py-pytz@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +OPTIONS_DEFINE= TAGGIT +TAGGIT_DESC= Tagging support + +TAGGIT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj42-django-taggit>=3.1:www/py-dj42-django-taggit@${PY_FLAVOR} + +.include diff --git a/www/py-dj42-django-modelcluster/distinfo b/www/py-dj42-django-modelcluster/distinfo new file mode 100644 index 000000000000..ccb0423d1f78 --- /dev/null +++ b/www/py-dj42-django-modelcluster/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708449512 +SHA256 (django-modelcluster-6.2.1.tar.gz) = 3f53d47e1af7aec5e238724be16bbebdac9c518e4788b31429e773dcd8e8ea49 +SIZE (django-modelcluster-6.2.1.tar.gz) = 27121 diff --git a/www/py-dj42-django-modelcluster/pkg-descr b/www/py-dj42-django-modelcluster/pkg-descr new file mode 100644 index 000000000000..d4446457fed3 --- /dev/null +++ b/www/py-dj42-django-modelcluster/pkg-descr @@ -0,0 +1,5 @@ +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.