ports/textproc/py-markupsafe/Makefile
Po-Chuan Hsieh 13ddac7fe4
textproc/py-markupsafe: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
2024-05-13 22:09:34 +08:00

25 lines
699 B
Makefile

PORTNAME= markupsafe
PORTVERSION= 2.1.5
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= MarkupSafe-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Implements XML/HTML/XHTML Markup safe string for Python
WWW= https://github.com/pallets/markupsafe
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}
USES= python
USE_PYTHON= autoplist concurrent pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>