1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

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
This commit is contained in:
Po-Chuan Hsieh
2026-03-12 22:18:11 +08:00
parent 48a15c8fcb
commit f8ba0eca36
4 changed files with 32 additions and 13 deletions
+9 -9
View File
@@ -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
+3 -3
View File
@@ -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
@@ -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]
-1
View File
@@ -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