aboutsummaryrefslogtreecommitdiff
path: root/www/py-drf-yasg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-drf-yasg/Makefile')
-rw-r--r--www/py-drf-yasg/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/py-drf-yasg/Makefile b/www/py-drf-yasg/Makefile
index f903134fd6c8..0e363bb41d6a 100644
--- a/www/py-drf-yasg/Makefile
+++ b/www/py-drf-yasg/Makefile
@@ -1,5 +1,6 @@
PORTNAME= drf-yasg
DISTVERSION= 1.21.10
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +12,9 @@ WWW= https://github.com/axnsan12/drf-yasg
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.0.6:devel/py-setuptools-scm@${PY_FLAVOR}
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.0.6:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2.16:www/py-django42@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.10.3:www/py-djangorestframework@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \
@@ -21,20 +24,17 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2.16:www/py-django42@${PY_FLAVOR
${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR}
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist pep517
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
NO_ARCH= yes
-OPTIONS_DEFINE= COREAPI VALIDATION
+OPTIONS_DEFINE= VALIDATION
OPTIONS_DEFAULT= VALIDATION
-COREAPI_DESC= Enable CoreAPI validation mechanisms
VALIDATION_DESC= Enable built-in OpenAPI validation mechanisms
-COREAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coreapi>=2.3.3:devel/py-coreapi@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}coreschema>=0.0.4:devel/py-coreschema@${PY_FLAVOR}
VALIDATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}swagger-spec-validator>=2.1.0:devel/py-swagger-spec-validator@${PY_FLAVOR}
.include <bsd.port.mk>