textproc/py-emeraldtree: New port

EmeraldTree is a fork of ElementTree - the main differences are:

- It has a slightly different API for handling of text: it uses unicode
  objects as children (not as "tail" attributes of the elements)
- API cleanups, removing backward compatibility
- Better unicode support
- PolyglotWriter (for writing html5 that is also well-formed xml)
- Other improvements / optimizations

WWW: https://github.com/moinwiki/emeraldtree
This commit is contained in:
Muhammad Moinur Rahman 2024-09-18 16:04:22 +02:00
parent 5c9d06e402
commit d9038a322a
No known key found for this signature in database
GPG key ID: BDB9B5A617C0BC91
4 changed files with 35 additions and 0 deletions

View file

@ -1368,6 +1368,7 @@
SUBDIR += py-elasticsearch5 SUBDIR += py-elasticsearch5
SUBDIR += py-elasticsearch6 SUBDIR += py-elasticsearch6
SUBDIR += py-elementpath SUBDIR += py-elementpath
SUBDIR += py-emeraldtree
SUBDIR += py-empy SUBDIR += py-empy
SUBDIR += py-enchant SUBDIR += py-enchant
SUBDIR += py-enrich SUBDIR += py-enrich

View file

@ -0,0 +1,23 @@
PORTNAME= emeraldtree
DISTVERSION= 0.11.0
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Light-weight toolkit for XML processing
WWW= https://github.com/moinwiki/emeraldtree
LICENSE= MIT
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist pep517 pytest
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1726667839
SHA256 (emeraldtree-0.11.0.tar.gz) = 10e9f826430aadb4afaa5cf830dd8298cae9b11c3023578fe8f0aca3b141a434
SIZE (emeraldtree-0.11.0.tar.gz) = 23991

View file

@ -0,0 +1,8 @@
EmeraldTree is a fork of ElementTree - the main differences are:
- It has a slightly different API for handling of text: it uses unicode objects
as children (not as "tail" attributes of the elements)
- API cleanups, removing backward compatibility
- Better unicode support
- PolyglotWriter (for writing html5 that is also well-formed xml)
- Other improvements / optimizations