From ab2b35f4ed3c03a5e2772955b487f83af1edf8347b6d2ea08db14d039e2d855a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 25 Sep 2024 17:16:01 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-platformdirs revision 0a930e363e8c0c8f76c7d85a1ab50fde --- platformdirs-3.5.1.tar.gz | 3 -- platformdirs-4.2.2.tar.gz | 3 ++ python-platformdirs.changes | 67 +++++++++++++++++++++++++++++++++++-- python-platformdirs.spec | 11 +++--- 4 files changed, 74 insertions(+), 10 deletions(-) delete mode 100644 platformdirs-3.5.1.tar.gz create mode 100644 platformdirs-4.2.2.tar.gz diff --git a/platformdirs-3.5.1.tar.gz b/platformdirs-3.5.1.tar.gz deleted file mode 100644 index 930cef7..0000000 --- a/platformdirs-3.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:412dae91f52a6f84830f39a8078cecd0e866cb72294a5c66808e74d5e88d251f -size 17164 diff --git a/platformdirs-4.2.2.tar.gz b/platformdirs-4.2.2.tar.gz new file mode 100644 index 0000000..a15d63a --- /dev/null +++ b/platformdirs-4.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38b7b51f512eed9e84a22788b4bce1de17c0adb134d6becb09836e37d8654cd3 +size 20916 diff --git a/python-platformdirs.changes b/python-platformdirs.changes index 324cfa6..a900131 100644 --- a/python-platformdirs.changes +++ b/python-platformdirs.changes @@ -1,3 +1,66 @@ +------------------------------------------------------------------- +Tue Jun 4 20:37:45 UTC 2024 - Dirk Müller + +- update to 4.2.2: + * Fix android detection when python4android is present + +------------------------------------------------------------------- +Sat Apr 27 07:40:21 UTC 2024 - Dirk Müller + +- update to 4.2.1: + * Switch to ruff for formatting and use codespell and + docformatter + * Use hatch over tox + * Allow working without ctypes + +------------------------------------------------------------------- +Thu Feb 1 12:37:16 UTC 2024 - Dirk Müller + +- update to 4.2.0: + * Fix 2 typos about XDG_DATA_DIR + * Add convenience methods to `PlatformDirsAPI` that allow + iterating over both user and site dirs/paths. + +------------------------------------------------------------------- +Mon Jan 1 20:22:00 UTC 2024 - Dirk Müller + +- update to 4.1.0: + * docs: fix Linux user_log_dir example in README + * Drop support for EOL Python 3.7 +- update to 4.0.0: + * site_cache_dir: Use `/var/cache` again instead of `/var/tmp` + on UNIX + +------------------------------------------------------------------- +Thu Nov 9 08:47:29 UTC 2023 - ecsos + +- Update to 3.11.0 + - README: Fix CI badge in #222 + - Fix documentation build in #225 + - Add support for Homebrew-installed software in #232 +- Changes from 3.10.0 + - Fix docs build failure in #210 + - platformdirs: introduce site_runtime_dir in #212 +- Changes from 3.9.1 + - unix: Optionally create the opinionated log/ in user_log_dir() + in #208 +- Changes from 3.9.0 + - Added desktop folder in #200 +- Changes from 3.8.1 + - BSD: provide a fallback for user_runtime_dir in #201 +- Changes from 3.8.0 + - Add missing user media directory docs in #195 +- Changes from 3.7.0 + - Have user_runtime_dir return /var/run/user/uid for *BSD in #194 +- Changes from 3.6.0 + - platformdirs: introduce user_downloads_dir() in #192 +- Changes from 3.5.3 + - https://github.com/platformdirs/platformdirs/compare/3.5.2...3.5.3 +- Changes from 3.5.2 + - git ls-files -z -- .github/workflows/check.yml | xargs -0 + sed -i 's|3.12.0-alpha.7|3.12.0-beta.1|g' in #187 + - Use ruff in #189 + ------------------------------------------------------------------- Fri Jun 2 20:55:07 UTC 2023 - Dirk Müller @@ -113,7 +176,7 @@ Sun Apr 2 15:40:11 UTC 2023 - Andreas Prittwitz * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #100 * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #101 * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #102 - * Declare support for Python 3.11 by @hugovk in #103 + * Declare support for Python 3.11 by @hugovk in #103 ------------------------------------------------------------------- Mon Aug 22 21:59:19 UTC 2022 - Ben Greiner @@ -139,7 +202,7 @@ Sat Mar 26 18:42:11 UTC 2022 - Dirk Müller Mon Jan 10 22:19:08 UTC 2022 - Dirk Müller - update to 2.4.1: - * python 3.6 removal + * python 3.6 removal ------------------------------------------------------------------- Sun Oct 3 19:04:59 UTC 2021 - Ben Greiner diff --git a/python-platformdirs.spec b/python-platformdirs.spec index d35d692..f8c1c9f 100644 --- a/python-platformdirs.spec +++ b/python-platformdirs.spec @@ -1,7 +1,7 @@ # # spec file for package python-platformdirs # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-platformdirs -Version: 3.5.1 +Version: 4.2.2 Release: 0 Summary: Module for determining appropriate platform-specific dirs License: MIT @@ -29,8 +29,9 @@ BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module hatch-vcs} BuildRequires: %{python_module hatchling >= 0.22.0} BuildRequires: %{python_module pip} -BuildRequires: %{python_module pytest >= 6} -BuildRequires: %{python_module pytest-mock >= 3.6} +BuildRequires: %{python_module pytest >= 7.4} +BuildRequires: %{python_module pytest-cov >= 4.1} +BuildRequires: %{python_module pytest-mock >= 3.11.1} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -56,6 +57,6 @@ A small Python module for determining appropriate platform-specific dirs, e.g. a %doc README.rst %license LICENSE %{python_sitelib}/platformdirs -%{python_sitelib}/platformdirs-%{version}*-info +%{python_sitelib}/platformdirs-%{version}.dist-info %changelog