py-draftjs_exporter: updated to 5.0.0

v5.0.0

Added

- Add tentative support for Python 3.11.
- Add new "string_compat" engine for maximum output stability, with identical output to its first release. To use it, set the `engine` property to `'engine': DOM.STRING_COMPAT,`

Removed

- Remove support for Python 3.6.
This commit is contained in:
adam 2024-02-09 11:57:57 +00:00
parent d728e1e51a
commit a3b4a77e90
3 changed files with 20 additions and 15 deletions

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.5 2022/01/04 20:55:24 wiz Exp $
# $NetBSD: Makefile,v 1.6 2024/02/09 11:57:57 adam Exp $
DISTNAME= draftjs_exporter-4.1.2
DISTNAME= draftjs_exporter-5.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/draftjs-exporter/}
@ -11,13 +10,17 @@ HOMEPAGE= https://github.com/springload/draftjs_exporter
COMMENT= Library to convert Draft.js raw ContentState to HTML
LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
# html5lib
DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4>=4.4.1:../../www/py-beautifulsoup4
DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.999:../../textproc/py-html5lib
# lxml
DEPENDS+= ${PYPKGPREFIX}-lxml>=4.2.0:../../textproc/py-lxml
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,10 +1,9 @@
@comment $NetBSD: PLIST,v 1.1 2020/08/03 23:57:49 joerg Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@comment $NetBSD: PLIST,v 1.2 2024/02/09 11:57:58 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/draftjs_exporter/__init__.py
${PYSITELIB}/draftjs_exporter/__init__.pyc
${PYSITELIB}/draftjs_exporter/__init__.pyo
@ -38,6 +37,9 @@ ${PYSITELIB}/draftjs_exporter/engines/lxml.pyo
${PYSITELIB}/draftjs_exporter/engines/string.py
${PYSITELIB}/draftjs_exporter/engines/string.pyc
${PYSITELIB}/draftjs_exporter/engines/string.pyo
${PYSITELIB}/draftjs_exporter/engines/string_compat.py
${PYSITELIB}/draftjs_exporter/engines/string_compat.pyc
${PYSITELIB}/draftjs_exporter/engines/string_compat.pyo
${PYSITELIB}/draftjs_exporter/entity_state.py
${PYSITELIB}/draftjs_exporter/entity_state.pyc
${PYSITELIB}/draftjs_exporter/entity_state.pyo

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.5 2021/10/26 11:30:36 nia Exp $
$NetBSD: distinfo,v 1.6 2024/02/09 11:57:58 adam Exp $
BLAKE2s (draftjs_exporter-4.1.2.tar.gz) = 1b89fad3f6d6712522e89bfbd9d91acbd12023be9c84d224aab3baf6eb50ea68
SHA512 (draftjs_exporter-4.1.2.tar.gz) = 76cf6bbb7e56a64c90d04bf9879924327a7cd39e4a4c1bb6a27e74348f74cb7ea918d9d90bf1826661efbe112c41ef85aa338f1eead524e36ff2416eea70dfbb
Size (draftjs_exporter-4.1.2.tar.gz) = 33550 bytes
BLAKE2s (draftjs_exporter-5.0.0.tar.gz) = ecd3aecb26c20991128db72a00b8a5145bbc6fd46c660350ed84930410c454ed
SHA512 (draftjs_exporter-5.0.0.tar.gz) = 84b2c0102663e1a1b4731ff93f104d18b4efa1819fb73bb20dcb66274046d878495340e1556b65fb312e4c49f66839e4b73f9fece57b92a73fc761224068f4d4
Size (draftjs_exporter-5.0.0.tar.gz) = 33271 bytes