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.
Port details on branch 2026Q2
py-platformdirs Python module for determining appropriate platform-specific dirs
4.9.2 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.1Version 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-04-18 21:52:17
Commit Hash: 70fa5ff
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 py311-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 py311-platformdirs listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-platformdirs
Package flavors (<flavor>: <package>)
  • py311: py311-platformdirs
distinfo:
TIMESTAMP = 1775587402 SHA256 (platformdirs-4.9.2.tar.gz) = 9a33809944b9db043ad67ca0db94b14bf452cc6aeaac46a88ea55b26e2e9d291 SIZE (platformdirs-4.9.2.tar.gz) = 28394

Packages (timestamps in pop-ups are UTC):
py39-platformdirs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly--3.5.2--n/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.2-4.4.04.9.2n/an/an/a
FreeBSD:13:quarterly4.9.14.9.1-4.3.84.9.1n/an/an/a
FreeBSD:14:latest4.9.24.9.2-4.3.84.9.2---
FreeBSD:14:quarterly4.9.14.9.1-4.3.84.9.1---
FreeBSD:15:latest4.9.24.9.2n/a4.3.8n/an/a--
FreeBSD:15:quarterly4.9.14.9.1n/a-n/an/a--
FreeBSD:16:latest4.9.24.9.2n/a-n/an/a--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-hatch-vcs>=0.5 : devel/py-hatch-vcs@py311
  2. py311-hatchling>=1.27 : devel/py-hatchling@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
This port is required by:
for Build
  1. devel/py-virtualenv

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