From nobody Sun Sep 10 16:13:55 2023 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 4RkFK02KQqz4s1vM; Sun, 10 Sep 2023 16:13:56 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RkFK01FwGz3QQD; Sun, 10 Sep 2023 16:13:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694362436; 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=gtaC3kGYsz7lVhqO5W7BERv6AmrMvTwnpLumOH4MXcc=; b=iw62co77uzjnq/xF/nF1QDLUEDUMDJtqJEMC0ab2WR2kFYbsKj7ATVHGtvNOrk3PA6VbBH iAXxOCrfOOsvLbzp4cibci9Rj/KEX51RpmdZpYamdjj7swPmRijnbVrSzPXMFlZDxLXV/k ri+VIvEvEEuS6Tn0CmUOyUWz7WDEHwItYtMkFCF3BIohkbeaPFWUDzlLk4a9J/cnvXFpJU GtxLtW5AlrCM1xoEOpR4U2yzjB6h0nYsouo4bfHrm5r3IizDEt9b+a1kOSCkpyVL2lJ7cC 0FRYu0bMdJiaxz/MCEzreg6YyP3Nu4lIDrrmO7QC5LKJx0tSBhUkqveaTswPXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694362436; a=rsa-sha256; cv=none; b=aCT/m8cuykW3Q4YtZiM/tzNAB5EHQYAVJdJZ8paYTE3EGZXEcPZyKgqs6G+ksXJvdkGquK JWuoAq67NVnY0+awjSD9imCzqOlXXUuMgnsWVeM7zRbGnQmptZaY4tIs3y6JcFKIuS0JR1 ot8Meqm3o48Bux6ZxQLiW+6UF9q0lJwot0uFFuE7Eye3pYxxP/5p0WEV1EksU+VOeRPRIX zFWngV0ll0Kf0Z5HrO7gLlyNjiZjRwIlc7+vxS8SwJNxC3y1PciltU57t41L06aSETC2OO hJchAQOEp6S9j6FlKMLZ27LiCSQn3ePSz9aIzC5cqAify6+7hWgXvSq8rhXOIA== 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=1694362436; 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=gtaC3kGYsz7lVhqO5W7BERv6AmrMvTwnpLumOH4MXcc=; b=S5Qzr3ogHrKGopHnmbFhpZpD5FHt13MqkZVvzjauaV+sJZKr0MNPWd4lYksDAU+2wf6htM 84lB19D495fV0FGP+OmZfa+r1wZp4st1+D3pdNwH+iJN3Mks4XVYK1V9eJUyl1nZYOFW43 ccPMVCsbDH39KOhoh5T1Qp8oSG+V+cLyIJpU2nNDe/Nnm8dbDHPbx3A4RwcIqdLvLXDd6T g3EGvOh/cdBj1AwJCdx7zpOaNmwe415fB+PHXmAfMQkhb8hkrm6iUrzEjo81jLE1d4lSl2 pm1WGouecQm/JPES9uV12Ppd1x30H+KTuxz21YgFuuOr/UEUmI6En7UCY5AV7w== 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 4RkFK00Mm1z1CPf; Sun, 10 Sep 2023 16:13:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38AGDtGc025493; Sun, 10 Sep 2023 16:13:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38AGDt1U025490; Sun, 10 Sep 2023 16:13:55 GMT (envelope-from git) Date: Sun, 10 Sep 2023 16:13:55 GMT Message-Id: <202309101613.38AGDt1U025490@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 7219a47f1ab3 - main - devel/py-strictyaml: New port: Strict, typed YAML parser 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7219a47f1ab385e6977fb04aba301549d976965d Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=7219a47f1ab385e6977fb04aba301549d976965d commit 7219a47f1ab385e6977fb04aba301549d976965d Author: Jesús Daniel Colmenares Oviedo AuthorDate: 2023-08-19 19:11:27 +0000 Commit: Robert Clausecker CommitDate: 2023-09-10 16:13:02 +0000 devel/py-strictyaml: New port: Strict, typed YAML parser StrictYAML is a type-safe YAML parser that parses and validates a restricted subset of the YAML specification. Priorities: * Beautiful API. * Refusing to parse the ugly, hard to read and insecure features of YAML like the Norway problem. * Strict validation of markup and straightforward type casting. * Clear, readable exceptions with code snippets and line numbers. * Acting as a near-drop in replacement for pyyaml, ruamel.yaml or poyo. * Ability to read in YAML, make changes and write it out again with comments preserved. * Not speed, currently. WWW: https://hitchdev.com/strictyaml PR: 273232 --- devel/Makefile | 1 + devel/py-strictyaml/Makefile | 21 +++++++++++++++++++++ devel/py-strictyaml/distinfo | 3 +++ devel/py-strictyaml/pkg-descr | 15 +++++++++++++++ 4 files changed, 40 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 8a81e97bc150..c4723cb5944a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5618,6 +5618,7 @@ SUBDIR += py-streamparse SUBDIR += py-strenum SUBDIR += py-strict-rfc3339 + SUBDIR += py-strictyaml SUBDIR += py-stringbrewer SUBDIR += py-stringcase SUBDIR += py-structlog diff --git a/devel/py-strictyaml/Makefile b/devel/py-strictyaml/Makefile new file mode 100644 index 000000000000..ebd538f214b8 --- /dev/null +++ b/devel/py-strictyaml/Makefile @@ -0,0 +1,21 @@ +PORTNAME= strictyaml +DISTVERSION= 1.7.3 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= DtxdF@disroot.org +COMMENT= Strict, typed YAML parser +WWW= https://hitchdev.com/${PORTNAME} + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-strictyaml/distinfo b/devel/py-strictyaml/distinfo new file mode 100644 index 000000000000..4d258f700fe1 --- /dev/null +++ b/devel/py-strictyaml/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1692464120 +SHA256 (strictyaml-1.7.3.tar.gz) = 22f854a5fcab42b5ddba8030a0e4be51ca89af0267961c8d6cfa86395586c407 +SIZE (strictyaml-1.7.3.tar.gz) = 115206 diff --git a/devel/py-strictyaml/pkg-descr b/devel/py-strictyaml/pkg-descr new file mode 100644 index 000000000000..2103ef0c9868 --- /dev/null +++ b/devel/py-strictyaml/pkg-descr @@ -0,0 +1,15 @@ +StrictYAML is a type-safe YAML parser that parses and validates a +restricted subset of the YAML specification. + +Priorities: + +* Beautiful API. +* Refusing to parse the ugly, hard to read and insecure features + of YAML like the Norway problem. +* Strict validation of markup and straightforward type casting. +* Clear, readable exceptions with code snippets and line numbers. +* Acting as a near-drop in replacement for pyyaml, ruamel.yaml or + poyo. +* Ability to read in YAML, make changes and write it out again + with comments preserved. +* Not speed, currently.