Sync from SUSE:SLFO:Main python-platformdirs revision 5a1a6a37e1ec48161dd94f22b6e568ec

This commit is contained in:
Adrian Schröter 2024-05-03 21:53:35 +02:00
commit b27a13ab1e
4 changed files with 244 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
platformdirs-3.5.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

157
python-platformdirs.changes Normal file
View File

@ -0,0 +1,157 @@
-------------------------------------------------------------------
Fri Jun 2 20:55:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.5.1:
* Add 3.12 support
* Add tox.ini to sdist
* removing Windows versions
* Better handling for UNIX support
* platformdirs: introduce `user_music_dir()`
* platformdirs: introduce `user_videos_dir()`
* Adding platformdirs.PlatformDirs to docs
* Fix linter failures
* Exclude bots from generated release notes
* platformdirs: introduce `user_pictures_dir()`
-------------------------------------------------------------------
Fri Apr 21 12:29:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:43:03 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Sun Apr 2 15:40:11 UTC 2023 - Andreas Prittwitz <m4ng4n@gmx.de>
- update to 3.2.0
* Remove reference to missing CHANGES.rst in %doc section
* Rename %license reference to LICENSE
* Add pyproject-fmt by @gaborbernat in #150
* Bump deps and tools by @gaborbernat in #149
* Bump pypa/gh-action-pypi-publish from 1.6.4 to 1.7.1 by
@dependabot in #151
* Bump pypa/gh-action-pypi-publish from 1.7.1 to 1.8.1 by
@dependabot in #153
* Bump deps and tools by @gaborbernat in #154
* Bump pypa/gh-action-pypi-publish from 1.8.1 to 1.8.3 by
@dependabot in #156
* Add option to create directories by @smsearcy in #155
- changes in 3.1.1
* site_cache_dir: use /var/tmp instead of /var/cache on unix by
@efiop in #148
- changes in 3.1.0
* rst: fix backtics by @efiop in #146
* platformdirs: introduce site_cache_dir by @efiop in #145
- changes in 3.0.1
* pyproject.toml: add appdirs keyword by @efiop in #144
- changes in 3.0.0
* Fix CI by @gaborbernat in #125
* Use the correct project name in documentation by @pradyunsg in
#131
* Fix CI by @gaborbernat in #138
* Fix macos user_site_dir by @ThomasWaldmann in #137
- changes in 2.6.2
* Add typing-extensions as dependency when python_version < 3.8
by @amacf in #123
- changes in 2.6.1
* Bump pypa/gh-action-pypi-publish from 1.6.1 to 1.6.4 by
@dependabot in #116
* Fix the CI, bump tools by @gaborbernat in #119
* Coverage reporting fixes by @nedbat in #121
* Fix #114 by @Freed-Wu in #115
- changes in 2.6.0
* [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #107
* Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.5.2 by
@dependabot in #111
* Bump pypa/gh-action-pypi-publish from 1.5.2 to 1.6.1 by
@dependabot in #113
* Change user_log_dir to point to user_state_dir on Linux per the
XDG spec by @lordwelch in #108
- changes in 2.5.4
* Update check.yml
- changes in 2.5.3
* [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #80
* [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #82
* Bump pre-commit/action from 2.0.3 to 3.0.0 by @dependabot in
#87
* Bump actions/upload-artifact from 2 to 3 by @dependabot in #86
* Bump actions/download-artifact from 2 to 3 by @dependabot in
#85
* Bump actions/setup-python from 2 to 4 by @dependabot in #84
* Bump actions/checkout from 2 to 3 by @dependabot in #83
* Docs: platformdirs is a package by @chanicpanic in #88
* [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #89
* [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #91
* Check 3.11 support by @gaborbernat in #92
* [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #93
* Bump tools by @gaborbernat in #94
* Bump dependencies by @gaborbernat in #95
* [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #96
* [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #99
* [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
-------------------------------------------------------------------
Mon Aug 22 21:59:19 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 2.5.2:
* Move packaging to hatchling from setuptools
* Treat android shells as unix
- Disable building the docs.
* It's the only package in Ring1 pulling in
python-sphinx-autodoc-typehints and thus python-nptyping and
python-beartype. Avoid it. The online docs should be enough
nowadays.
* Drop no-furo.patch
-------------------------------------------------------------------
Sat Mar 26 18:42:11 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.5.1:
- Add native support for nuitka
- Add support for Termux subsystems
-------------------------------------------------------------------
Mon Jan 10 22:19:08 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.4.1:
* python 3.6 removal
-------------------------------------------------------------------
Sun Oct 3 19:04:59 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to version 2.4.0
* Add user_documents_dir
* Add user_runtime_dir and its path-returning equivalent (#37)
- Fix egg-info version: build requires setuptools_scm >= 5
-------------------------------------------------------------------
Tue Aug 3 09:35:42 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Initial package for platformdirs 2.2.0.
- Add no-furo.patch to avoid using furo Sphinx theme
(https://github.com/pradyunsg/furo/discussions/148#discussioncomment-1125486)

61
python-platformdirs.spec Normal file
View File

@ -0,0 +1,61 @@
#
# spec file for package python-platformdirs
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-platformdirs
Version: 3.5.1
Release: 0
Summary: Module for determining appropriate platform-specific dirs
License: MIT
URL: https://github.com/platformdirs/platformdirs
Source: https://files.pythonhosted.org/packages/source/p/platformdirs/platformdirs-%{version}.tar.gz
BuildRequires: %{python_module appdirs == 1.4.4}
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: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
%prep
%autosetup -p1 -n platformdirs-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/platformdirs
%{python_sitelib}/platformdirs-%{version}*-info
%changelog