notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
py-platformdirs Python module for determining appropriate platform-specific dirs
4.2.0 devel on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.11.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2021-09-19 06:09:27
Last Update: 2024-03-31 03:06:36
Commit Hash: c267814
People watching this port, also watch:: py39-Automat, freeimage, font-misc-meltho, libjxl, py39-pycparser
Also Listed In: python
License: MIT
WWW:
https://platformdirs.readthedocs.io/en/latest/
https://github.com/platformdirs/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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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 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>)
  • py39: py39-platformdirs
distinfo:
TIMESTAMP = 1711466154 SHA256 (platformdirs-4.2.0.tar.gz) = ef0cc731df711022c174543cb70a9b5bd22e5a9337c8624ef2c2ceb8ddad8768 SIZE (platformdirs-4.2.0.tar.gz) = 20055

Packages (timestamps in pop-ups are UTC):
py39-platformdirs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.2.04.2.0-4.2.04.2.0---
FreeBSD:13:quarterly3.11.03.11.03.5.23.11.04.2.03.11.03.11.03.11.0
FreeBSD:14:latest3.11.04.2.02.5.43.11.04.2.03.5.1-3.5.1
FreeBSD:14:quarterly3.11.04.2.0-3.11.04.2.03.11.03.11.03.11.0
FreeBSD:15:latest3.11.04.2.0n/a3.11.0n/a3.11.03.11.03.11.0
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-hatch-vcs>=0.4 : devel/py-hatch-vcs@py39
  2. py39-hatchling>=1.18 : devel/py-hatchling@py39
  3. python3.9 : lang/python39
  4. py39-build>=0 : devel/py-build@py39
  5. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. python3.9 : lang/python39
This port is required by:
for Build
  1. databases/py-snowflake-connector-python
  2. devel/py-virtualenv

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/poetry*
  2. Collapse this list of deleted ports.
for Run
  1. databases/py-snowflake-connector-python
  2. deskutils/dosage
  3. deskutils/py-vorta
  4. devel/py-black
  5. devel/py-hatch
  6. devel/py-jupyter-core
  7. devel/py-openstacksdk
Expand this list (29 items / 22 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/py-pdm
  3. devel/py-pip-run
  4. devel/py-pipx
  5. devel/py-poetry
  6. devel/py-pooch
  7. devel/py-pyscaffold
  8. devel/py-pytoolconfig
  9. devel/py-pytools
  10. devel/py-requirementslib
  11. devel/py-tox
  12. devel/py-virtualenv
  13. devel/pylint
  14. multimedia/py-PySceneDetect
  15. net/py-urlextract
  16. science/py-PyFR
  17. science/py-libpysal
  18. textproc/py-mkdocs
  19. textproc/py-mkdocstrings
  20. textproc/xml2rfc
  21. www/py-quilt3
  22. www/py-requests-cache
  23. Collapse this list.

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/poetry*
  2. Collapse this list of deleted ports.
* - 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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/platformdirs/
  2. https://pypi.org/packages/source/p/platformdirs/
Collapse this list.

Number of commits found: 23

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.2.0
31 Mar 2024 03:06:36
commit hash: c267814fa9390e4ba23bf85adfc0130b5b8349dbcommit hash: c267814fa9390e4ba23bf85adfc0130b5b8349dbcommit hash: c267814fa9390e4ba23bf85adfc0130b5b8349dbcommit hash: c267814fa9390e4ba23bf85adfc0130b5b8349db files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-platformdirs: Update to 4.2.0

Changes:	https://github.com/platformdirs/platformdirs/releases
3.11.0
05 Oct 2023 02:00:20
commit hash: 7cf33f18107aeb791affa953469c2010c146fdc3commit hash: 7cf33f18107aeb791affa953469c2010c146fdc3commit hash: 7cf33f18107aeb791affa953469c2010c146fdc3commit hash: 7cf33f18107aeb791affa953469c2010c146fdc3 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-platformdirs: Update to 3.11.0

Changes:	https://github.com/platformdirs/platformdirs/releases
3.10.0
16 Aug 2023 18:25:30
commit hash: 9a1e58c72de81d57799de7e78f2292dd9658d678commit hash: 9a1e58c72de81d57799de7e78f2292dd9658d678commit hash: 9a1e58c72de81d57799de7e78f2292dd9658d678commit hash: 9a1e58c72de81d57799de7e78f2292dd9658d678 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: ff35bd99427969ebab59a1a940f98809f5d90f18commit hash: ff35bd99427969ebab59a1a940f98809f5d90f18commit hash: ff35bd99427969ebab59a1a940f98809f5d90f18commit hash: ff35bd99427969ebab59a1a940f98809f5d90f18 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-platformdirs: Update to 3.8.1

Changes:	https://github.com/platformdirs/platformdirs/releases
3.8.0
09 Jul 2023 10:19:12
commit hash: 642575f0a18117cd08d249421e3dc2243c835d30commit hash: 642575f0a18117cd08d249421e3dc2243c835d30commit hash: 642575f0a18117cd08d249421e3dc2243c835d30commit hash: 642575f0a18117cd08d249421e3dc2243c835d30 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-platformdirs: Update to 3.8.0

Changes:	https://github.com/platformdirs/platformdirs/releases
3.5.2
30 Jun 2023 07:03:47
commit hash: fe22f6a5f6bfd2f879e9e7ee9abd8868e96f4f63commit hash: fe22f6a5f6bfd2f879e9e7ee9abd8868e96f4f63commit hash: fe22f6a5f6bfd2f879e9e7ee9abd8868e96f4f63commit hash: fe22f6a5f6bfd2f879e9e7ee9abd8868e96f4f63 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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
commit hash: 786bf1cecd8c36afa49f829e1e00ac6e0ab3c862commit hash: 786bf1cecd8c36afa49f829e1e00ac6e0ab3c862commit hash: 786bf1cecd8c36afa49f829e1e00ac6e0ab3c862commit hash: 786bf1cecd8c36afa49f829e1e00ac6e0ab3c862 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 7991c9faf254304a50a3c89f4c1628b8deb7cfc5commit hash: 7991c9faf254304a50a3c89f4c1628b8deb7cfc5commit hash: 7991c9faf254304a50a3c89f4c1628b8deb7cfc5commit hash: 7991c9faf254304a50a3c89f4c1628b8deb7cfc5 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-platformdirs: Sort BUILD_DEPENDS
2.6.2_2
04 Apr 2023 18:29:11
commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123 files touched by this commit
Antoine Brodin (antoine) search for other commits by this committer
USE_PYTHON=pep517: bump PORTREVISION
2.6.2_1
21 Mar 2023 19:20:56
commit hash: 14b707da3316766d1fef634cb726ddded945c359commit hash: 14b707da3316766d1fef634cb726ddded945c359commit hash: 14b707da3316766d1fef634cb726ddded945c359commit hash: 14b707da3316766d1fef634cb726ddded945c359 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-platformdirs: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for dependency and package change
2.6.2
30 Jan 2023 12:59:56
commit hash: c133ff175829a6ee254812a2fd0b7e33758bf609commit hash: c133ff175829a6ee254812a2fd0b7e33758bf609commit hash: c133ff175829a6ee254812a2fd0b7e33758bf609commit hash: c133ff175829a6ee254812a2fd0b7e33758bf609 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-platformdirs: Update to 2.6.2

Changes:	https://github.com/platformdirs/platformdirs/releases
2.5.4
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
2.5.4
30 Dec 2022 09:04:48
commit hash: 2c0b50bd110e1d2bbec44b9579a76fd748866c9acommit hash: 2c0b50bd110e1d2bbec44b9579a76fd748866c9acommit hash: 2c0b50bd110e1d2bbec44b9579a76fd748866c9acommit hash: 2c0b50bd110e1d2bbec44b9579a76fd748866c9a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
2.5.2_1
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
2.5.2_1
28 Apr 2022 22:41:36
commit hash: 24c7573559e508cc0fa0746cf5d4e213cc79d127commit hash: 24c7573559e508cc0fa0746cf5d4e213cc79d127commit hash: 24c7573559e508cc0fa0746cf5d4e213cc79d127commit hash: 24c7573559e508cc0fa0746cf5d4e213cc79d127 files touched by this commit
Craig Leres (leres) search for other commits by this committer
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
commit hash: a0265e10800f0b041679529eec3b106c6f7ca07acommit hash: a0265e10800f0b041679529eec3b106c6f7ca07acommit hash: a0265e10800f0b041679529eec3b106c6f7ca07acommit hash: a0265e10800f0b041679529eec3b106c6f7ca07a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: ebda53b3bc56ad52bc0ed75716a3dacbf580cecccommit hash: ebda53b3bc56ad52bc0ed75716a3dacbf580cecccommit hash: ebda53b3bc56ad52bc0ed75716a3dacbf580cecccommit hash: ebda53b3bc56ad52bc0ed75716a3dacbf580cecc files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 4d0575a2b1d6da9306b7b8cbe623a0d6f28d04c2commit hash: 4d0575a2b1d6da9306b7b8cbe623a0d6f28d04c2commit hash: 4d0575a2b1d6da9306b7b8cbe623a0d6f28d04c2commit hash: 4d0575a2b1d6da9306b7b8cbe623a0d6f28d04c2 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 3e304651bb43e68837c3a1ac8d967815c96ca3e5commit hash: 3e304651bb43e68837c3a1ac8d967815c96ca3e5commit hash: 3e304651bb43e68837c3a1ac8d967815c96ca3e5commit hash: 3e304651bb43e68837c3a1ac8d967815c96ca3e5 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: d299ed7b4863645178fa3cb315cb46668f41433dcommit hash: d299ed7b4863645178fa3cb315cb46668f41433dcommit hash: d299ed7b4863645178fa3cb315cb46668f41433dcommit hash: d299ed7b4863645178fa3cb315cb46668f41433d files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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

Number of commits found: 23