ea1b10f966
* Switch the port to Django 2.2 (current LTS release) as well because Django 1.11 is End-of-Life since April. Do the same for www/py-drf-yasg. * Repo-copy www/py-djangorestframework to www/py-djangorestframework311 which will be used as a transitional package by www/seahub until it gets support for Django 2.2+ in the next weeks/months. * Drop the Python 2.7 support of the remaining consumers to avoid breakage of "bulk -a". * Mark both repo-copied ports www/py-dj22-{djangorestframework,drf-yasg} as deprecated because they're obsolete now. PR: 245309 Reviewed by: sunpoet (earlier revision), ultima Differential Revision: https://reviews.freebsd.org/D24850
35 lines
1.3 KiB
Makefile
35 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= drf-yasg
|
|
DISTVERSION= 1.17.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Yet Another Swagger Generator
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.0.6:devel/py-setuptools_scm@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.11.7:www/py-django22@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.8:www/py-djangorestframework@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}coreapi>=2.3.3:devel/py-coreapi@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}coreschema>=0.0.4:devel/py-coreschema@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.15.34:devel/py-ruamel.yaml@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}swagger-spec-validator>=2.1.0:devel/py-swagger-spec-validator@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.0:net/py-uritemplate@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
|
|
|
|
USES= python:3.5+
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
NO_ARCH= yes
|
|
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-drf-yasg \
|
|
${PYTHON_PKGNAMEPREFIX}dj22-drf-yasg
|
|
|
|
.include <bsd.port.mk>
|