Update to 2.5.4 (requires hatchling >=1.11.1)

epel9 imports/e9/python-platformdirs-2.5.4-1.el9
Benjamin A. Beasley 1 year ago
parent d2d93124a0
commit 38efe9fdc2

@ -6,7 +6,7 @@ A small Python module for determining appropriate platform-specific dirs, e.g.
a "user data dir".}
Name: python-%{srcname}
Version: 2.5.2
Version: 2.5.4
Release: 1%{?dist}
Summary: Python module for determining appropriate platform-specific dirs
License: MIT
@ -34,9 +34,12 @@ BuildRequires: pyproject-rpm-macros >= 1.2.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
sed -r -i '/^[[:blank:]]*"pytest-cov\b/d' pyproject.toml
# Work with the test dependency versions we have in EPEL9:
sed -r -i 's/^([[:blank:]]*"(pytest.*|appdirs))[>~=]=.*"/\1"/' pyproject.toml
%generate_buildrequires
%pyproject_buildrequires -w %{?with_tests:-x test}
%pyproject_buildrequires %{?with_tests:-x test}
%build
@ -59,11 +62,13 @@ sed -r -i '/^[[:blank:]]*"pytest-cov\b/d' pyproject.toml
%files -n python3-%{srcname} -f %{pyproject_files}
%license LICENSE.txt
%doc README.rst CHANGES.rst
%changelog
* Wed Aug 02 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 2.5.4-1
- Update to 2.5.4 (requires hatchling >=1.11.1)
* Thu Apr 21 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 2.5.2-1
- Update to 2.5.2; accommodate upstreams switch to hatchling build backend
- Add a build conditional for the tests

@ -1 +1 @@
SHA512 (platformdirs-2.5.2.tar.gz) = b0b0dee3ac4176e64f302b3d34e253b2e33784160051b9dafb563962e597df75f2c9f714c050d5bdeb1769a1f56c2878a47e9a42361596e287ae7b2afe870370
SHA512 (platformdirs-2.5.4.tar.gz) = 1b7ff79a421bc0b0320a9b1ba8f99dbbecd34a9bea7fa7696b58007f2e05d8a910a3f32e2c03e6e3a8f3d272ab1c045051a682e3155c5bc5285e66e4add59489

Loading…
Cancel
Save