Date: Mon, 09 Mar 2026 18:23:16 +0000 From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c04bbd4c96aa - main - devel/py-flatland: Update to 1.0.0 Message-ID: <69af1014.1e5ca.d5a4d51@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c04bbd4c96aacffd456e99bbaf996d11b0292c2e commit c04bbd4c96aacffd456e99bbaf996d11b0292c2e Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2026-03-09 17:57:11 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2026-03-09 18:18:42 +0000 devel/py-flatland: Update to 1.0.0 - Add GitHub to MASTER_SITES - Update WWW - Convert to USE_PYTHON=pep517 - Reformat pkg-descr - Take maintainership Changes: https://github.com/discorporate/flatland/releases --- devel/py-flatland/Makefile | 16 +++++++++------- devel/py-flatland/distinfo | 6 +++--- devel/py-flatland/files/patch-pyproject.toml | 19 +++++++++++++++++++ devel/py-flatland/pkg-descr | 25 ++++++++++++------------- 4 files changed, 43 insertions(+), 23 deletions(-) diff --git a/devel/py-flatland/Makefile b/devel/py-flatland/Makefile index 529465ec329f..2a5bbea0d16b 100644 --- a/devel/py-flatland/Makefile +++ b/devel/py-flatland/Makefile @@ -1,23 +1,25 @@ PORTNAME= flatland -DISTVERSION= 0.9.1 -PORTREVISION= 1 +PORTVERSION= 1.0.0 CATEGORIES= devel python -MASTER_SITES= PYPI +MASTER_SITES= PYPI \ + https://github.com/discorporate/flatland/releases/download/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= HTML form management and validation -WWW= https://github.com/discorporate/flatland/ +WWW= https://flatland.readthedocs.io/en/stable/ \ + https://github.com/discorporate/flatland LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}blinker>=0:devel/py-blinker@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/devel/py-flatland/distinfo b/devel/py-flatland/distinfo index d34e02f5a315..094d30bbb36a 100644 --- a/devel/py-flatland/distinfo +++ b/devel/py-flatland/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1726833553 -SHA256 (flatland-0.9.1.tar.gz) = 4e352911690bd8c056f4a6a558dee9ac4126bedbbb53a0bc2fd107ca155dac12 -SIZE (flatland-0.9.1.tar.gz) = 468887 +TIMESTAMP = 1771421568 +SHA256 (flatland-1.0.0.tar.gz) = 179488455b906b204bb12bf6996211cea3ab6e8d12e3604511b8904e6f0d7c74 +SIZE (flatland-1.0.0.tar.gz) = 313289 diff --git a/devel/py-flatland/files/patch-pyproject.toml b/devel/py-flatland/files/patch-pyproject.toml new file mode 100644 index 000000000000..194702d5fbed --- /dev/null +++ b/devel/py-flatland/files/patch-pyproject.toml @@ -0,0 +1,19 @@ +--- pyproject.toml.orig 2026-01-20 15:02:46 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=78.1.1", "setuptools_scm[toml]>=6.2"] ++requires = ["setuptools>=61", "setuptools_scm[toml]>=6.2"] + build-backend = "setuptools.build_meta" + + [project] +@@ -14,8 +14,7 @@ keywords = ["schema", "validation", "data", "web", "fo + { name = "Thomas Waldmann", email = "tw@waldmann-edv.de" } + ] + keywords = ["schema", "validation", "data", "web", "form", "forms", "roundtrip"] +-license = "MIT" +-license-files = ["LICENSE", "AUTHORS"] ++license = { text = "MIT" } + classifiers = [ + "Development Status :: 4 - Beta", + "Environment :: Web Environment", diff --git a/devel/py-flatland/pkg-descr b/devel/py-flatland/pkg-descr index cd308bbd7de0..df838e32c4cb 100644 --- a/devel/py-flatland/pkg-descr +++ b/devel/py-flatland/pkg-descr @@ -1,20 +1,19 @@ Flatland maps between rich, structured Python application data and the -string-oriented flat namespace of web forms, key/value stores, text -files and user input. Flatland provides a schema-driven mapping toolkit -with optional data validation. +string-oriented flat namespace of web forms, key/value stores, text files and +user input. Flatland provides a schema-driven mapping toolkit with optional data +validation. Flatland is great for: - Collecting, validating, re-displaying and processing HTML form data -- Dealing with rich structures (lists, dicts, lists of dicts, etc.) in - web data +- Dealing with rich structures (lists, dicts, lists of dicts, etc.) in web data - Validating JSON, YAML, and other structured formats -- Associating arbitrary Python types with JSON, .ini, or sys.argv - members that would otherwise deserialize as simple strings. -- Reusing a single data schema for HTML, JSON apis, RPC +- Associating arbitrary Python types with JSON, .ini, or sys.argv members that + would otherwise deserialize as simple strings. +- Reusing a single data schema for HTML, JSON apis, RPC, ... -The core of the flatland toolkit is a flexible and extensible -declarative schema system representing many data types and structures. +The core of the flatland toolkit is a flexible and extensible declarative schema +system representing many data types and structures. -A validation system and library of schema-aware validators is also -provided, with rich i18n capabilities for use in HTML, network APIs and -other environments where user-facing messaging is required. +A validation system and library of schema-aware validators is also provided, +with rich i18n capabilities for use in HTML, network APIs and other environments +where user-facing messaging is required.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69af1014.1e5ca.d5a4d51>
