Bug 273232 - [NEW PORT] devel/py-strictyaml: Strict, typed YAML parser
Summary: [NEW PORT] devel/py-strictyaml: Strict, typed YAML parser
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL: https://hitchdev.com/strictyaml
Keywords:
Depends on:
Blocks: 273234
  Show dependency treegraph
 
Reported: 2023-08-19 19:16 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2023-09-10 16:42 UTC (History)
1 user (show)

See Also:


Attachments
py-strictyaml-1.7.3.patch (2.91 KB, application/mbox)
2023-08-19 19:16 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details
py-strictyaml-1.7.3.patch (2.91 KB, patch)
2023-08-19 19:21 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Daniel Colmenares Oviedo 2023-08-19 19:16:27 UTC
Created attachment 244214 [details]
py-strictyaml-1.7.3.patch

Description:

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

QA:

* portlint: OK (looks fine.)
* testport: OK (poudriere: 13.2-RELEASE, amd64)
Comment 1 Jesús Daniel Colmenares Oviedo 2023-08-19 19:21:47 UTC
Created attachment 244215 [details]
py-strictyaml-1.7.3.patch

Resubmit the patch as Bugzilla does not set the content type correctly.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-09-10 16:14:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7219a47f1ab385e6977fb04aba301549d976965d

commit 7219a47f1ab385e6977fb04aba301549d976965d
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2023-08-19 19:11:27 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
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 (new)  | 21 +++++++++++++++++++++
 devel/py-strictyaml/distinfo (new)  |  3 +++
 devel/py-strictyaml/pkg-descr (new) | 15 +++++++++++++++
 4 files changed, 40 insertions(+)
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2023-09-10 16:42:25 UTC
Thank you for your contribution.

Note that you can edit file types in bugzilla, no need to attach anew.