summaryrefslogtreecommitdiff
path: root/www/py-dj51-drf-writable-nested/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-dj51-drf-writable-nested/Makefile')
-rw-r--r--www/py-dj51-drf-writable-nested/Makefile23
1 files changed, 23 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>