git: fc516303844e - 2026Q2 - devel/py-lxml: update to 6.0.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Apr 2026 00:31:15 UTC
The branch 2026Q2 has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fc516303844e4da81498619948e25a7c726d8d5a
commit fc516303844e4da81498619948e25a7c726d8d5a
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2026-04-14 00:24:07 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-04-14 00:31:02 +0000
devel/py-lxml: update to 6.0.4
Changelog: https://lxml.de/6.0/changes-6.0.4.html
For tests, copy built extension module artefacts into src instead
of building them again, and add cssselect TEST_DEPENDS
(cherry picked from commit 8ae5bc33a128b397a9a4cd1789d1a53e8471f2e6)
---
devel/py-lxml/Makefile | 8 ++++----
devel/py-lxml/distinfo | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/devel/py-lxml/Makefile b/devel/py-lxml/Makefile
index 330d53ca27f8..74458291f046 100644
--- a/devel/py-lxml/Makefile
+++ b/devel/py-lxml/Makefile
@@ -1,5 +1,5 @@
PORTNAME= lxml
-DISTVERSION= 6.0.2
+DISTVERSION= 6.0.4
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,6 +14,7 @@ LICENSE_FILE= ${WRKSRC}/doc/licenses/BSD.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cssselect>0:www/py-cssselect@${PY_FLAVOR}
USES= compiler cpe gnome python
USE_GNOME= libxml2 libxslt
@@ -41,9 +42,8 @@ post-install-DOCS-on:
# see upstream Makefile, test target
# tests require compiled extensions in the source directories
do-test:
- cd ${BUILD_WRKSRC} && \
- ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} build_ext --inplace && \
- ${PYTHON_CMD} test.py -p -v
+ ${CP} -a ${BUILD_WRKSRC}/build/lib.*/lxml/ ${BUILD_WRKSRC}/src/lxml/
+ cd ${BUILD_WRKSRC} && ${PYTHON_CMD} test.py -p -v
.include <bsd.port.pre.mk>
diff --git a/devel/py-lxml/distinfo b/devel/py-lxml/distinfo
index d6656b8773d7..a9a4eec66b68 100644
--- a/devel/py-lxml/distinfo
+++ b/devel/py-lxml/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1769575034
-SHA256 (lxml-6.0.2.tar.gz) = cd79f3367bd74b317dda655dc8fcfa304d9eb6e4fb06b7168c5cf27f96e0cd62
-SIZE (lxml-6.0.2.tar.gz) = 4073426
+TIMESTAMP = 1776118943
+SHA256 (lxml-6.0.4.tar.gz) = 4137516be2a90775f99d8ef80ec0283f8d78b5d8bd4630ff20163b72e7e9abf2
+SIZE (lxml-6.0.4.tar.gz) = 4237780