New port: www/py-django-rest-swagger: Swagger UI for Django REST framework

PR:		226950
Submitted by:	Kai <freebsd_ports@k-worx.org>
This commit is contained in:
Yuri Victorovich 2018-03-27 21:20:29 +00:00
parent 4ba1922e69
commit c73788ff89
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465759
4 changed files with 31 additions and 0 deletions

View file

@ -1610,6 +1610,7 @@
SUBDIR += py-django-registration
SUBDIR += py-django-registration-defaults
SUBDIR += py-django-registration-redux
SUBDIR += py-django-rest-swagger
SUBDIR += py-django-reversion
SUBDIR += py-django-sekizai
SUBDIR += py-django-signals-ahoy

View file

@ -0,0 +1,24 @@
# $FreeBSD$
PORTNAME= django-rest-swagger
DISTVERSION= 2.1.2
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= freebsd_ports@k-worx.org
COMMENT= Swagger UI for Django REST framework
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coreapi>0:devel/py-coreapi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}djangorestframework>0:www/py-djangorestframework@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openapi-codec>0:devel/py-openapi-codec@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}simplejson>0:devel/py-simplejson@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1522066333
SHA256 (django-rest-swagger-2.1.2.tar.gz) = ff889e2b339a9a57010dba7729d56471e05b77827f6dd36c0bcb983839882598
SIZE (django-rest-swagger-2.1.2.tar.gz) = 727521

View file

@ -0,0 +1,3 @@
API documentation generator for Swagger UI and Django REST framework.
WWW: https://github.com/marcgibbons/django-rest-swagger