summaryrefslogtreecommitdiff
path: root/www/py-dj51-drf-writable-nested
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-dj51-drf-writable-nested')
-rw-r--r--www/py-dj51-drf-writable-nested/Makefile23
-rw-r--r--www/py-dj51-drf-writable-nested/distinfo3
-rw-r--r--www/py-dj51-drf-writable-nested/pkg-descr9
3 files changed, 35 insertions, 0 deletions
diff --git a/www/py-dj51-drf-writable-nested/Makefile b/www/py-dj51-drf-writable-nested/Makefile
new file mode 100644
index 000000000000..0a08d4599ef0
--- /dev/null
+++ b/www/py-dj51-drf-writable-nested/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= drf-writable-nested
+PORTVERSION= 0.7.2
+DISTVERSIONPREFIX= v
+CATEGORIES= www python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51-
+
+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}django51>=5.1:www/py-django51@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dj51-djangorestframework>0:www/py-dj51-djangorestframework@${PY_FLAVOR}
+
+USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= beda-software
+USE_PYTHON= autoplist distutils
+
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/www/py-dj51-drf-writable-nested/distinfo b/www/py-dj51-drf-writable-nested/distinfo
new file mode 100644
index 000000000000..aaaeaf39a4e7
--- /dev/null
+++ b/www/py-dj51-drf-writable-nested/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1746380617
+SHA256 (beda-software-drf-writable-nested-v0.7.2_GH0.tar.gz) = f5553adbda96d3b604b8f9533ff21fa2e9cadb8fc538bac01c495752314b4bdb
+SIZE (beda-software-drf-writable-nested-v0.7.2_GH0.tar.gz) = 21229
diff --git a/www/py-dj51-drf-writable-nested/pkg-descr b/www/py-dj51-drf-writable-nested/pkg-descr
new file mode 100644
index 000000000000..36f9ed56df82
--- /dev/null
+++ b/www/py-dj51-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)