notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
py-pyyaml Python YAML parser
6.0.3 devel on this many watch lists=6 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 6.0.1_1Version of this port present on the latest quarterly branch.
Maintainer: python@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-07-07 08:09:05
Last Update: 2025-10-10 14:17:23
Commit Hash: 83b46bc
People watching this port, also watch:: indexinfo, libevent, xcb-util-image, libXdamage, dav1d
Also Listed In: python
License: MIT
WWW:
https://pyyaml.org/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-pyyaml/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-pyyaml
  • pkg install py311-pyyaml
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 py311-pyyaml listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-pyyaml
Package flavors (<flavor>: <package>)
  • py311: py311-pyyaml
distinfo:
TIMESTAMP = 1760105829 SHA256 (pyyaml-6.0.3.tar.gz) = d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f SIZE (pyyaml-6.0.3.tar.gz) = 130960

Packages (timestamps in pop-ups are UTC):
py311-pyyaml
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest6.0.1_16.0.3-6.0.1_16.0.3n/an/an/a
FreeBSD:13:quarterly6.0.1_16.0.1_1-6.0.1_16.0.1_1n/an/an/a
FreeBSD:14:latest6.0.36.0.3-6.0.1_16.0.3---
FreeBSD:14:quarterly6.0.1_16.0.1_1-6.0.1_16.0.1_1---
FreeBSD:15:latest6.0.36.0.3n/a6.0.1_1n/an/a--
FreeBSD:15:quarterly6.0.1_16.0.1_1n/a-n/an/a--
FreeBSD:16:latest6.0.36.0.3n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-cython3>=3.1.2 : lang/cython3@py311
  2. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  3. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
Library dependencies:
  1. libyaml.so : textproc/libyaml
This port is required by:
for Build
  1. benchmarks/py-asv
  2. comms/gnuradio
  3. databases/mongodb60
  4. databases/mongodb70
  5. databases/mongodb80
  6. databases/py-schemachange
  7. databases/py-snowddl
Expand this list (45 items / 38 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. deskutils/py-paperless-ngx
  3. devel/eric6
  4. devel/py-cliapp
  5. devel/py-mdv
  6. devel/py-ua_parser
  7. dns/dnsdist
  8. games/naev
  9. games/open-adventure
  10. games/stonesoup
  11. graphics/mesa-devel
  12. graphics/py-glooey
  13. graphics/qgis
  14. graphics/qgis-ltr
  15. lang/rizin
  16. math/py-mathics-scanner
  17. math/py-rvlib
  18. misc/py-pytorch
  19. misc/py-spdx-tools
  20. misc/pytorch
  21. science/py-PyNE
  22. science/py-phono3py
  23. security/suricata
  24. sysutils/conan
  25. sysutils/conky
  26. sysutils/conky-awesome
  27. sysutils/podman-compose
  28. sysutils/py-rdiff-backup
  29. textproc/py-elasticsearch-curator
  30. textproc/py-pybtex
  31. www/mod_gnutls
  32. www/py-searxng-devel
  33. www/py-woob
  34. www/py-wsgidav
  35. x11-wm/nscde
  36. Collapse this list.

Deleted ports which required this port:

Expand this list of 4 deleted ports
  1. databases/datasette*
  2. databases/mongodb44*
  3. databases/mongodb50*
  4. www/searx*
  5. Collapse this list of deleted ports.
for Run
  1. audio/beets
  2. audio/picard
  3. audio/py-essentia
  4. benchmarks/py-asv
  5. biology/py-multiqc
  6. cad/python-gdsii
  7. comms/gnuradio
Expand this list (277 items / 270 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. comms/py-esptool
  3. comms/py-pyocd
  4. databases/py-Pyrseas
  5. databases/py-dbt-core
  6. databases/py-dbt-semantic-interfaces
  7. databases/py-pgmigrate
  8. databases/py-pum
  9. databases/py-redisvl
  10. databases/py-schemachange
  11. databases/py-snowddl
  12. deskutils/py-calendar_cli
  13. deskutils/py-paperless-ngx
  14. deskutils/rednotebook
  15. devel/commitizen
  16. devel/eric6
  17. devel/oci-cli
  18. devel/py-acstore
  19. devel/py-aspy.yaml
  20. devel/py-awscli
  21. devel/py-bandit
  22. devel/py-buildbot
  23. devel/py-cfn-lint
  24. devel/py-cliapp
  25. devel/py-cliff
  26. devel/py-confuse
  27. devel/py-connexion
  28. devel/py-cookiecutter
  29. devel/py-copier
  30. devel/py-cyclopts
  31. devel/py-dask
  32. devel/py-datasette
  33. devel/py-distributed
  34. devel/py-donfig
  35. devel/py-dtfabric
  36. devel/py-e3-core
  37. devel/py-flex
  38. devel/py-frictionless
  39. devel/py-gapic-generator
  40. devel/py-http-prompt
  41. devel/py-jenkins-job-builder
  42. devel/py-jinja2-ansible-filters
  43. devel/py-jsonargparse
  44. devel/py-jsonschema-path
  45. devel/py-jsonschema-spec
  46. devel/py-jupyter-events
  47. devel/py-kaptan
  48. devel/py-knack
  49. devel/py-libcst
  50. devel/py-libcst03
  51. devel/py-livemark
  52. devel/py-mdv
  53. devel/py-molecule
  54. devel/py-msgspec
  55. devel/py-omegaconf
  56. devel/py-openstacksdk
  57. devel/py-oslo.config
  58. devel/py-oslo.messaging
  59. devel/py-oslo.policy
  60. devel/py-oslo.utils
  61. devel/py-oslo.vmware
  62. devel/py-oyaml
  63. devel/py-pop
  64. devel/py-pre-commit
  65. devel/py-prospector
  66. devel/py-pyaml-env
  67. devel/py-pycomposefile
  68. devel/py-pytest-mypy-plugins
  69. devel/py-pytest-regressions
  70. devel/py-python-easyconfig
  71. devel/py-python-gitlab
  72. devel/py-pyyaml-include
  73. devel/py-pyyaml_env_tag
  74. devel/py-ramlfications
  75. devel/py-responses
  76. devel/py-saneyaml
  77. devel/py-simple-parsing
  78. devel/py-sqlfluff
  79. devel/py-stestr
  80. devel/py-swagger-spec-validator
  81. devel/py-ua_parser
  82. devel/py-vcrpy
  83. devel/py-watchdog
  84. devel/py-yacs
  85. devel/py-yamllint
  86. devel/py-yamlordereddictloader
  87. devel/ros-rosdep
  88. devel/ros-rosdistro
  89. devel/ros-rosinstall_generator
  90. devel/ros-rospkg
  91. devel/ros-vcstool
  92. devel/ros-vcstools
  93. devel/ros-wstool
  94. devel/shroud
  95. dns/py-cloudflare
  96. dns/py-dns-lexicon
  97. filesystems/py-dfvfs
  98. filesystems/py-tahoe-lafs
  99. games/naev
  100. games/unknown-horizons
  101. graphics/py-albumentations
  102. graphics/py-pygeoapi
  103. graphics/py-urbanaccess
  104. graphics/py-urbansim
  105. graphics/qgis
  106. graphics/qgis-ltr
  107. mail/py-postfix-mta-sts-resolver
  108. mail/slimta
  109. math/py-flax
  110. math/py-fvcore
  111. math/py-mathics-scanner
  112. math/py-networkx
  113. math/py-rvlib
  114. misc/chatblade
  115. misc/pubs
  116. misc/py-accelerate
  117. misc/py-datasets
  118. misc/py-gguf
  119. misc/py-haystack_ai
  120. misc/py-hf-doc-builder
  121. misc/py-huggingface-hub
  122. misc/py-langchain
  123. misc/py-langchain-core
  124. misc/py-llama-cpp-python
  125. misc/py-ml-collections
  126. misc/py-mmcv
  127. misc/py-mmengine
  128. misc/py-napari
  129. misc/py-npe2
  130. misc/py-onnx-tf
  131. misc/py-optuna
  132. misc/py-papermill
  133. misc/py-peft
  134. misc/py-pytorch
  135. misc/py-pytorch-lightning
  136. misc/py-sagemaker
  137. misc/py-sagemaker-core
  138. misc/py-sigopt
  139. misc/py-spdx-tools
  140. misc/py-timm
  141. misc/py-toil
  142. misc/py-transformers
  143. misc/py-wandb
  144. misc/pytorch
  145. misc/snakemake
  146. multimedia/py-knowit
  147. net/cloud-init
  148. net/cloud-init-devel
  149. net/irrd
  150. net/onionprobe
  151. net/py-python-heatclient
  152. net/py-ripe.atlas.tools
  153. net-im/py-apprise
  154. net-im/py-matrix-synapse
  155. net-mgmt/crmsh
  156. net-mgmt/netbox
  157. net-mgmt/netdata
  158. net-mgmt/peering-manager
  159. net-mgmt/py-arouteserver
  160. net-mgmt/py-junos-eznc
  161. net-mgmt/py-napalm
  162. net-mgmt/py-napalm-logs
  163. net-mgmt/py-opn-cli
  164. ports-mgmt/reprise
  165. print/py-fontbakery
  166. print/py-glyphsets
  167. print/py-relatorio
  168. science/py-PyNE
  169. science/py-abipy
  170. science/py-asdf
  171. science/py-kliff
  172. science/py-phono3py
  173. science/py-phonopy
  174. science/py-pygeometa
  175. science/py-pyked
  176. science/py-qcengine
  177. security/caldera
  178. security/py-artifacts
  179. security/py-certomancer
  180. security/py-detect-secrets
  181. security/py-dfwinreg
  182. security/py-lib4sbom
  183. security/py-netmiko
  184. security/py-plaso
  185. security/py-pyaff4
  186. security/py-pyhanko
  187. security/suricata
  188. sysutils/conan
  189. sysutils/docker-compose
  190. sysutils/hid-tools
  191. sysutils/kleene-cli
  192. sysutils/podman-compose
  193. sysutils/py-ansible-compat
  194. sysutils/py-ansible-core
  195. sysutils/py-ansible-core219
  196. sysutils/py-ansible-lint
  197. sysutils/py-ansible-runner
  198. sysutils/py-azure-cli
  199. sysutils/py-azure-cli-core
  200. sysutils/py-elf_diff
  201. sysutils/py-focker
  202. sysutils/py-kubernetes
  203. sysutils/py-overlord
  204. sysutils/py-rdiff-backup
  205. sysutils/py-salt
  206. sysutils/py-tmuxp
  207. sysutils/zsm
  208. textproc/json2yaml
  209. textproc/lookatme
  210. textproc/py-anymarkup
  211. textproc/py-dparse
  212. textproc/py-elasticsearch-curator
  213. textproc/py-j2cli
  214. textproc/py-jinja2-cli
  215. textproc/py-jinjanator
  216. textproc/py-mike
  217. textproc/py-mkdocs
  218. textproc/py-mkdocs-get-deps
  219. textproc/py-myst-parser
  220. textproc/py-os-api-ref
  221. textproc/py-pyaml
  222. textproc/py-pybtex
  223. textproc/py-pymdown-extensions
  224. textproc/py-python-frontmatter
  225. textproc/py-reno
  226. textproc/py-sphinx-autoapi
  227. textproc/py-tableschema-to-template
  228. textproc/py-tablib
  229. textproc/py-wavedrom
  230. textproc/xml2rfc
  231. www/flexget
  232. www/mod_gnutls
  233. www/py-bokeh
  234. www/py-bravado
  235. www/py-bravado-core
  236. www/py-chalice
  237. www/py-dj51-drf-spectacular
  238. www/py-dj52-drf-spectacular
  239. www/py-django-allauth
  240. www/py-drf-spectacular
  241. www/py-drf-yasg
  242. www/py-essentials-openapi
  243. www/py-flasgger
  244. www/py-flask-flatpages
  245. www/py-graphite-api
  246. www/py-habanero
  247. www/py-horizon
  248. www/py-quilt3
  249. www/py-seafdav
  250. www/py-searxng-devel
  251. www/py-starlette
  252. www/py-urlwatch
  253. www/py-woob
  254. www/py-wsgidav
  255. www/qutebrowser
  256. x11-wm/nscde
  257. Collapse this list.

Deleted ports which required this port:

Expand this list of 15 deleted ports
  1. databases/datasette*
  2. devel/py-opengrok-tools*
  3. devel/py-pydrive*
  4. devel/py-python-gilt*
  5. devel/pycomposefile*
  6. misc/orange3*
  7. science/dvc*
  8. security/caldera4*
  9. security/py-dfvfs*
  10. sysutils/datadog-agent*
  11. sysutils/datadog-integrations*
  12. www/py-dj50-drf-spectacular*
  13. www/py-gandi.cli*
  14. www/py-pydrive2*
  15. www/searx*
  16. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for py311-pyyaml-6.0.3: EXAMPLES=on: Build and/or install examples LIBYAML=on: Use textproc/libyaml for faster parsing ===> Use 'make config' to modify these settings
Options name:
devel_py-pyyaml
USES:
localbase python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pyyaml/
  2. https://pypi.org/packages/source/p/pyyaml/
Collapse this list.
Port Moves
  • port moved here from devel/py-yaml on 2024-07-07
    REASON: Move devel/py-yaml to devel/py-pyyaml

  • port moved here from devel/py-pyyaml5 on 2024-07-07
    REASON: Remove obsoleted port. Use devel/py-pyyaml instead

Number of commits found: 6

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
6.0.3
10 Oct 2025 14:17:23
commit hash: 83b46bca5d7a6554828b3dce356af4b4aeeb1b48commit hash: 83b46bca5d7a6554828b3dce356af4b4aeeb1b48commit hash: 83b46bca5d7a6554828b3dce356af4b4aeeb1b48commit hash: 83b46bca5d7a6554828b3dce356af4b4aeeb1b48 files touched by this commit
Philippe Audeoud (jadawin) search for other commits by this committer
devel/py-pyyaml: update to 6.0.3
6.0.2
04 Oct 2025 23:37:56
commit hash: 934f4e6cbfdf9c62ac15190dcafb4505ed50b386commit hash: 934f4e6cbfdf9c62ac15190dcafb4505ed50b386commit hash: 934f4e6cbfdf9c62ac15190dcafb4505ed50b386commit hash: 934f4e6cbfdf9c62ac15190dcafb4505ed50b386 files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
devel/py-pyyaml: Update 6.0.1 => 6.0.2, switch to lang/cython3 to avoid other
conflicts

Changelog:
 - Support for Cython 3.x and Python 3.13.
https://github.com/yaml/pyyaml/releases/tag/6.0.2

PR:		289718
Approved by:	python (maintainer, timeout 2 weeks)
6.0.1_1
19 Mar 2025 18:47:07
commit hash: 9b3561dae92b7f844dfa601671057bfacb746663commit hash: 9b3561dae92b7f844dfa601671057bfacb746663commit hash: 9b3561dae92b7f844dfa601671057bfacb746663commit hash: 9b3561dae92b7f844dfa601671057bfacb746663 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
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
6.0.1_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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.
6.0.1
22 Jul 2024 07:23:55
commit hash: 94f74fda1f58a0a4a7564c1c7fa7f8fc74d24ad9commit hash: 94f74fda1f58a0a4a7564c1c7fa7f8fc74d24ad9commit hash: 94f74fda1f58a0a4a7564c1c7fa7f8fc74d24ad9commit hash: 94f74fda1f58a0a4a7564c1c7fa7f8fc74d24ad9 files touched by this commit
Li-Wen Hsu (lwhsu) search for other commits by this committer
devel/py-pyyaml: Remove obsoleted CONFLICTS
6.0.1
07 Jul 2024 08:05:33
commit hash: 1a80ec7c2281900b82b228ee3a7b070c8ca4286ecommit hash: 1a80ec7c2281900b82b228ee3a7b070c8ca4286ecommit hash: 1a80ec7c2281900b82b228ee3a7b070c8ca4286ecommit hash: 1a80ec7c2281900b82b228ee3a7b070c8ca4286e files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml

- Bump PORTREVISION of dependent ports for dependency change

Number of commits found: 6