Port details |
- 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
 - 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.
 ¦ ¦ ¦ ¦ 
- 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-copier
- devel/py-hatch
-
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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
4.3.6 25 Sep 2024 18:21:58
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 4.3.6
Changes: https://github.com/tox-dev/platformdirs/releases |
4.3.4 25 Sep 2024 04:22:31
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 4.3.4
Changes: https://github.com/tox-dev/platformdirs/releases |
4.3.2 15 Sep 2024 20:09:47
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 4.3.2
- Update WWW
Changes: https://github.com/tox-dev/platformdirs/releases |
4.2.2 19 May 2024 22:11:02
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 4.2.2
Changes: https://github.com/platformdirs/platformdirs/releases |
4.2.1 19 May 2024 17:15:39
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 4.2.1
Changes: https://github.com/platformdirs/platformdirs/releases |
4.2.0 31 Mar 2024 03:06:36
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 4.2.0
Changes: https://github.com/platformdirs/platformdirs/releases |
3.11.0 05 Oct 2023 02:00:20
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 3.11.0
Changes: https://github.com/platformdirs/platformdirs/releases |
3.10.0 16 Aug 2023 18:25:30
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 3.10.0
- Update WWW
Changes: https://github.com/platformdirs/platformdirs/releases |
3.8.1 09 Jul 2023 21:34:34
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 3.8.1
Changes: https://github.com/platformdirs/platformdirs/releases |
3.8.0 09 Jul 2023 10:19:12
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 3.8.0
Changes: https://github.com/platformdirs/platformdirs/releases |
3.5.2 30 Jun 2023 07:03:47
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 3.5.2
- Remove outdated PYTHON_REL check after lang/python37 removal
Changes: https://github.com/platformdirs/platformdirs/releases |
3.5.1 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
3.5.1 05 Jun 2023 18:47:14
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-platformdirs: Update to 3.5.1
Changes: https://github.com/platformdirs/platformdirs/releases |
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 |