diff --git a/www/py-draftjs-exporter/Makefile b/www/py-draftjs-exporter/Makefile index c9b3c12b62d3..0f8ae75ed2ec 100644 --- a/www/py-draftjs-exporter/Makefile +++ b/www/py-draftjs-exporter/Makefile @@ -1,32 +1,31 @@ PORTNAME= draftjs-exporter -PORTVERSION= 5.1.0 -PORTREVISION= 1 +PORTVERSION= 5.2.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= draftjs_exporter-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library to convert rich text from Draft.js raw ContentState to HTML WWW= https://github.com/springload/draftjs_exporter LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes OPTIONS_DEFINE= HTML5LIB LXML HTML5LIB_DESC= Use html5lib as backing engine LXML_DESC= Use lxml as backing engine HTML5LIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.4.1<5:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5lib>=0.999<2:www/py-html5lib@${PY_FLAVOR} -LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml5>=4.2.0<6:devel/py-lxml5@${PY_FLAVOR} +LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.2.0<7:devel/py-lxml@${PY_FLAVOR} .include diff --git a/www/py-draftjs-exporter/distinfo b/www/py-draftjs-exporter/distinfo index d6b2cec160b3..84ef638853dd 100644 --- a/www/py-draftjs-exporter/distinfo +++ b/www/py-draftjs-exporter/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1740836194 -SHA256 (draftjs_exporter-5.1.0.tar.gz) = 9f44b8dcecb702540e3aab24af2fad8683aec910fe0034c12cfab5d716ac5f84 -SIZE (draftjs_exporter-5.1.0.tar.gz) = 33500 +TIMESTAMP = 1768625797 +SHA256 (draftjs_exporter-5.2.0.tar.gz) = 4d665f8c75fd173d2c99326405300e8defcf4961b9b2f16ff117486489c6760b +SIZE (draftjs_exporter-5.2.0.tar.gz) = 19674 diff --git a/www/py-draftjs-exporter/files/patch-pyproject.toml b/www/py-draftjs-exporter/files/patch-pyproject.toml new file mode 100644 index 000000000000..147b5c306eed --- /dev/null +++ b/www/py-draftjs-exporter/files/patch-pyproject.toml @@ -0,0 +1,13 @@ +--- pyproject.toml.orig 2026-01-19 14:12:14 UTC ++++ pyproject.toml +@@ -58,8 +58,8 @@ dev = [ + ] + + [build-system] +-requires = ["uv_build>=0.9.21,<0.10.0"] +-build-backend = "uv_build" ++requires = ["setuptools"] ++build-backend = "setuptools.build_meta" + + [tool.uv.build-backend] + module-name = "draftjs_exporter"