Skip to content

Commit

Permalink
devel/py-oyaml: Add py-oyaml 1.0
Browse files Browse the repository at this point in the history
oyaml is a drop-in replacement for PyYAML which preserves dict ordering. You'll
no longer be annoyed by screwed-up mappings when dumping/loading.
  • Loading branch information
sunpoet committed Nov 27, 2023
1 parent 0da5cf6 commit 032f8f4
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -5095,6 +5095,7 @@
SUBDIR += py-overrides
SUBDIR += py-ovs
SUBDIR += py-ovsdbapp
SUBDIR += py-oyaml
SUBDIR += py-p4python
SUBDIR += py-packaging
SUBDIR += py-parallax
Expand Down
21 changes: 21 additions & 0 deletions devel/py-oyaml/Makefile
@@ -0,0 +1,21 @@
PORTNAME= oyaml
PORTVERSION= 1.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Ordered YAML: drop-in replacement for PyYAML which preserves dict ordering
WWW= https://github.com/wimglenn/oyaml

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist concurrent distutils

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/py-oyaml/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1701083334
SHA256 (oyaml-1.0.tar.gz) = ed8fc096811f4763e1907dce29c35895d6d5936c4d0400fe843a91133d4744ed
SIZE (oyaml-1.0.tar.gz) = 2914
2 changes: 2 additions & 0 deletions devel/py-oyaml/pkg-descr
@@ -0,0 +1,2 @@
oyaml is a drop-in replacement for PyYAML which preserves dict ordering. You'll
no longer be annoyed by screwed-up mappings when dumping/loading.

0 comments on commit 032f8f4

Please sign in to comment.