mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
4472d02b2c
A Python utilities collection for building WSGI applications. Werkzeug does not try to be a framework, and instead started as a simple collection of various utilities useful for building WSGI applications. It has since become one of the most advanced collections of its kind. It includes a powerful debugger, fully featured request and response objects, HTTP utilities to handle entity tags, cache control headers, HTTP dates, cookie handling, file uploads, a powerful URL routing system and a bunch of community contributed add-on modules.
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
PORTNAME= werkzeug
|
|
PORTVERSION= 2.3.8
|
|
CATEGORIES= www python
|
|
MASTER_SITES= PYPI \
|
|
https://github.com/pallets/werkzeug/releases/download/${PORTVERSION}/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
PKGNAMESUFFIX= 2
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Python utilities collection for building WSGI applications (2.x)
|
|
WWW= https://palletsprojects.com/p/werkzeug/ \
|
|
https://github.com/pallets/werkzeug
|
|
|
|
CONFLICTS= ${PYTHON_PKGNAMEPREFIX}werkzeug
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=0<4:devel/py-flit-core@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR}
|
|
|
|
USES= cpe python
|
|
USE_PYTHON= concurrent pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
CPE_VENDOR= palletsprojects
|
|
|
|
OPTIONS_DEFINE= EXAMPLES WATCHDOG
|
|
WATCHDOG_DESC= Monitor filesystem events
|
|
|
|
WATCHDOG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}watchdog>=2.3:devel/py-watchdog@${PY_FLAVOR}
|
|
|
|
post-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|