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.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-pyyaml listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-pyyaml-6.0.3_1:
EXAMPLES=on: Build and/or install examples
LIBYAML=on: Use textproc/libyaml for faster parsing
===> Use 'make config' to modify these settings
devel/py-pyyaml: fix dependency on cython
pyyaml only builds with lang/cython and doesn't build with lang/cython3,
however USE_PYTHON=cython introduces a build-dependency on cython
executable which is installed by either cython version, thus the
dependency may be fulfilled by cython3 if it's installed, which is
incorrect and leads to a build failure. Fix this by switching to
explicit dependency on cython (and not cython3) package.
Approved by: portmgr blanket
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.