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: Sun Nov 22 19:48:06 UTC 2026
Modified Files:
pkgsrc/misc/py-platformdirs: Makefile PLIST distinfo
Log Message:
py-platformdirs: update to 4.14.8.
All tests pass.
4.14.8
Bug fixes
Check Unix runtime directory parents, including sticky directories and symlink targets. Recheck the path after creating a missing XDG runtime directory (#738) by @gaborbernat.
Check symlinks and entries in shared parents when creating POSIX user directories. Shared sticky directories must belong to root or the caller. Support system-owned Android paths and
group-writable container homes (#741) by @gaborbernat.
Check the parents of the temporary Unix runtime directory. A lookup accepts an existing group-writable fallback. File searches skip it until ensure_exists repairs its permissions. Raise an error
if no safe temporary base is available (#744) by @gaborbernat.
Create deeply nested directories without reaching Python's recursion limit (#733) by @gaborbernat.
Ignore Windows UNC folder overrides with a missing server or share, or with . or .. as either name (#724) by @mansur-akhmadi and @gaborbernat.
Keep the newest active isolated_dirs() root when overlapping contexts close out of order (#729) by @gaborbernat.
On macOS, validate the XDG runtime directory and its parents for both user and site paths. File placement and search use the native fallback when the override is unusable (#745) by @gaborbernat.
Read Unix media settings from a trusted user-dirs.dirs file, including under a group-writable ~/.config. Create configured media directories with mode 0775 subject to the umask (#740) by
@gaborbernat.
Root can look up existing service-owned Unix site directories. Creating directories or placing files requires a root-owned path. Group-writable ancestors are allowed. New directories use mode
0755 subject to the umask (#742) by @gaborbernat.
Use root's password database home for Unix media and fonts when root redirection is active and HOME is unset, empty or relative (#730) by @gaborbernat.
Use the same Unix site runtime fallback for lookup and creation when the XDG override fails validation. With root redirection, site_runtime_dir creates a missing XDG_RUNTIME_DIR with mode 0700
when ensure_exists=True. Find runtime files in valid fallbacks and in directories selected by root redirection or test isolation (#745) by @gaborbernat.
4.14.7
Bug fixes
Drop a backslash before the line break that ends an unquoted user-dirs.dirs value instead of keeping it in the folder name (#721) by @gaborbernat.
4.14.6
Bug fixes
Accept use_site_for_root in user_fonts_dir, user_fonts_path and the media directory and path functions, so they can return root's own directories as the matching properties do (#686) by
@abhishekcpp007 and @gaborbernat.
Ignore a WIN_PD_OVERRIDE_* value that names an extended or device drive without its root, such as \\?\D: or \\.\D:, instead of appending the app name to it as a drive-relative path (#702) by
@h55n and @gaborbernat.
Keep a carriage return inside a user-dirs.dirs path as part of the directory name, instead of ignoring the entry (#712) by @liuyinchu and @gaborbernat.
Keep trailing non-ASCII whitespace, such as a no-break space, in WIN_PD_OVERRIDE_* values, since it can end a folder name (#700) by @subotac and @gaborbernat.
Make find_*_file and find_*_files skip a directory the user cannot search, and treat a name too long for the file system as not found, instead of raising on Python 3.13 and older (#703) by
@darrenhuai and @gaborbernat.
Remove the backslash before an escaped character in an unquoted user-dirs.dirs path, as the shell does, and keep an escaped blank before # in the path instead of reading the rest as a comment
(#716) by @Primeteumm and @gaborbernat.
Performance
Importing platformdirs no longer imports typing: the names it needs only for type annotations are imported under a module-level TYPE_CHECKING guard, so import platformdirs is faster (#714) by
@hugovk and @gaborbernat.
Packaging
Every wheel now carries a PEP 770 CycloneDX SBOM in its .dist-info/sboms directory, written at build time by python-sbom (#696) by @gaborbernat.
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 pkgsrc/misc/py-platformdirs/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/misc/py-platformdirs/PLIST
cvs rdiff -u -r1.60 -r1.61 pkgsrc/misc/py-platformdirs/distinfo
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.61 pkgsrc/misc/py-platformdirs/Makefile:1.62
--- pkgsrc/misc/py-platformdirs/Makefile:1.61 Sun Nov 8 18:16:12 2026
+++ pkgsrc/misc/py-platformdirs/Makefile Sun Nov 22 19:48:06 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.61 2026/11/08 18:16:12 wiz Exp $
+# $NetBSD: Makefile,v 1.62 2026/11/22 19:48:06 wiz Exp $
-DISTNAME= platformdirs-4.14.5
+DISTNAME= platformdirs-4.14.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= misc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/platformdirs/}
@@ -13,6 +13,7 @@ LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs>=0.5:../../devel/py-hatch-vcs
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme>=0:../../devel/py-hatch-fancy-pypi-readme
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.29:../../devel/py-hatchling
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sbom>=0:../../devel/py-sbom
TEST_DEPENDS+= ${PYPKGPREFIX}-appdirs>=1.4.4:../../devel/py-appdirs
TEST_DEPENDS+= ${PYPKGPREFIX}-covdefaults>=2.3:../../devel/py-covdefaults
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=7:../../devel/py-test-cov
@@ -20,8 +21,5 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>
USE_LANGUAGES= # none
-# as of 4.14.5
-# 1 failed, 2633 passed, 126 skipped, 4 warnings
-
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/py-platformdirs/PLIST
diff -u pkgsrc/misc/py-platformdirs/PLIST:1.7 pkgsrc/misc/py-platformdirs/PLIST:1.8
--- pkgsrc/misc/py-platformdirs/PLIST:1.7 Mon Sep 28 15:51:48 2026
+++ pkgsrc/misc/py-platformdirs/PLIST Sun Nov 22 19:48:06 2026
@@ -1,15 +1,25 @@
-@comment $NetBSD: PLIST,v 1.7 2026/09/28 15:51:48 wiz Exp $
+@comment $NetBSD: PLIST,v 1.8 2026/11/22 19:48:06 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/sboms/platformdirs.cdx.json
${PYSITELIB}/platformdirs/__init__.py
${PYSITELIB}/platformdirs/__init__.pyc
${PYSITELIB}/platformdirs/__init__.pyo
${PYSITELIB}/platformdirs/__main__.py
${PYSITELIB}/platformdirs/__main__.pyc
${PYSITELIB}/platformdirs/__main__.pyo
+${PYSITELIB}/platformdirs/_android.py
+${PYSITELIB}/platformdirs/_android.pyc
+${PYSITELIB}/platformdirs/_android.pyo
+${PYSITELIB}/platformdirs/_paths.py
+${PYSITELIB}/platformdirs/_paths.pyc
+${PYSITELIB}/platformdirs/_paths.pyo
+${PYSITELIB}/platformdirs/_runtime.py
+${PYSITELIB}/platformdirs/_runtime.pyc
+${PYSITELIB}/platformdirs/_runtime.pyo
${PYSITELIB}/platformdirs/_xdg.py
${PYSITELIB}/platformdirs/_xdg.pyc
${PYSITELIB}/platformdirs/_xdg.pyo
Index: pkgsrc/misc/py-platformdirs/distinfo
diff -u pkgsrc/misc/py-platformdirs/distinfo:1.60 pkgsrc/misc/py-platformdirs/distinfo:1.61
--- pkgsrc/misc/py-platformdirs/distinfo:1.60 Sun Nov 8 18:16:12 2026
+++ pkgsrc/misc/py-platformdirs/distinfo Sun Nov 22 19:48:06 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.60 2026/11/08 18:16:12 wiz Exp $
+$NetBSD: distinfo,v 1.61 2026/11/22 19:48:06 wiz Exp $
-BLAKE2s (platformdirs-4.14.5.tar.gz) = dfacd0e8be59eb5e60bf69a12f46f9dfef6b04722ffff29f68344a7d3b3d7e93
-SHA512 (platformdirs-4.14.5.tar.gz) = a6e43443ae6f2a202b6c57663766cdac3e12a03e879f82812fd44c6bc4abcb71f1cf6c6a81f6efe260dd0098cab5468ff45e13f53acefc82f7eaad91d2729e5c
-Size (platformdirs-4.14.5.tar.gz) = 71464 bytes
+BLAKE2s (platformdirs-4.14.8.tar.gz) = e6786a5bfe32c6e7484565c1ecfa26177d61d3787d3f0052373e1452052d00af
+SHA512 (platformdirs-4.14.8.tar.gz) = cb81b1f2b5734d72274c05eb9bb17b20bc649feceeb1b22558a441b7c229f549fd0bf92d62e9e25dcb7eb6d224bd5b59894c17c177fc9ec9806947570aad6bfb
+Size (platformdirs-4.14.8.tar.gz) = 87203 bytes
Home |
Main Index |
Thread Index |
Old Index