pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/py-platformdirs
Module Name: pkgsrc
Committed By: wiz
Date: Mon Feb 16 11:44:01 UTC 2026
Modified Files:
pkgsrc/misc/py-platformdirs: Makefile distinfo
pkgsrc/misc/py-platformdirs/patches: patch-tests_test__unix.py
Log Message:
py-platformdirs: update to 4.9.2.
4.9.2
📝 docs(platforms): fix RST formatting and TOC hierarchy by @gaborbernat in #447
📝 docs: restructure following Diataxis framework by @gaborbernat in #448
4.9.1
📝 docs: enhance README, fix issues, and reorganize platforms.rst by @gaborbernat in #445
4.9.0
📝 docs(usage): add use_site_for_root and comprehensive guidance by @gaborbernat in #439
🐛 fix(unix): use correct runtime dir path for OpenBSD by @gaborbernat in #440
✨ feat(api): add site_applications_dir property by @gaborbernat in #442
✨ feat(api): add site_bin_dir property by @gaborbernat in #443
📚 docs: split usage guide into tutorial, how-to, and reference by @gaborbernat in #441
4.8.0
📝 docs(windows): document Store Python sandbox path behavior by @gaborbernat in #423
✨ feat(api): add site_log_dir and document Store Python sandbox by @gaborbernat in #424
✨ feat(api): add site_state_dir for system-wide state by @gaborbernat in #425
✨ feat(api): add use_site_for_root parameter by @gaborbernat in #426
✨ feat(windows): add PLATFORMDIRS_* env var overrides by @gaborbernat in #427
✨ feat(windows): add WIN_PD_OVERRIDE_* env var overrides by @gaborbernat in #428
🐛 fix(macos): yield individual site dirs in iter_*_dirs by @gaborbernat in #429
✨ feat(api): add user_bin_dir property by @gaborbernat in #430
✨ feat(api): add user_applications_dir property by @gaborbernat in #432
📝 docs(usage): note that home dir is in stdlib by @gaborbernat in #431
4.7.1
🐛 fix(windows): avoid FileNotFoundError in sandboxed environments by @gaborbernat in #422
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/misc/py-platformdirs/Makefile
cvs rdiff -u -r1.37 -r1.38 pkgsrc/misc/py-platformdirs/distinfo
cvs rdiff -u -r1.2 -r1.3 \
pkgsrc/misc/py-platformdirs/patches/patch-tests_test__unix.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/py-platformdirs/Makefile
diff -u pkgsrc/misc/py-platformdirs/Makefile:1.38 pkgsrc/misc/py-platformdirs/Makefile:1.39
--- pkgsrc/misc/py-platformdirs/Makefile:1.38 Fri Feb 13 09:30:07 2026
+++ pkgsrc/misc/py-platformdirs/Makefile Mon Feb 16 11:44:01 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2026/02/13 09:30:07 adam Exp $
+# $NetBSD: Makefile,v 1.39 2026/02/16 11:44:01 wiz Exp $
-DISTNAME= platformdirs-4.7.0
+DISTNAME= platformdirs-4.9.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= misc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/platformdirs/}
@@ -19,8 +19,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>
USE_LANGUAGES= # none
-# as of 4.7.0
-# 508 passed, 36 skipped
+# as of 4.9.2
+# 1 failed, 752 passed, 71 skipped
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/py-platformdirs/distinfo
diff -u pkgsrc/misc/py-platformdirs/distinfo:1.37 pkgsrc/misc/py-platformdirs/distinfo:1.38
--- pkgsrc/misc/py-platformdirs/distinfo:1.37 Fri Feb 13 09:30:07 2026
+++ pkgsrc/misc/py-platformdirs/distinfo Mon Feb 16 11:44:01 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.37 2026/02/13 09:30:07 adam Exp $
+$NetBSD: distinfo,v 1.38 2026/02/16 11:44:01 wiz Exp $
-BLAKE2s (platformdirs-4.7.0.tar.gz) = 03b04acee316c466cc95be4626041bd4f2fd79d01b0a8575656bb5ccfd57f803
-SHA512 (platformdirs-4.7.0.tar.gz) = d5e28eb05c73c7a0187ccfa9df9b3819804fcb92ba4237f3c788d1d8722d1ec0fea54708c1d976077e4189b2187bf8f19657f05dc51a515ffa53c07da07e93ca
-Size (platformdirs-4.7.0.tar.gz) = 23118 bytes
-SHA1 (patch-tests_test__unix.py) = 354b3b2e28871fe1f9b4a531b415225a3326f080
+BLAKE2s (platformdirs-4.9.2.tar.gz) = f7f766f5f0bd47ad0c0f74a366de524af435d90afc49cdbc25cab7845cded862
+SHA512 (platformdirs-4.9.2.tar.gz) = 3abd4570abae3964c6afd52493b5f99f81c5543833f01ca8f8c59cbd00108b4d8030b0dc8e7991cb807b6817f28552f008e962c88b12db4fc07ce4015f05e8ec
+Size (platformdirs-4.9.2.tar.gz) = 28394 bytes
+SHA1 (patch-tests_test__unix.py) = 6137556f92530f0bc61c519277c0a59be855e28e
Index: pkgsrc/misc/py-platformdirs/patches/patch-tests_test__unix.py
diff -u pkgsrc/misc/py-platformdirs/patches/patch-tests_test__unix.py:1.2 pkgsrc/misc/py-platformdirs/patches/patch-tests_test__unix.py:1.3
--- pkgsrc/misc/py-platformdirs/patches/patch-tests_test__unix.py:1.2 Fri Feb 13 09:30:07 2026
+++ pkgsrc/misc/py-platformdirs/patches/patch-tests_test__unix.py Mon Feb 16 11:44:01 2026
@@ -1,10 +1,11 @@
-$NetBSD: patch-tests_test__unix.py,v 1.2 2026/02/13 09:30:07 adam Exp $
+$NetBSD: patch-tests_test__unix.py,v 1.3 2026/02/16 11:44:01 wiz Exp $
Fix tests on BSD.
+https://github.com/tox-dev/platformdirs/issues/449
--- tests/test_unix.py.orig 2020-02-02 00:00:00.000000000 +0000
+++ tests/test_unix.py
-@@ -96,6 +96,10 @@ class XDGVariable(typing.NamedTuple):
+@@ -96,6 +96,10 @@ def _func_to_path(func: str) -> XDGVariable | None:
def _func_to_path(func: str) -> XDGVariable | None:
@@ -15,10 +16,10 @@ Fix tests on BSD.
mapping = {
"user_data_dir": XDGVariable("XDG_DATA_HOME", "~/.local/share"),
"site_data_dir": XDGVariable("XDG_DATA_DIRS", f"/usr/local/share{os.pathsep}/usr/share"),
-@@ -105,7 +109,7 @@ def _func_to_path(func: str) -> XDGVaria
- "user_state_dir": XDGVariable("XDG_STATE_HOME", "~/.local/state"),
- "user_log_dir": XDGVariable("XDG_STATE_HOME", "~/.local/state"),
- "user_runtime_dir": XDGVariable("XDG_RUNTIME_DIR", f"{gettempdir()}/runtime-1234"),
+@@ -111,7 +115,7 @@ def _func_to_path(func: str) -> XDGVariable | None:
+ "site_applications_dir": None,
+ "site_log_dir": None,
+ "site_state_dir": None,
- "site_runtime_dir": XDGVariable("XDG_RUNTIME_DIR", "/run"),
+ "site_runtime_dir": XDGVariable("XDG_RUNTIME_DIR", site_default),
}
Home |
Main Index |
Thread Index |
Old Index