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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q3
py-platformdirs Python module for determining appropriate platform-specific dirs
4.11.11 devel on this many watch lists=2 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 4.9.2Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2021-09-19 06:09:27
Last Update: 2026-09-20 00:56:40
Commit Hash: dd98e60
People watching this port, also watch:: libinotify, p5-Encode-Locale, py311-pycparser, font-misc-meltho, mkfontscale
Also Listed In: python
License: MIT
WWW:
https://platformdirs.readthedocs.io/en/latest/
https://github.com/tox-dev/platformdirs
Description:
When writing desktop application, finding the right location to store user data and configuration varies per platform. Even for single-platform apps, there may by plenty of nuances in figuring out the right location. This kind of thing is what the platformdirs module is for. platformdirs will help you choose an appropriate: - user data dir (user_data_dir) - user config dir (user_config_dir) - user cache dir (user_cache_dir) - site data dir (site_data_dir) - site config dir (site_config_dir) - user log dir (user_log_dir) - user runtime dir (user_runtime_dir) And also: - Is a single module so other Python packages can vendor their own private copy. - Is slightly opinionated on the directory names used. Look for "OPINION" in documentation and code for when an opinion is being applied.
HomepageHomepage    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}platformdirs>0:devel/py-platformdirs@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-platformdirs/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-platformdirs
  • pkg install py312-platformdirs
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-platformdirs listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-platformdirs
Package flavors (<flavor>: <package>)
  • py312: py312-platformdirs
distinfo:
TIMESTAMP = 1789834616 SHA256 (platformdirs-4.11.11.tar.gz) = b0befe8a90759e4a9a8b9820d434ae226a6549063210b596da0038a7a05aede4 SIZE (platformdirs-4.11.11.tar.gz) = 39949

Packages (timestamps in pop-ups are UTC):
py39-platformdirs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest--2.5.4--3.5.1-3.5.1
FreeBSD:14:quarterly-----3.11.03.11.03.11.0
FreeBSD:15:latest--n/a-n/an/a3.11.03.11.0
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py311-platformdirs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.9.24.9.2n/an/an/an/an/an/a
FreeBSD:13:quarterly4.9.14.9.1n/an/an/an/an/an/a
FreeBSD:14:latest---4.3.8----
FreeBSD:14:quarterly---4.3.8----
FreeBSD:15:latest--n/a4.3.8n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py312-platformdirs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest4.11.84.11.11--4.11.11---
FreeBSD:14:quarterly4.10.04.10.0--4.10.0---
FreeBSD:15:latest4.11.114.11.11n/a-n/an/a--
FreeBSD:15:quarterly4.10.04.10.0n/a-n/an/a--
FreeBSD:16:latest4.11.64.11.11n/a-n/an/a--
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-hatch-vcs>=0.5 : devel/py-hatch-vcs@py312
  2. py312-hatchling>=1.29 : devel/py-hatchling@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. python3.12 : lang/python312
Runtime dependencies:
  1. python3.12 : lang/python312
This port is required by:
for Build
  1. devel/py-virtualenv
  2. misc/py-apache-beam
  3. sysutils/py-datalad

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/poetry*
  2. Collapse this list of deleted ports.
for Run
  1. archivers/py-blosc2
  2. astro/py-spacetrack
  3. audio/beets
  4. benchmarks/py-locust-cloud
  5. databases/py-harlequin
  6. databases/py-snowflake-connector-python
  7. deskutils/dosage
Expand this list (79 items / 72 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. deskutils/py-vorta
  3. devel/py-b2
  4. devel/py-black
  5. devel/py-cibuildwheel
  6. devel/py-copier
  7. devel/py-datasette
  8. devel/py-envwrap
  9. devel/py-findpython
  10. devel/py-hatch
  11. devel/py-jupyter-core
  12. devel/py-llvmcpy
  13. devel/py-mpremote
  14. devel/py-openstacksdk
  15. devel/py-pdm
  16. devel/py-pint
  17. devel/py-pip-audit
  18. devel/py-pip-run
  19. devel/py-pipx
  20. devel/py-poetry
  21. devel/py-pooch
  22. devel/py-pyopencl
  23. devel/py-pyscaffold
  24. devel/py-python-discovery
  25. devel/py-pytoolconfig
  26. devel/py-pytools
  27. devel/py-requirementslib
  28. devel/py-shandy-sqlfmt
  29. devel/py-sqlfluff
  30. devel/py-tox
  31. devel/py-virtualenv
  32. devel/pylint
  33. finance/py-yfinance
  34. games/nile
  35. graphics/py-geosnap
  36. math/py-moocore
  37. misc/chatblade
  38. misc/py-banks
  39. misc/py-cvat-sdk
  40. misc/py-fastmcp-slim
  41. misc/py-llama-index-core
  42. misc/py-napari
  43. misc/py-npe2
  44. misc/py-sagemaker-core
  45. misc/py-wandb
  46. misc/snakemake
  47. multimedia/py-scenedetect
  48. multimedia/py-subliminal
  49. net/py-urlextract
  50. net/py-zeep
  51. ports-mgmt/py-nvchecker
  52. science/py-PyFR
  53. science/py-libpysal
  54. science/py-pynwb
  55. science/py-pysal
  56. security/py-pyhanko-cli
  57. security/py-trezor
  58. sysutils/py-datalad
  59. textproc/py-mkdocs
  60. textproc/py-mkdocs-get-deps
  61. textproc/py-mkdocs-include-markdown-plugin
  62. textproc/py-textual
  63. textproc/py-textual0
  64. textproc/py-youseedee
  65. textproc/xml2rfc
  66. www/py-quilt3
  67. www/py-requests-cache
  68. www/py-urlwatch
  69. x11/py-waypaper
  70. Collapse this list.

Deleted ports which required this port:

Expand this list of 4 deleted ports
  1. devel/b2*
  2. devel/poetry*
  3. devel/py-sqlfmt*
  4. multimedia/py-PySceneDetect*
  5. 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:
No options to configure
Options name:
devel_py-platformdirs
USES:
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/platformdirs/
  2. https://pypi.org/packages/source/p/platformdirs/
Collapse this list.

There are no commits on branch 2026Q3 for this port