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 2025Q1
py-platformdirs Python module for determining appropriate platform-specific dirs
4.10.0 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-07-08 13:31:51
Commit Hash: 87715be
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 = 1782966454 SHA256 (platformdirs-4.10.0.tar.gz) = 31e761a6a0ca04faf7353ea759bdba55652be214725111e5aac52dfa29d4bef7 SIZE (platformdirs-4.10.0.tar.gz) = 31224

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:latest---4.3.8----
FreeBSD:14:quarterly4.9.14.9.1-4.3.84.9.1---
FreeBSD:15:latest--n/a4.3.8n/an/a--
FreeBSD:15:quarterly4.9.14.9.1n/a-n/an/a--
FreeBSD:16:latest4.9.2-n/a-n/an/a--
 
py312-platformdirs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest4.9.24.9.2--4.10.0---
FreeBSD:14:quarterly--------
FreeBSD:15:latest4.9.24.9.2n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest-4.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. 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. 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. 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 (76 items / 69 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-envwrap
  8. devel/py-findpython
  9. devel/py-hatch
  10. devel/py-jupyter-core
  11. devel/py-llvmcpy
  12. devel/py-mpremote
  13. devel/py-openstacksdk
  14. devel/py-pdm
  15. devel/py-pint
  16. devel/py-pip-audit
  17. devel/py-pip-run
  18. devel/py-pipx
  19. devel/py-poetry
  20. devel/py-pooch
  21. devel/py-pyopencl
  22. devel/py-pyscaffold
  23. devel/py-python-discovery
  24. devel/py-pytoolconfig
  25. devel/py-pytools
  26. devel/py-requirementslib
  27. devel/py-shandy-sqlfmt
  28. devel/py-sqlfluff
  29. devel/py-tox
  30. devel/py-virtualenv
  31. devel/pylint
  32. finance/py-yfinance
  33. games/nile
  34. graphics/py-geosnap
  35. math/py-moocore
  36. misc/chatblade
  37. misc/py-banks
  38. misc/py-cvat-sdk
  39. misc/py-fastmcp-slim
  40. misc/py-llama-index-core
  41. misc/py-npe2
  42. misc/py-sagemaker-core
  43. misc/py-wandb
  44. multimedia/py-scenedetect
  45. multimedia/py-subliminal
  46. net/py-urlextract
  47. net/py-zeep
  48. ports-mgmt/py-nvchecker
  49. science/py-PyFR
  50. science/py-libpysal
  51. science/py-pynwb
  52. science/py-pysal
  53. security/py-pyhanko-cli
  54. security/py-trezor
  55. sysutils/py-datalad
  56. textproc/py-mkdocs
  57. textproc/py-mkdocs-get-deps
  58. textproc/py-mkdocs-include-markdown-plugin
  59. textproc/py-textual
  60. textproc/py-textual0
  61. textproc/py-youseedee
  62. textproc/xml2rfc
  63. www/py-quilt3
  64. www/py-requests-cache
  65. www/py-urlwatch
  66. x11/py-waypaper
  67. 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 2025Q1 for this port