ports/devel/py-lxml5/Makefile
Po-Chuan Hsieh 797112ffca
devel/py-lxml5: Add py-lxml5 5.3.0
lxml is the most feature-rich and easy-to-use library for processing XML and
HTML in the Python language. It's also very fast and memory friendly, just so
you know.
2024-09-09 02:36:53 +08:00

29 lines
852 B
Makefile

PORTNAME= lxml
PORTVERSION= 5.3.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 5
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Pythonic XML processing library combining libxml2/libxslt
WWW= https://lxml.de/ \
https://github.com/lxml/lxml
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython3>=3.0.11:lang/cython3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= cpe gnome python
USE_GNOME= libxml2 libxslt
USE_PYTHON= autoplist concurrent pep517
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}lxml ${PYTHON_PKGNAMEPREFIX}lxml5
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>