diff --git a/platformdirs-2.2.0.tar.gz b/platformdirs-2.2.0.tar.gz deleted file mode 100644 index 4397adf..0000000 --- a/platformdirs-2.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:632daad3ab546bd8e6af0537d09805cec458dce201bccfe23012df73332e181e -size 21691 diff --git a/platformdirs-2.4.0.tar.gz b/platformdirs-2.4.0.tar.gz new file mode 100644 index 0000000..efd6959 --- /dev/null +++ b/platformdirs-2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:367a5e80b3d04d2428ffa76d33f124cf11e8fff2acdaa9b43d545f5c7d661ef2 +size 24051 diff --git a/python-platformdirs.changes b/python-platformdirs.changes index ba2ba74..0ded214 100644 --- a/python-platformdirs.changes +++ b/python-platformdirs.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Oct 3 19:04:59 UTC 2021 - Ben Greiner + +- 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 diff --git a/python-platformdirs.spec b/python-platformdirs.spec index 4fb7256..1ccde95 100644 --- a/python-platformdirs.spec +++ b/python-platformdirs.spec @@ -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/