From dac5683d344ed244a1a2d59928b44b18974d5551 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 26 Nov 2024 18:51:38 +0300 Subject: [PATCH] import python-appdirs-1.4.4-14.el10 --- .gitignore | 1 + .python-appdirs.metadata | 1 + SPECS/python-appdirs.spec | 178 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 180 insertions(+) create mode 100644 .gitignore create mode 100644 .python-appdirs.metadata create mode 100644 SPECS/python-appdirs.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9bd898c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/appdirs-1.4.4.tar.gz diff --git a/.python-appdirs.metadata b/.python-appdirs.metadata new file mode 100644 index 0000000..df92ccb --- /dev/null +++ b/.python-appdirs.metadata @@ -0,0 +1 @@ +1fa04e44b1084338cb7b21e9cf44fce5efb81840 SOURCES/appdirs-1.4.4.tar.gz diff --git a/SPECS/python-appdirs.spec b/SPECS/python-appdirs.spec new file mode 100644 index 0000000..d407b7a --- /dev/null +++ b/SPECS/python-appdirs.spec @@ -0,0 +1,178 @@ +Name: python-appdirs +Version: 1.4.4 +Release: 14%{?dist} +Summary: Python module for determining platform-specific directories + +# https://spdx.org/licenses/MIT.html +License: MIT +URL: https://github.com/ActiveState/appdirs +Source: %{pypi_source appdirs} + +BuildArch: noarch + +BuildRequires: python3-devel + +%description +A small Python module for determining appropriate " + " platform-specific +directories, e.g. a "user data dir". + + +%package -n python3-appdirs +Summary: %{summary} + +%description -n python3-appdirs +A small Python 3 module for determining appropriate " + " platform-specific +directories, e.g. a "user data dir". + + +%prep +%autosetup -n appdirs-%{version} +sed -i -e '1{\@^#!/usr/bin/env python@d}' appdirs.py + + +%generate_buildrequires +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files appdirs + + +%check +# upstream's tox.ini just wraps this command with no extra deps +# we don't use %%tox here to avoid a dependency loop: tox->platformdirs->appdirs +%{python3} setup.py test + + +%files -n python3-appdirs -f %{pyproject_files} +%doc README.rst CHANGES.rst + + +%changelog +* Tue Nov 26 2024 MSVSphere Packaging Team - 1.4.4-14 +- Rebuilt for MSVSphere 10 + +* Mon Jun 24 2024 Troy Dawson - 1.4.4-14 +- Bump release for June 2024 mass rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 1.4.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 1.4.4-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.4.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jul 07 2023 Parag Nemade - 1.4.4-10 +- Help msuchy to count this package as already using SPDX license expression + +* Tue Jun 13 2023 Python Maint - 1.4.4-9 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.4.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 1.4.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 1.4.4-6 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.4.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.4.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jun 02 2021 Python Maint - 1.4.4-3 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.4.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Sep 10 2020 Yatin Karel - 1.4.4-1 +- Update to 1.4.4 (#1834175) + +* Tue Jul 28 2020 Fedora Release Engineering - 1.4.3-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun May 24 2020 Miro Hrončok - 1.4.3-14 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.4.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Sep 09 2019 Miro Hrončok - 1.4.3-12 +- Subpackage python2-appdirs has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Mon Sep 02 2019 Miro Hrončok - 1.4.3-11 +- Reduce Python 2 build time dependencies + +* Sat Aug 17 2019 Miro Hrončok - 1.4.3-10 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.4.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1.4.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Aug 12 2018 Igor Gnatenko - 1.4.3-7 +- Get python2 package back + +* Sun Aug 12 2018 Igor Gnatenko - 1.4.3-6 +- Drop python2 subpackage + +* Fri Jul 13 2018 Fedora Release Engineering - 1.4.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 1.4.3-4 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 1.4.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.4.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jul 23 2017 Igor Gnatenko - 1.4.3-1 +- Update to 1.4.3 + +* Mon Feb 13 2017 Charalampos Stratakis - 1.4.0-10 +- Rebuild as wheel + +* Sat Feb 11 2017 Fedora Release Engineering - 1.4.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 1.4.0-8 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 1.4.0-7 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 1.4.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 1.4.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Wed Aug 05 2015 Igor Gnatenko - 1.4.0-4 +- Update to new packaging guidelines + +* Sun Aug 02 2015 Igor Gnatenko - 1.4.0-3 +- Use modern python rpm macros + +* Mon Jul 27 2015 Igor Gnatenko - 1.4.0-2 +- Include CHANGES.rst in doc +- use python2-devel in BR instead of python-devel +- run tests + +* Fri May 08 2015 Igor Gnatenko - 1.4.0-1 +- Initial package