git: d9038a322ad0 - main - textproc/py-emeraldtree: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Sep 2024 14:08:06 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=d9038a322ad0b8497440bb7c32ed1fb66d60054f commit d9038a322ad0b8497440bb7c32ed1fb66d60054f Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-09-18 14:04:22 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-09-18 14:07:48 +0000 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 --- textproc/Makefile | 1 + textproc/py-emeraldtree/Makefile | 23 +++++++++++++++++++++++ textproc/py-emeraldtree/distinfo | 3 +++ textproc/py-emeraldtree/pkg-descr | 8 ++++++++ 4 files changed, 35 insertions(+) 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