1
0

8 Commits

Author SHA256 Message Date
271122f091 Accepting request 1278042 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1278042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-platformdirs?expand=0&rev=17
2025-05-23 12:28:13 +00:00
22156d7e17 Accepting request 1277940 from home:glaubitz:branches:devel:languages:python
- Update to 4.3.8
  * Add missing examples and fix order of examples in README

OBS-URL: https://build.opensuse.org/request/show/1277940
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-platformdirs?expand=0&rev=33
2025-05-16 12:09:22 +00:00
8d3d1754ea Accepting request 1273176 from devel:languages:python
- update to 4.3.7:
  * Chunk dependabot updates into a single PR
  * Drop support for EOL Python 3.8

OBS-URL: https://build.opensuse.org/request/show/1273176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-platformdirs?expand=0&rev=16
2025-04-30 17:02:21 +00:00
7098d40bdb - update to 4.3.7:
* Chunk dependabot updates into a single PR
  * Drop support for EOL Python 3.8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-platformdirs?expand=0&rev=31
2025-04-28 14:19:10 +00:00
45acec2f8d Accepting request 1243366 from devel:languages:python
- Use multibuild for test package

OBS-URL: https://build.opensuse.org/request/show/1243366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-platformdirs?expand=0&rev=15
2025-02-07 21:56:58 +00:00
48c61bfe60 - Use multibuild for test package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-platformdirs?expand=0&rev=29
2025-02-05 13:20:17 +00:00
e37893f7ab Accepting request 1225334 from devel:languages:python
- update to 4.3.6:
  * Fix readme download target
- update to 4.3.5:
  * Split build and publish for release
- update to 4.3.4:
  * Use upstream setup-uv with uv python
- update to 4.3.3:
  * Update check.yml
  * don't include outdated changelog in docs
- update to 4.3.2:
  * Use uv as installer
  * Fix multi-path returned from `_path` methods on MacOS
- update to 4.3.0:
  * Speed up Hatch installation
  * Test with Python 3.13
  * Test with latest PyPy
  * Use `include-hidden-files: true` to upload coverage artifacts
  * Ensure PlatformDirs is valid superclass type for mypy AND not
    an abstract class for other checkers

OBS-URL: https://build.opensuse.org/request/show/1225334
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-platformdirs?expand=0&rev=14
2024-11-21 14:13:19 +00:00
3346f43253 - update to 4.3.6:
* Fix readme download target
- update to 4.3.5:
  * Split build and publish for release
- update to 4.3.4:
  * Use upstream setup-uv with uv python
- update to 4.3.3:
  * Update check.yml
  * don't include outdated changelog in docs
- update to 4.3.2:
  * Use uv as installer
  * Fix multi-path returned from `_path` methods on MacOS
- update to 4.3.0:
  * Speed up Hatch installation
  * Test with Python 3.13
  * Test with latest PyPy
  * Use `include-hidden-files: true` to upload coverage artifacts
  * Ensure PlatformDirs is valid superclass type for mypy AND not
    an abstract class for other checkers

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-platformdirs?expand=0&rev=27
2024-11-20 16:12:46 +00:00
5 changed files with 70 additions and 7 deletions

3
_multibuild Normal file
View File

@@ -0,0 +1,3 @@
<multibuild>
<package>test</package>
</multibuild>

BIN
platformdirs-4.2.2.tar.gz (Stored with Git LFS)

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,44 @@
-------------------------------------------------------------------
Fri May 16 06:03:25 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.3.8
* Add missing examples and fix order of examples in README
-------------------------------------------------------------------
Mon Apr 28 14:18:59 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 4.3.7:
* Chunk dependabot updates into a single PR
* Drop support for EOL Python 3.8
-------------------------------------------------------------------
Wed Feb 5 12:15:54 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Use multibuild for test package
-------------------------------------------------------------------
Wed Nov 20 16:12:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.3.6:
* Fix readme download target
- update to 4.3.5:
* Split build and publish for release
- update to 4.3.4:
* Use upstream setup-uv with uv python
- update to 4.3.3:
* Update check.yml
* don't include outdated changelog in docs
- update to 4.3.2:
* Use uv as installer
* Fix multi-path returned from `_path` methods on MacOS
- update to 4.3.0:
* Speed up Hatch installation
* Test with Python 3.13
* Test with latest PyPy
* Use `include-hidden-files: true` to upload coverage artifacts
* Ensure PlatformDirs is valid superclass type for mypy AND not
an abstract class for other checkers
-------------------------------------------------------------------
Tue Jun 4 20:37:45 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-platformdirs
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,33 @@
#
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
%bcond_without test
%else
%define psuffix %{nil}
%bcond_with test
%endif
%{?sle15_python_module_pythons}
Name: python-platformdirs
Version: 4.2.2
Name: python-platformdirs%{psuffix}
Version: 4.3.8
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}
%if %{with test}
BuildRequires: %{python_module appdirs == 1.4.4}
BuildRequires: %{python_module platformdirs = %{version}}
BuildRequires: %{python_module pytest >= 7.4}
BuildRequires: %{python_module pytest-cov >= 4.1}
BuildRequires: %{python_module pytest-mock >= 3.11.1}
%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -44,19 +55,27 @@ A small Python module for determining appropriate platform-specific dirs, e.g. a
%autosetup -p1 -n platformdirs-%{version}
%build
%if !%{with test}
%pyproject_wheel
%endif
%install
%if !%{with test}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%check
%if %{with test}
%pytest
%endif
%if !%{with test}
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/platformdirs
%{python_sitelib}/platformdirs-%{version}.dist-info
%endif
%changelog