freebsd-ports/www/py-django-cors-headers/Makefile
Kai Knoblich 3aea2c9817 www/py-django-cors-headers: Update to 3.14.0
* Switch to PEP517 build framework.

Changelog:

https://github.com/adamchainz/django-cors-headers/blob/3.14.0/CHANGELOG.rst

MFH:		No (PEP517 support not present in 2023Q1 branch)
2023-03-17 13:04:40 +01:00

25 lines
754 B
Makefile

PORTNAME= django-cors-headers
PORTVERSION= 3.14.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= django_cors_headers-${PORTVERSION}
MAINTAINER= kai@FreeBSD.org
COMMENT= Handles server headers required for Cross-Origin Resource Sharing
WWW= https://github.com/adamchainz/django-cors-headers
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist pep517
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
.include <bsd.port.mk>