BSD Ports

devel/py-pyyaml 6.0.3_2 MidnightBSD

Python YAML parser

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
22173208f1
License
mit
Categories
devel, python

Description

PyYAML is a YAML parser and emitter for the Python programming language.

PyYAML features: * a complete YAML 1.1 parser. In particular, PyYAML can parse all examples from the specification. The parsing algorithm is simple enough to be a reference for YAML parser implementors. * Unicode support including UTF-8/UTF-16 input/output and \u escape sequences. * low-level event-based parser and emitter API (like SAX). * high-level API for serializing and deserializing native Python objects (like DOM or pickle). * support for all types from the YAML types repository. A simple extension API is provided. * relatively sensible error messages.

In the other systems

The newest version among them is 6.0.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/py-pyyaml6.0.3_2 newestno data-[email protected]2026-08-07
FreeBSDdevel/py-pyyaml6.0.3_1 newestnone known-[email protected]2026-08-24
DragonFlydevel/py-pyyaml6.0.1_1none known-[email protected]-
HardenedBSDdevel/py-pyyaml6.0.3_1 newestno data-[email protected]-
GhostBSDdevel/py-pyyaml6.0.3_1 newestno data-[email protected]-
OPNsensedevel/py-pyyaml6.0.3 newestno data-[email protected]-

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pyyaml

From mports:

cd /usr/mports/devel/py-pyyaml && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Configuration

Options name: devel_pyyaml

OptionDefaultDescription
EXAMPLESoff
LIBYAMLonUse textproc/libyaml for faster parsing
USES
localbase python cpe
Service scripts
none

Files

pkg-plist 4
  • share/examples/${PYTHON_PKGNAMEPREFIX}pyyaml/pygments-lexer/example.yaml
  • share/examples/${PYTHON_PKGNAMEPREFIX}pyyaml/pygments-lexer/yaml.py
  • share/examples/${PYTHON_PKGNAMEPREFIX}pyyaml/yaml-highlight/yaml_hl.cfg
  • share/examples/${PYTHON_PKGNAMEPREFIX}pyyaml/yaml-highlight/yaml_hl.py
distinfo 1
FileSizeSHA256
pyyaml-6.0.3.tar.gz130960d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
22173208f1 Lucas Holt */*: add CPE identifiers from the matching FreeBSD ports
mport audit matches installed packages against sec.midnightbsd.org by CPE, so a port without one is invisible to it regardless of how vulnerable it is. These 126 ports had no CPE while the corresponding FreeBSD port did, so the vendor and product were copied from there rather than guessed. Sampled against the audit API to confirm the identifiers resolve, e.g. cad/gtkwave tonybybell:gtkwave 82 CVEs archivers/libunrar rarlab:unrar 12 audio/espeak-ng espeak-ng:espeak-ng 5 archivers/minizip-ng zlib-ng:minizip-ng 3 audio/faust grame:faust 3 cad/admesh admesh_project:admesh 3 Three ports were deliberately skipped: archivers/p5-Archive-Tar, …