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

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2025Q1
py-platformdirs Python module for determining appropriate platform-specific dirs
4.3.8 devel on this many watch lists=4 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.3.6Version 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: 2025-05-19 19:58:15
Commit Hash: 5d20d43
People watching this port, also watch:: libXdamage, libevent, py311-beautifulsoup, autoconf, libexif
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.
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 = 1747546538 SHA256 (platformdirs-4.3.8.tar.gz) = 3d512d96e16bcb959a814c9f348431070822a6496326a4be0911c40b5a74c2bc SIZE (platformdirs-4.3.8.tar.gz) = 21362

Packages (timestamps in pop-ups are UTC):
py39-platformdirs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--3.5.2--3.11.03.11.03.11.0
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/a3.11.03.11.03.11.0
 

py311-platformdirs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.3.74.3.8-4.3.74.3.8---
FreeBSD:13:quarterly4.3.64.3.6-4.3.64.3.6---
FreeBSD:14:latest4.3.74.3.8-4.3.64.3.8---
FreeBSD:14:quarterly4.3.64.3.6-4.3.64.3.6---
FreeBSD:15:latest4.3.74.3.8n/a4.3.6n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-hatch-vcs>=0.4 : 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. databases/py-snowflake-connector-python
  2. deskutils/dosage
  3. deskutils/py-vorta
  4. devel/py-b2
  5. devel/py-black
  6. devel/py-cibuildwheel
  7. devel/py-copier
Expand this list (46 items / 39 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/py-hatch
  3. devel/py-jupyter-core
  4. devel/py-openstacksdk
  5. devel/py-pdm
  6. devel/py-pip-audit
  7. devel/py-pip-run
  8. devel/py-pipx
  9. devel/py-poetry
  10. devel/py-pooch
  11. devel/py-pyscaffold
  12. devel/py-pytoolconfig
  13. devel/py-pytools
  14. devel/py-requirementslib
  15. devel/py-shandy-sqlfmt
  16. devel/py-sqlfluff
  17. devel/py-tox
  18. devel/py-virtualenv
  19. devel/pylint
  20. finance/py-yfinance
  21. graphics/py-geosnap
  22. misc/py-wandb
  23. multimedia/py-PySceneDetect
  24. multimedia/py-subliminal
  25. net/py-urlextract
  26. net/py-zeep
  27. ports-mgmt/py-nvchecker
  28. science/py-PyFR
  29. science/py-libpysal
  30. textproc/py-mkdocs
  31. textproc/py-mkdocs-get-deps
  32. textproc/py-textual
  33. textproc/xml2rfc
  34. www/py-quilt3
  35. www/py-requests-cache
  36. www/py-urlwatch
  37. x11/py-waypaper
  38. Collapse this list.

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. devel/b2*
  2. devel/poetry*
  3. devel/py-sqlfmt*
  4. 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