pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May 27 14:39:29 UTC 2024

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/py-lxml-html-clean: DESCR Makefile PLIST distinfo

Log Message:
py-lxml-html-clean: added version 0.1.1

This project was initially a part of lxml. Because HTML cleaner is designed as
blocklist-based, many reports about possible security vulnerabilities were
filed for lxml and that make the project problematic for security-sensitive
environments. Therefore we decided to extract the problematic part to a
separate project.


To generate a diff of this commit:
cvs rdiff -u -r1.1476 -r1.1477 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-lxml-html-clean/DESCR \
    pkgsrc/textproc/py-lxml-html-clean/Makefile \
    pkgsrc/textproc/py-lxml-html-clean/PLIST \
    pkgsrc/textproc/py-lxml-html-clean/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1476 pkgsrc/textproc/Makefile:1.1477
--- pkgsrc/textproc/Makefile:1.1476     Mon May 27 08:07:11 2024
+++ pkgsrc/textproc/Makefile    Mon May 27 14:39:28 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1476 2024/05/27 08:07:11 adam Exp $
+# $NetBSD: Makefile,v 1.1477 2024/05/27 14:39:28 adam Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -1100,6 +1100,7 @@ SUBDIR+=  py-loremipsum
 SUBDIR+=       py-lsp-jsonrpc
 SUBDIR+=       py-lunr
 SUBDIR+=       py-lxml
+SUBDIR+=       py-lxml-html-clean
 SUBDIR+=       py-manuel
 SUBDIR+=       py-marisa
 SUBDIR+=       py-markdown

Added files:

Index: pkgsrc/textproc/py-lxml-html-clean/DESCR
diff -u /dev/null pkgsrc/textproc/py-lxml-html-clean/DESCR:1.1
--- /dev/null   Mon May 27 14:39:29 2024
+++ pkgsrc/textproc/py-lxml-html-clean/DESCR    Mon May 27 14:39:28 2024
@@ -0,0 +1,5 @@
+This project was initially a part of lxml. Because HTML cleaner is designed as
+blocklist-based, many reports about possible security vulnerabilities were
+filed for lxml and that make the project problematic for security-sensitive
+environments. Therefore we decided to extract the problematic part to a
+separate project.
Index: pkgsrc/textproc/py-lxml-html-clean/Makefile
diff -u /dev/null pkgsrc/textproc/py-lxml-html-clean/Makefile:1.1
--- /dev/null   Mon May 27 14:39:29 2024
+++ pkgsrc/textproc/py-lxml-html-clean/Makefile Mon May 27 14:39:28 2024
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2024/05/27 14:39:28 adam Exp $
+
+DISTNAME=      lxml_html_clean-0.1.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lxml-html-clean/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/fedora-python/lxml_html_clean
+COMMENT=       HTML cleaner from lxml project
+LICENSE=       modified-bsd
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61.0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-lxml-html-clean/PLIST
diff -u /dev/null pkgsrc/textproc/py-lxml-html-clean/PLIST:1.1
--- /dev/null   Mon May 27 14:39:29 2024
+++ pkgsrc/textproc/py-lxml-html-clean/PLIST    Mon May 27 14:39:28 2024
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/27 14:39:28 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/lxml_html_clean/__init__.py
+${PYSITELIB}/lxml_html_clean/__init__.pyc
+${PYSITELIB}/lxml_html_clean/__init__.pyo
+${PYSITELIB}/lxml_html_clean/clean.py
+${PYSITELIB}/lxml_html_clean/clean.pyc
+${PYSITELIB}/lxml_html_clean/clean.pyo
Index: pkgsrc/textproc/py-lxml-html-clean/distinfo
diff -u /dev/null pkgsrc/textproc/py-lxml-html-clean/distinfo:1.1
--- /dev/null   Mon May 27 14:39:29 2024
+++ pkgsrc/textproc/py-lxml-html-clean/distinfo Mon May 27 14:39:29 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/05/27 14:39:29 adam Exp $
+
+BLAKE2s (lxml_html_clean-0.1.1.tar.gz) = 48de295376013b2fed9fba882740de5528b12c3094b076ca432872ea39a25c5a
+SHA512 (lxml_html_clean-0.1.1.tar.gz) = f297a17f84cec472026d12246f95013bf6c0cab932dccb6432a1140503d62255a3a9357798047044175ce8f9d1d86d3ea9a73a732ec299d65263ccf637315e95
+Size (lxml_html_clean-0.1.1.tar.gz) = 14086 bytes



Home | Main Index | Thread Index | Old Index