diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2024-09-18 16:04:22 +0200 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2024-09-18 16:07:48 +0200 |
commit | d9038a322ad0b8497440bb7c32ed1fb66d60054f (patch) | |
tree | 9d905e9339af7737725e1a33577822eb600fcc37 /textproc | |
parent | www/minio: Update version 2024-01-16T16-07-38Z=>2024-01-18T22-51-28Z (diff) |
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
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/py-emeraldtree/Makefile | 23 | ||||
-rw-r--r-- | textproc/py-emeraldtree/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-emeraldtree/pkg-descr | 8 |
4 files changed, 35 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index c46f75d7eccf..17c40c0ff9cd 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1368,6 +1368,7 @@ SUBDIR += py-elasticsearch5 SUBDIR += py-elasticsearch6 SUBDIR += py-elementpath + SUBDIR += py-emeraldtree SUBDIR += py-empy SUBDIR += py-enchant SUBDIR += py-enrich diff --git a/textproc/py-emeraldtree/Makefile b/textproc/py-emeraldtree/Makefile new file mode 100644 index 000000000000..8967e1bb2e6e --- /dev/null +++ b/textproc/py-emeraldtree/Makefile @@ -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> diff --git a/textproc/py-emeraldtree/distinfo b/textproc/py-emeraldtree/distinfo new file mode 100644 index 000000000000..5d0a21c999d4 --- /dev/null +++ b/textproc/py-emeraldtree/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1726667839 +SHA256 (emeraldtree-0.11.0.tar.gz) = 10e9f826430aadb4afaa5cf830dd8298cae9b11c3023578fe8f0aca3b141a434 +SIZE (emeraldtree-0.11.0.tar.gz) = 23991 diff --git a/textproc/py-emeraldtree/pkg-descr b/textproc/py-emeraldtree/pkg-descr new file mode 100644 index 000000000000..9ed5336bf2b6 --- /dev/null +++ b/textproc/py-emeraldtree/pkg-descr @@ -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 |