1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/www/py-drf-yasg/Makefile
Kai Knoblich fd76d1a577 *: Create Django 3.2 ports for net-mgmt/netbox
* Django 2.2 is currently the "default" version in the ports tree due
  its long term support until April 2022.  Thus ports that are assigned
  to that version will exist until then.

  The following ports are required to make the upgrade of
  net-mgmt/netbox to the 2.11 release possible because it requires
  Django 3.2.  All of the ports listed below were created on the basis
  of their respective original ports:

  - devel/py-dj32-django-rq
  - www/py-dj32-django-auth-ldap
  - www/py-dj32-django-cacheops (updated to a newer release)
  - www/py-dj32-django-cors-headers
  - www/py-dj32-django-debug-toolbar
  - www/py-dj32-django-filter
  - www/py-dj32-django-js-asset
  - www/py-dj32-django-mptt
  - www/py-dj32-django-prometheus
  - www/py-dj32-django-redis
  - www/py-dj32-django-tables2 (updated to a newer release)
  - www/py-dj32-django-taggit (updated to a newer release)
  - www/py-dj32-django-timezone-field
  - www/py-dj32-djangorestframework
  - www/py-dj32-drf-yasg

* Add/update the related CONFLICTS_INSTALL entries as well.

Reviewed by:	koobs, sunpoet
Differential Revision:	https://reviews.freebsd.org/D30977
2021-07-20 14:26:05 +02:00

39 lines
1.5 KiB
Makefile

PORTNAME= drf-yasg
DISTVERSION= 1.20.0
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>=2.2.16:www/py-django22@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.10.3: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}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
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}py-dj31-drf-yasg \
${PYTHON_PKGNAMEPREFIX}py-dj32-drf-yasg
NO_ARCH= yes
OPTIONS_DEFINE= VALIDATION
OPTIONS_DEFAULT= VALIDATION
VALIDATION_DESC= Enable built-in OpenAPI validation mechanisms
VALIDATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}swagger-spec-validator>=2.1.0:devel/py-swagger-spec-validator@${PY_FLAVOR}
.include <bsd.port.mk>