Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details on branch 2023Q4
py-platformdirs Python module for determining appropriate platform-specific dirs
4.11.12 devel Σ=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.11.12Version 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-29 19:24:39
Commit Hash: 20d219b
People watching this port, also watch: libinotify, p5-Encode-Locale, py312-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 = 1790435770 SHA256 (platformdirs-4.11.12.tar.gz) = e8dc1cb58f1153fd7f61db1374317770baababec2480b37b8f01c6cc25b45267 SIZE (platformdirs-4.11.12.tar.gz) = 40016

Packages (timestamps in pop-ups are UTC): #
py39-platformdirs
ABIaarch64amd64armv6armv7i386
FreeBSD:13:latest--n/an/an/a
FreeBSD:13:quarterly--n/an/an/a
FreeBSD:14:latest--2.5.4--
FreeBSD:14:quarterly-----
FreeBSD:15:latest--n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
py311-platformdirs
ABIaarch64amd64armv6armv7i386
FreeBSD:13:latest4.9.24.9.2n/an/an/a
FreeBSD:13:quarterly4.9.14.9.1n/an/an/a
FreeBSD:14:latest---4.3.8-
FreeBSD:14:quarterly---4.3.8-
FreeBSD:15:latest--n/a4.3.8n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
py312-platformdirs
ABIaarch64amd64armv6armv7i386
FreeBSD:13:latest--n/an/an/a
FreeBSD:13:quarterly--n/an/an/a
FreeBSD:14:latest4.11.124.11.12--4.11.12
FreeBSD:14:quarterly4.11.124.11.12--4.11.12
FreeBSD:15:latest4.11.124.11.12n/a-n/a
FreeBSD:15:quarterly4.11.124.11.12n/a-n/a
FreeBSD:16:latest4.11.124.11.12n/a-n/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. science/py-earthpy
  4. 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 (80 items / 73 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-earthpy
  54. science/py-libpysal
  55. science/py-pynwb
  56. science/py-pysal
  57. security/py-pyhanko-cli
  58. security/py-trezor
  59. sysutils/py-datalad
  60. textproc/py-mkdocs
  61. textproc/py-mkdocs-get-deps
  62. textproc/py-mkdocs-include-markdown-plugin
  63. textproc/py-textual
  64. textproc/py-textual0
  65. textproc/py-youseedee
  66. textproc/xml2rfc
  67. www/py-quilt3
  68. www/py-requests-cache
  69. www/py-urlwatch
  70. x11/py-waypaper
  71. 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.
for Test #
  1. textproc/py-yapf

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 2023Q4 for this port