Port details on branch 2025Q1 |
- py-platformdirs Python module for determining appropriate platform-specific dirs
- 4.3.8 devel
=4 4.3.6Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - 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.
 ¦ ¦ ¦ ¦ 
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-hatch-vcs>=0.4 : devel/py-hatch-vcs@py311
- py311-hatchling>=1.27 : devel/py-hatchling@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- This port is required by:
- for Build
-
- devel/py-virtualenv
-
Deleted ports which required this port:
- for Run
-
- databases/py-snowflake-connector-python
- deskutils/dosage
- deskutils/py-vorta
- devel/py-b2
- devel/py-black
- devel/py-cibuildwheel
- devel/py-copier
-
Deleted ports which required this port:
- * - 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:
|