From nobody Fri Sep 20 12:14:45 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X9BCV0Y6wz5WlV5; Fri, 20 Sep 2024 12:14:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X9BCT5qLLz4t5h; Fri, 20 Sep 2024 12:14:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726834485; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jsxLnffDolzf6LaXg4pMGCyBKuR+HibimUpFWC2uoMA=; b=NYgP21MSSEKIDxnX7AjzAC5TILZURIrYIReGoMXBpSxMfUucmiRALqcPK6T9Q9EKd83ejI V00UevYe1dcCTd2gdPZ9v/wEP3R3WXszJkXd4Bu6zP/QAQinoXFZ0QTxTxdnnQ75Guk5xR sD+S1LySLf5kAml6v+Hk+pqL7uT4iNLHtrCCA0ZA3lWrVRFsTWoGug49LCcU22TUHFYSx7 QlLU5tCuzWV2fEAEaxigGh6dvrK0HbrfNiPhnQzT5jRmBEYPvVmpmeLBte4c3JMsfS1VIv Ty74nz55UOu9G4U0QFso+IgR+4o9PHpBWPW9crsglhqpULRRLrJbT3RnvJW6dQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726834485; a=rsa-sha256; cv=none; b=wXp5LN2itdRh6vrWlpS73xs3dWgxK6UMQUwLf9dlSOhBUdaIgPVaefG/v9n1QcUEA4mv0n NxCdT0Bmo6CTx530PJKCtjT25aJHuIqI+pNJ5oSuyj8HWoXPoVZzyHux8+pGBRJ3M9lePZ uiQ2h+1ZYptkou1clmYIv6+jCrarS0dqzQcuvwWDix7bV+12AmHVQwcBEBozrKFJZqzI3X GnH74osg6r8NFt3gKTqqBIO0XbseLKcDifDN/5qkIUSAIc4l4/4C01kA/1ptl/qB4AxMkH PxZy7ENEONqXt04Ah2yIVKlDvQQS3mFEsi+1WUDSWTtDp1NY1HONm5P+eHVqQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726834485; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jsxLnffDolzf6LaXg4pMGCyBKuR+HibimUpFWC2uoMA=; b=ebluiyCLWfzC1HmFHxocpV5htxGEmSkPEIfbwT77TFOLcWHnB1LnRAFU0vETwifQhezEwa MgxnBcCX9XM3FcAyDho6Wk7FnVr52OKqRRw82UMPFtk/sToK29beNFY3ubZPoJKNSi3eCY MHfp0KfbZR898bFmSUMNn1LpKlXVDJjg5YTtc5HfA51oJ/Wn8nbZKuCGsbu11heK6jqesl FLCCfCmO65ra7/jHmNp15aagffvAe6g2zm3WAEd9JrQHgp5e+qxu6QkVVGbS8f4eHvjBhl Wgr6Sy8amah9ZYHEshVEs9ybQmnlRsNtihKA9ptn2qKrauPxhI/PdVr7pZytWw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X9BCT5Qhnzp8j; Fri, 20 Sep 2024 12:14:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48KCEjLh073124; Fri, 20 Sep 2024 12:14:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48KCEjmv073121; Fri, 20 Sep 2024 12:14:45 GMT (envelope-from git) Date: Fri, 20 Sep 2024 12:14:45 GMT Message-Id: <202409201214.48KCEjmv073121@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: b20008107022 - main - devel/py-flatland: New port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b20008107022df3026a9e71fd468dc3625f6ac29 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=b20008107022df3026a9e71fd468dc3625f6ac29 commit b20008107022df3026a9e71fd468dc3625f6ac29 Author: Muhammad Moinur Rahman AuthorDate: 2024-09-20 12:12:23 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-09-20 12:14:32 +0000 devel/py-flatland: New port HTML form management and validation 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. 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 - 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 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. WWW: https://github.com/discorporate/flatland/ --- devel/Makefile | 1 + devel/py-flatland/Makefile | 23 +++++++++++++++++++++++ devel/py-flatland/distinfo | 3 +++ devel/py-flatland/pkg-descr | 20 ++++++++++++++++++++ 4 files changed, 47 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index f1ce5de29d2f..298e33bbd3dc 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4843,6 +4843,7 @@ SUBDIR += py-flask-babel SUBDIR += py-flatbuffers SUBDIR += py-flatdict + SUBDIR += py-flatland SUBDIR += py-flatten-dict SUBDIR += py-flex SUBDIR += py-flexmock diff --git a/devel/py-flatland/Makefile b/devel/py-flatland/Makefile new file mode 100644 index 000000000000..3c4a6e797fe4 --- /dev/null +++ b/devel/py-flatland/Makefile @@ -0,0 +1,23 @@ +PORTNAME= flatland +DISTVERSION= 0.9.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= bofh@FreeBSD.org +COMMENT= HTML form management and validation +WWW= https://github.com/discorporate/flatland/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0: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 + +NO_ARCH= yes + +.include diff --git a/devel/py-flatland/distinfo b/devel/py-flatland/distinfo new file mode 100644 index 000000000000..d34e02f5a315 --- /dev/null +++ b/devel/py-flatland/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1726833553 +SHA256 (flatland-0.9.1.tar.gz) = 4e352911690bd8c056f4a6a558dee9ac4126bedbbb53a0bc2fd107ca155dac12 +SIZE (flatland-0.9.1.tar.gz) = 468887 diff --git a/devel/py-flatland/pkg-descr b/devel/py-flatland/pkg-descr new file mode 100644 index 000000000000..cd308bbd7de0 --- /dev/null +++ b/devel/py-flatland/pkg-descr @@ -0,0 +1,20 @@ +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. + +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 +- 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 + +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.