forked from pool/python-platformdirs
Accepting request 922953 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/922953 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-platformdirs?expand=0&rev=2
This commit is contained in:
commit
cf4fb788fb
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:632daad3ab546bd8e6af0537d09805cec458dce201bccfe23012df73332e181e
|
||||
size 21691
|
3
platformdirs-2.4.0.tar.gz
Normal file
3
platformdirs-2.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:367a5e80b3d04d2428ffa76d33f124cf11e8fff2acdaa9b43d545f5c7d661ef2
|
||||
size 24051
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-platformdirs
|
||||
Version: 2.2.0
|
||||
Version: 2.4.0
|
||||
Release: 0
|
||||
Summary: Module for determining appropriate platform-specific dirs
|
||||
License: MIT
|
||||
@ -31,8 +31,8 @@ Source: https://files.pythonhosted.org/packages/source/p/platformdirs/pl
|
||||
Patch0: no-furo.patch
|
||||
BuildRequires: %{python_module appdirs == 1.4.4}
|
||||
BuildRequires: %{python_module pytest >= 6}
|
||||
BuildRequires: %{python_module pytest-cov >= 2.7}
|
||||
BuildRequires: %{python_module pytest-mock >= 3.6}
|
||||
BuildRequires: %{python_module setuptools_scm >= 5}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -56,6 +56,7 @@ HTML Documentation and examples for %{name}.
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
PYTHONPATH=src sphinx-build -b html docs/ docs/build/html
|
||||
rm -r docs/build/html/.{buildinfo,doctrees}
|
||||
|
||||
@ -64,12 +65,14 @@ rm -r docs/build/html/.{buildinfo,doctrees}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
rm tox.ini
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGES.rst README.rst
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/platformdirs*
|
||||
%{python_sitelib}/platformdirs
|
||||
%{python_sitelib}/platformdirs-%{version}*-info
|
||||
|
||||
%files -n %{name}-doc
|
||||
%doc docs/build/html/
|
||||
|
Loading…
Reference in New Issue
Block a user