git: 797112ffca39 - main - devel/py-lxml5: Add py-lxml5 5.3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Sep 2024 18:42:00 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=797112ffca3964bb2611e37634c3258e399fc947
commit 797112ffca3964bb2611e37634c3258e399fc947
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-08 18:13:53 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-08 18:36:53 +0000
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.
---
devel/Makefile | 1 +
devel/py-lxml5/Makefile | 29 +++++++++++++++++++++++++++++
devel/py-lxml5/distinfo | 3 +++
devel/py-lxml5/pkg-descr | 3 +++
4 files changed, 36 insertions(+)
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.