Date: Thu, 26 Feb 2026 08:36:44 +0000 From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 95e059f78d0f - main - devel/py-yamlloader: New port Message-ID: <69a0061c.2073a.6c0682a7@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=95e059f78d0fca78fafaaed8a9c981fd6c62e360 commit 95e059f78d0fca78fafaaed8a9c981fd6c62e360 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2026-02-26 08:33:50 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2026-02-26 08:33:50 +0000 devel/py-yamlloader: New port This module provides loaders and dumpers for PyYAML. Currently, an OrderedDict loader/dumper is implemented, allowing to keep items order when loading respective dumping a file from/to an OrderedDict. (Python 3.8+: Also regular dicts are supported and are the default items to be loaded to. As of Python 3.7 preservation of insertion order is a language feature of regular dicts.) This project was originally mirrored from "yamlordereddict" and contains several improvements including automated testing and the much faster C-versions of the Loaders/Dumpers. --- devel/Makefile | 1 + devel/py-yamlloader/Makefile | 26 ++++++++++++++++++++++++++ devel/py-yamlloader/distinfo | 3 +++ devel/py-yamlloader/pkg-descr | 12 ++++++++++++ 4 files changed, 42 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 66bee19103d2..4047a296c81b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6351,6 +6351,7 @@ SUBDIR += py-xxhash SUBDIR += py-yacs SUBDIR += py-yamllint + SUBDIR += py-yamlloader SUBDIR += py-yamlordereddictloader SUBDIR += py-yappi SUBDIR += py-yapps2 diff --git a/devel/py-yamlloader/Makefile b/devel/py-yamlloader/Makefile new file mode 100644 index 000000000000..da9d361fd5dd --- /dev/null +++ b/devel/py-yamlloader/Makefile @@ -0,0 +1,26 @@ +PORTNAME= yamlloader +DISTVERSION= 1.6.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Ordered YAML loader and dumper for PyYAML +WWW= https://github.com/Phynix/yamlloader + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 pytest + +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-yamlloader/distinfo b/devel/py-yamlloader/distinfo new file mode 100644 index 000000000000..37885925758f --- /dev/null +++ b/devel/py-yamlloader/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1772036387 +SHA256 (yamlloader-1.6.0.tar.gz) = 918232976c9910d079ef74b3266ff9ef674228609aa56e67718b3992940a823f +SIZE (yamlloader-1.6.0.tar.gz) = 77622 diff --git a/devel/py-yamlloader/pkg-descr b/devel/py-yamlloader/pkg-descr new file mode 100644 index 000000000000..601324048a8d --- /dev/null +++ b/devel/py-yamlloader/pkg-descr @@ -0,0 +1,12 @@ +This module provides loaders and dumpers for PyYAML. + +Currently, an OrderedDict loader/dumper is implemented, allowing to keep items +order when loading respective dumping a file from/to an OrderedDict. + +(Python 3.8+: Also regular dicts are supported and are the default items to be +loaded to. As of Python 3.7 preservation of insertion order is a language +feature of regular dicts.) + +This project was originally mirrored from "yamlordereddict" and contains +several improvements including automated testing and the much faster C-versions +of the Loaders/Dumpers.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a0061c.2073a.6c0682a7>
