diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-09-08 18:13:53 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-09-08 18:36:53 +0000 |
| commit | 797112ffca3964bb2611e37634c3258e399fc947 (patch) | |
| tree | 51d8cc795bf628ca7def36ed41012867260489bb | |
| parent | 739135b628eef9a3e7ff1ed5223905467c316f12 (diff) | |
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.
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-lxml5/Makefile | 29 | ||||
| -rw-r--r-- | devel/py-lxml5/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-lxml5/pkg-descr | 3 |
4 files changed, 36 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 2b75854de1f4..3dd12ac4653c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5136,6 +5136,7 @@ SUBDIR += py-lunardate SUBDIR += py-lxml SUBDIR += py-lxml-stubs + SUBDIR += py-lxml5 SUBDIR += py-mac-vendor-lookup SUBDIR += py-macholib SUBDIR += py-magic diff --git a/devel/py-lxml5/Makefile b/devel/py-lxml5/Makefile new file mode 100644 index 000000000000..fbbebe80fddb --- /dev/null +++ b/devel/py-lxml5/Makefile @@ -0,0 +1,29 @@ +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> diff --git a/devel/py-lxml5/distinfo b/devel/py-lxml5/distinfo new file mode 100644 index 000000000000..1119d6a5804e --- /dev/null +++ b/devel/py-lxml5/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1725559529 +SHA256 (lxml-5.3.0.tar.gz) = 4e109ca30d1edec1ac60cdbe341905dc3b8f55b16855e03a54aaf59e51ec8c6f +SIZE (lxml-5.3.0.tar.gz) = 3679318 diff --git a/devel/py-lxml5/pkg-descr b/devel/py-lxml5/pkg-descr new file mode 100644 index 000000000000..3f8964774fe1 --- /dev/null +++ b/devel/py-lxml5/pkg-descr @@ -0,0 +1,3 @@ +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. |
