freebsd-ports/www/py-werkzeug/Makefile

36 lines
1 KiB
Makefile

PORTNAME= werkzeug
PORTVERSION= 2.3.6
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Werkzeug-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python utilities collection for building WSGI applications
WWW= https://palletsprojects.com/p/werkzeug/ \
https://github.com/pallets/werkzeug
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR}
USES= cpe python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
CPE_VENDOR= palletsprojects
OPTIONS_DEFINE= EXAMPLES WATCHDOG
WATCHDOG_DESC= Monitor filesystem events
WATCHDOG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}watchdog>=0:devel/py-watchdog@${PY_FLAVOR}
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>