python-platformdirs/python-platformdirs.spec
Steve Kowalik 6c99abab72 Accepting request 1076751 from home:priand:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1076751
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-platformdirs?expand=0&rev=11
2023-04-03 01:19:04 +00:00

61 lines
1.9 KiB
RPMSpec

#
# 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/
#
Name: python-platformdirs
Version: 3.2.0
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