Port details |
- py-platformdirs Python module for determining appropriate platform-specific dirs
- 2.6.2_2 devel
=1 2.6.2_1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2021-09-19 06:09:27
- Last Update: 2023-04-09 13:36:51
- Commit Hash: 7991c9f
- People watching this port, also watch:: py39-Automat, freeimage, font-misc-meltho, libjxl, py39-pycparser
- Also Listed In: python
- License: MIT
- 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.
¦ ¦ ¦ ¦ 
- 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 py39-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 py39-platformdirs listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-platformdirs
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1674589858
SHA256 (platformdirs-2.6.2.tar.gz) = e1fea1fe471b9ff8332e229df3cb7de4f53eeea4998d3b6bfff542115e998bd2
SIZE (platformdirs-2.6.2.tar.gz) = 14260
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:
-
- py39-hatch-vcs>=0.3 : devel/py-hatch-vcs@py39
- py39-hatchling>=1.11.1 : devel/py-hatchling@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- This port is required by:
- for Build
-
- devel/poetry
- devel/py-virtualenv
- for Run
-
- deskutils/dosage
- devel/poetry
- devel/py-black
- devel/py-jupyter-core
- devel/py-pdm
- devel/py-pip-run
- devel/py-poetry
Configuration Options:
- No options to configure
- Options name:
- devel_py-platformdirs
- USES:
- python:3.7+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.6.2_2 09 Apr 2023 13:36:51
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Sort BUILD_DEPENDS |
2.6.2_2 04 Apr 2023 18:29:11
    |
Antoine Brodin (antoine)  |
USE_PYTHON=pep517: bump PORTREVISION |
2.6.2_1 21 Mar 2023 19:20:56
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change |
2.6.2 30 Jan 2023 12:59:56
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 2.6.2
Changes: https://github.com/platformdirs/platformdirs/releases |
2.5.4 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
2.5.4 30 Dec 2022 09:04:48
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 2.5.1
- Update LICENSE_FILE
Changes: https://github.com/platformdirs/platformdirs/releases
https://github.com/platformdirs/platformdirs/blob/main/CHANGES.rst |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.5.2_1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.5.2_1 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
2.5.2_1 28 Apr 2022 22:41:36
    |
Craig Leres (leres)  |
devel/py-platformdirs: Unbreak after 2.5.2 update
The upgrade of py-platformdirs to 2.5.2 breaks pylint (and most
certainly anything else that uses the module):
lns 57 % pylint [...] lblcache.py
[...]
ModuleNotFoundError: No module named 'platformdirs'
Apply the tweak described here to adjust for the "src" subdir in
the distribution:
https://stackoverflow.com/a/36012825/2994620
PR: 263639
Approved by: koobs (portmgr blanket: runtime bugfix) |
2.5.2 26 Apr 2022 15:01:25
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 2.5.2
Changes: https://github.com/platformdirs/platformdirs/releases
https://github.com/platformdirs/platformdirs/blob/main/CHANGES.rst |
2.5.1 07 Mar 2022 18:11:14
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 2.5.1
Changes: https://github.com/platformdirs/platformdirs/releases
https://github.com/platformdirs/platformdirs/blob/main/CHANGES.rst |
2.4.1 11 Jan 2022 18:44:31
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 2.4.1
Changes: https://github.com/platformdirs/platformdirs/releases
https://github.com/platformdirs/platformdirs/blob/main/CHANGES.rst |
2.4.0 13 Oct 2021 05:37:06
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 2.4.0
Changes: https://github.com/platformdirs/platformdirs/releases
https://github.com/platformdirs/platformdirs/blob/main/CHANGES.rst |
2.3.0 19 Sep 2021 05:40:30
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Add py-platformdirs 2.3.0
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.
WWW: https://github.com/platformdirs/platformdirs |