Port details on branch 2025Q1 |
- py-platformdirs Python module for determining appropriate platform-specific dirs
- 4.3.6 devel
=4 4.3.6Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
![search for ports maintained by this maintainer search for ports maintained by this maintainer](/images/search.jpg) - Port Added: 2021-09-19 06:09:27
- Last Update: 2024-09-25 18:21:58
- Commit Hash: b97ef8d
- 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.
![Homepage Homepage](/images/home.svg) ¦ ¦ ¦ ¦ ![SVNWeb - no subversion history for this port SVNWeb - no subversion history for this port](/images/subversion-greyed.png)
- 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 = 1727260411
SHA256 (platformdirs-4.3.6.tar.gz) = 357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907
SIZE (platformdirs-4.3.6.tar.gz) = 21302
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.25 : 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
-
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-hatch
- devel/py-jupyter-core
-
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:
|