git: f8ba0eca36d7 - main - textproc/py-emeraldtree: Update to 0.12.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Mar 2026 14:48:20 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f8ba0eca36d700937a5da8c64c34c90e15c4d455
commit f8ba0eca36d700937a5da8c64c34c90e15c4d455
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-03-12 14:18:11 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-03-12 14:46:59 +0000
textproc/py-emeraldtree: Update to 0.12.0
- Add GitHub to MASTER_SITES
- Take maintainership
Changes: https://github.com/moinwiki/emeraldtree/releases
https://github.com/moinwiki/emeraldtree/blob/master/CHANGES.rst
---
textproc/py-emeraldtree/Makefile | 18 +++++++++---------
textproc/py-emeraldtree/distinfo | 6 +++---
textproc/py-emeraldtree/files/patch-pyproject.toml | 20 ++++++++++++++++++++
textproc/py-emeraldtree/pkg-descr | 1 -
4 files changed, 32 insertions(+), 13 deletions(-)
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,22 +1,22 @@
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
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,5 +1,4 @@
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