diff --git a/textproc/py-emeraldtree/Makefile b/textproc/py-emeraldtree/Makefile index a92b81a20063..21431ce85b91 100644 --- a/textproc/py-emeraldtree/Makefile +++ b/textproc/py-emeraldtree/Makefile @@ -1,23 +1,23 @@ PORTNAME= emeraldtree -DISTVERSION= 0.11.0 +PORTVERSION= 0.12.0 CATEGORIES= textproc python -MASTER_SITES= PYPI +MASTER_SITES= PYPI \ + https://github.com/moinwiki/emeraldtree/releases/download/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org -COMMENT= Light-weight toolkit for XML processing +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Light-weight XML object model for Python 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} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist pep517 pytest +USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes .include diff --git a/textproc/py-emeraldtree/distinfo b/textproc/py-emeraldtree/distinfo index 5d0a21c999d4..78e9931cb792 100644 --- a/textproc/py-emeraldtree/distinfo +++ b/textproc/py-emeraldtree/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1726667839 -SHA256 (emeraldtree-0.11.0.tar.gz) = 10e9f826430aadb4afaa5cf830dd8298cae9b11c3023578fe8f0aca3b141a434 -SIZE (emeraldtree-0.11.0.tar.gz) = 23991 +TIMESTAMP = 1773152839 +SHA256 (emeraldtree-0.12.0.tar.gz) = 2f39bde9f9a6bb055642c3ff0aa9b2046bac7f0e9e425a183cff1fd930617897 +SIZE (emeraldtree-0.12.0.tar.gz) = 25085 diff --git a/textproc/py-emeraldtree/files/patch-pyproject.toml b/textproc/py-emeraldtree/files/patch-pyproject.toml new file mode 100644 index 000000000000..dcddeec6c2bc --- /dev/null +++ b/textproc/py-emeraldtree/files/patch-pyproject.toml @@ -0,0 +1,20 @@ +--- pyproject.toml.orig 2026-01-24 15:24:29 UTC ++++ pyproject.toml +@@ -21,7 +21,7 @@ classifiers = [ + "Topic :: Text Processing :: Markup :: HTML", + "Topic :: Text Processing :: Markup :: XML", + ] +-license = "HPND-sell-variant" # aka "Python (MIT Style)" or "Elementtree" license ++license = { text = "HPND-sell-variant" } # aka "Python (MIT Style)" or "Elementtree" license + + [project.urls] + "Homepage" = "https://github.com/moinwiki/emeraldtree" +@@ -30,7 +30,7 @@ where = ["src"] + where = ["src"] + + [build-system] +-requires = ["setuptools>=78.1.1", "wheel", "setuptools_scm[toml]"] ++requires = ["setuptools>=61", "wheel", "setuptools_scm[toml]"] + build-backend = "setuptools.build_meta" + + [tool.setuptools_scm] diff --git a/textproc/py-emeraldtree/pkg-descr b/textproc/py-emeraldtree/pkg-descr index 9ed5336bf2b6..720c5d5cbb31 100644 --- a/textproc/py-emeraldtree/pkg-descr +++ b/textproc/py-emeraldtree/pkg-descr @@ -1,8 +1,7 @@ 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