From nobody Sun Feb 18 14:53:21 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 4Td7vk1p7Sz59sts; Sun, 18 Feb 2024 14:53:22 +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 4Td7vk1G3dz433d; Sun, 18 Feb 2024 14:53:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708268002; 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=MKqSFuRm2ODDm008JfQJiyW6B5p1Gf8SZVuVY5tnTxM=; b=CmH9aKxrUC7LOVmkpopIgzTJbdFMxxCArFsqz7AonPwHVzIYBGh1Ea+WVR5RvDiMK42jf+ ZIa1+4B65BbR/8ZkojYaNSn0CfJSW1hkcOcyDbFRe2xDpPvuTSfjhvHC2vMWB7MKaFRIRb E0dWm2oHIvv/sFDu5bWiEiJfx7xWQWR7onvp/vMJuw9cAwF8er1rohJnJZJ25fD+GH9GT6 Arvx4LmcPa0vxf6fJ+sPYY8Zj6fIQ2pAxM9pjT/oV/PMbm8NjsdpSDIkRXzlPa5NdCQYwk XVJENPR8uwmypyUHMlInaiJ98wamVj4kgjSpx6LdmwobHCLc1MrDnrCv7q0d6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708268002; 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=MKqSFuRm2ODDm008JfQJiyW6B5p1Gf8SZVuVY5tnTxM=; b=LTs3fAvqfQpDqIUmm/6ovr4Lw9kLRyaondXneWHVTl10sM2GGBQutnbzUIX+l6+4buXAOL kFFNLaD3szWbPG9sIC3MC1+UEdqo2jNSpJyCibBa2++Mcnm6PI0NqxTC4gCE2+7De65l+Z sGPVDE0UU0IPsNMIG4ttOLuNFdjeW1kY0Y6p/hPX9ZUROcVvVQHpaMev0zs9kwitwuZ3SL zV25XSLdxiPQIcdJfAL5iEnJC+7NooF+HVhp2dgKcWjuv+7r+Vj8PZZCz3zjCIF3M8xaW4 G3hewPZx6462MeGejNAtYVsFIN4Fto9LGNmzfwxG0xELu4bMWC1dQrvVq9JPww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708268002; a=rsa-sha256; cv=none; b=cYvUHbSr7M4vLgGIFuheNeMhe3eBTUVOEaj0MTGWc8BXd21PZ8BSjV5Kpb6p6uMgnRdVnr Vbb1bgIalsaBrS4a7PQzxBa9z8ejbELWOE+eG9kG9xhws/LcxVoI7r4re7qUgnJ4Nn0YMe sjEDe6nGTQyyRxwXkHjFgFdzGG4Orgb5fwz9li4WodEVZaXNrS0b8kD2Hv7C/vl2mC+tMq AIfCXv7xl45a1B+4+7MbgIBcxRHB6VXCWdLJcXY5tTPm44TRoay8TLTuqIz6GTMt2j6sGz 9d/CO/uROK09QXnrbFuEvL/53glPUQBet+31YKAc5izVo5D2Ljz5IwZthDo1xQ== 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 4Td7vk01FkzvSV; Sun, 18 Feb 2024 14:53:22 +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 41IErLuP074070; Sun, 18 Feb 2024 14:53:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41IErL3f074067; Sun, 18 Feb 2024 14:53:21 GMT (envelope-from git) Date: Sun, 18 Feb 2024 14:53:21 GMT Message-Id: <202402181453.41IErL3f074067@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Michael Gmelin Subject: git: 6533234e4fa9 - main - www/py-dj42-drf-writable-nested: New port 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: grembo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6533234e4fa93581e550815869e6af8db44349aa Auto-Submitted: auto-generated The branch main has been updated by grembo: URL: https://cgit.FreeBSD.org/ports/commit/?id=6533234e4fa93581e550815869e6af8db44349aa commit 6533234e4fa93581e550815869e6af8db44349aa Author: Michael Gmelin AuthorDate: 2024-02-12 16:47:39 +0000 Commit: Michael Gmelin CommitDate: 2024-02-18 14:52:55 +0000 www/py-dj42-drf-writable-nested: New port Writable nested model serializer for Django REST framework --- www/Makefile | 1 + www/py-dj42-drf-writable-nested/Makefile | 23 +++++++++++++++++++++++ www/py-dj42-drf-writable-nested/distinfo | 3 +++ www/py-dj42-drf-writable-nested/pkg-descr | 9 +++++++++ 4 files changed, 36 insertions(+) diff --git a/www/Makefile b/www/Makefile index 76a588dc3f9f..9906bd7b34e2 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1509,6 +1509,7 @@ SUBDIR += py-dj42-djangorestframework SUBDIR += py-dj42-drf-spectacular SUBDIR += py-dj42-drf-spectacular-sidecar + SUBDIR += py-dj42-drf-writable-nested SUBDIR += py-django-admin-rangefilter SUBDIR += py-django-advanced-filters SUBDIR += py-django-allauth diff --git a/www/py-dj42-drf-writable-nested/Makefile b/www/py-dj42-drf-writable-nested/Makefile new file mode 100644 index 000000000000..0c57cfbeb42f --- /dev/null +++ b/www/py-dj42-drf-writable-nested/Makefile @@ -0,0 +1,23 @@ +PORTNAME= drf-writable-nested +PORTVERSION= 0.7.0 +DISTVERSIONPREFIX= v +CATEGORIES= www python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42- + +MAINTAINER= grembo@FreeBSD.org +COMMENT= Writable nested model serializer for Django REST framework +WWW= https://github.com/beda-software/drf-writable-nested + +LICENSE= BSD2CLAUSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dj42-djangorestframework>0:www/py-dj42-djangorestframework@${PY_FLAVOR} + +USES= python +USE_GITHUB= yes +GH_ACCOUNT= beda-software +USE_PYTHON= autoplist distutils + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} + +.include diff --git a/www/py-dj42-drf-writable-nested/distinfo b/www/py-dj42-drf-writable-nested/distinfo new file mode 100644 index 000000000000..a7fdff392381 --- /dev/null +++ b/www/py-dj42-drf-writable-nested/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1707576902 +SHA256 (beda-software-drf-writable-nested-v0.7.0_GH0.tar.gz) = 3a3f3985c97ee9288e691a290fc991a5811af5e03511660f084065e06c7de0fe +SIZE (beda-software-drf-writable-nested-v0.7.0_GH0.tar.gz) = 21291 diff --git a/www/py-dj42-drf-writable-nested/pkg-descr b/www/py-dj42-drf-writable-nested/pkg-descr new file mode 100644 index 000000000000..36f9ed56df82 --- /dev/null +++ b/www/py-dj42-drf-writable-nested/pkg-descr @@ -0,0 +1,9 @@ +This is a writable nested model serializer for Django REST Framework which +allows you to create/update your models with related nested data. + +The following relations are supported: + +- OneToOne (direct/reverse) +- ForeignKey (direct/reverse) +- ManyToMany (direct/reverse excluding m2m relations with through model) +- GenericRelation (this is always only reverse)