devel/py-platformdirs 4.11.12 FreeBSD
Python module for determining appropriate platform-specific dirs
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
20d219bf4a- License
- MIT
- Categories
- devel, python
- Package size
- 47.5 KiB, 416.0 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-platformdirs | 4.11.12 |
| DragonFly | devel/py-platformdirs | 4.3.6 |
| MidnightBSD | devel/py-platformdirs | 4.3.6_1 |
Install
Binary package:
pkg install py312-platformdirs
From the ports tree:
cd /usr/ports/devel/py-platformdirs/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-platformdirs>0:devel/py-platformdirs
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.11.12 | 4.11.12 | 2.5.4 | 4.3.8 | 4.11.12 |
| FreeBSD:14:quarterly | 4.11.12 | 4.11.12 | n/a | 4.3.8 | 4.11.12 |
| FreeBSD:15:latest | 4.11.12 | 4.11.12 | n/a | 4.3.8 | 4.3.8 |
| FreeBSD:15:quarterly | 4.11.12 | 4.11.12 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.11.12 | 4.11.12 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.5: devel/py-hatch-vcs${PYTHON_PKGNAMEPREFIX}hatchling>=1.29: devel/py-hatchling
The full lists below include those, and their dependencies in turn.
Build dependencies 22
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatch-vcs
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-setuptools
- devel/py-setuptools-scm
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 7
Required by 377
- archivers/py-blosc2
- astro/py-earthkit-utils
- astro/py-metpy
- astro/py-pytest-astropy
- astro/py-spacetrack
- audio/beets
- audio/mythplugin-mythmusic
- audio/py-librosa
- benchmarks/py-asv
- benchmarks/py-locust
- benchmarks/py-locust-cloud
- biology/py-hits
- biology/py-pydeseq2
- cad/py-pymtl
- comms/py-pynitrokey
- comms/py-spsdk
- databases/memcached
- databases/py-dbt-snowflake
- databases/py-harlequin
- databases/py-harlequin-mysql
- databases/py-harlequin-postgres
- databases/py-pg8000
- databases/py-schemachange
- databases/py-snowddl
- databases/py-snowflake-connector-python
- databases/py-squall-sql
- deskutils/dosage
- deskutils/normcap
- deskutils/py-qmd
- deskutils/py-vorta
- devel/nox
- devel/py-anndata
- devel/py-anywidget
- devel/py-b2
- devel/py-black
- devel/py-castellan
- devel/py-cgen
- devel/py-cibuildwheel
- devel/py-copier
- devel/py-cursive
- devel/py-datasette
- devel/py-e3-core
- devel/py-e3-testsuite
- devel/py-envwrap
- devel/py-fastf1
- devel/py-findpython
- devel/py-flake8-black
- devel/py-glance-store
- devel/py-graal
- devel/py-hatch
- devel/py-hypothesis
- devel/py-hypothesmith
- devel/py-inline-snapshot
- devel/py-ipydatawidgets
- devel/py-ipykernel
- devel/py-ipympl
- devel/py-ipyparallel
- devel/py-ipywidgets
- devel/py-jaraco.packaging
- devel/py-jupyter
- devel/py-jupyter-builder
- devel/py-jupyter-client
- devel/py-jupyter-collaboration
- devel/py-jupyter-collaboration-ui
- devel/py-jupyter-core
- devel/py-jupyter-docprovider
- devel/py-jupyter-kernel-gateway
- devel/py-jupyter-kernel-test
- devel/py-jupyter-lsp
- devel/py-jupyter-rfb
- devel/py-jupyter-server
- devel/py-jupyter-server-fileid
- devel/py-jupyter-server-mathjax
- devel/py-jupyter-server-ydoc
- devel/py-jupyter_console
- devel/py-jupyterlab
- devel/py-jupyterlab-lsp
- devel/py-jupyterlab-server
- devel/py-jupyterlab-widgets
- devel/py-jupyterlab_launcher
- devel/py-keystonemiddleware
- devel/py-llvmcpy
- devel/py-molecule
- devel/py-molecule-plugins
- devel/py-mpremote
- devel/py-mutmut
- devel/py-nbclassic
- devel/py-nbclient
- devel/py-nbconvert
- devel/py-nbdime
- devel/py-nbformat
- devel/py-nbval
- devel/py-notebook-shim
- devel/py-odoo-addon-openupgrade-framework16
- devel/py-odoo-addon-openupgrade-framework17
- devel/py-odoo-addon-openupgrade-framework18
- devel/py-odoo-addon-openupgrade-scripts16
- devel/py-odoo-addon-openupgrade-scripts17
- devel/py-odoo-addon-openupgrade-scripts18
- devel/py-openstacksdk
The first 100 are listed.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| platformdirs-4.11.12.tar.gz | 40016 | e8dc1cb58f1153fd7f61db1374317770baababec2480b37b8f01c6cc25b45267 |
Master sites 1
- PYPI
Commit history 6
The latest 5 of 6 in the history this site was built from.