git: f941562f2b7a - main - textproc/py-libxml2: Add upstream deprecation notice

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 21 Jun 2025 14:10:37 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f941562f2b7a010359e32c6ede5afe0c5843c699

commit f941562f2b7a010359e32c6ede5afe0c5843c699
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-06-21 14:08:26 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-06-21 14:09:31 +0000

    textproc/py-libxml2: Add upstream deprecation notice
    
    Python bindings are planned to be deprecated upstream, add notice
    so we can warn users ahead.
    
    Reference: https://gitlab.gnome.org/GNOME/libxml2/-/issues/891
---
 textproc/py-libxml2/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/textproc/py-libxml2/Makefile b/textproc/py-libxml2/Makefile
index 099b26ef6033..52f16b2c9e47 100644
--- a/textproc/py-libxml2/Makefile
+++ b/textproc/py-libxml2/Makefile
@@ -5,6 +5,8 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 COMMENT=	Python interface for XML parser library for GNOME
 MASTERDIR=	${.CURDIR}/../libxml2
 
+DEPRECATED=	Python bindings are planned to be deprecated upstream, consider migrating to another project such as lxml
+
 USES+=		gnome python shebangfix
 USE_GNOME=	libxml2
 USE_PYTHON=	flavors