Skip to content

Commit

Permalink
www/py-drf-spectacular: Drop PYTHON_REL check for Python 3.7
Browse files Browse the repository at this point in the history
* Since Python 3.7 was removed in 12f5a11 the check is no longer
  required.
  • Loading branch information
knobix committed Jul 1, 2023
1 parent 964ec61 commit a2f3bb0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions www/py-drf-spectacular/Makefile
Expand Up @@ -31,10 +31,4 @@ OPTIONS_DEFAULT= SIDECAR
SIDECAR_DESC= Enable self-contained Swagger/Redoc UI installation
SIDECAR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}drf-spectacular-sidecar>0:www/py-drf-spectacular-sidecar@${PY_FLAVOR}

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 30800
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extension>0:devel/py-typing-extensions@${PY_FLAVOR}
.endif

.include <bsd.port.post.mk>
.include <bsd.port.mk>

0 comments on commit a2f3bb0

Please sign in to comment.