diff --git a/comps/comps-pulpcore-el10.xml b/comps/comps-pulpcore-el10.xml index 087effe37..82e746460 100644 --- a/comps/comps-pulpcore-el10.xml +++ b/comps/comps-pulpcore-el10.xml @@ -92,6 +92,8 @@ python3.12-django-import-export python3.12-django-lifecycle python3.12-django-readonly-field + python3.12-django-storages + python3.12-django-storages+boto3 python3.12-djangorestframework python3.12-djangorestframework-queryfields python3.12-dnspython diff --git a/comps/comps-pulpcore-el9.xml b/comps/comps-pulpcore-el9.xml index 03ec8d8f4..fb96110f6 100644 --- a/comps/comps-pulpcore-el9.xml +++ b/comps/comps-pulpcore-el9.xml @@ -90,6 +90,8 @@ python3.12-django-import-export python3.12-django-lifecycle python3.12-django-readonly-field + python3.12-django-storages + python3.12-django-storages+boto3 python3.12-djangorestframework python3.12-djangorestframework-queryfields python3.12-dnspython diff --git a/package_manifest.yaml b/package_manifest.yaml index 3c73b32a6..8e399998a 100644 --- a/package_manifest.yaml +++ b/package_manifest.yaml @@ -222,6 +222,7 @@ tier4_packages: python-django-import-export: {} python-django-lifecycle: {} python-django-readonly-field: {} + python-django-storages: {} python-djangorestframework: {} python-djangorestframework-queryfields: {} python-dnspython: {} diff --git a/packages/python-django-storages/python-django-storages.spec b/packages/python-django-storages/python-django-storages.spec new file mode 100644 index 000000000..c8cac5166 --- /dev/null +++ b/packages/python-django-storages/python-django-storages.spec @@ -0,0 +1,108 @@ +%global python3_pkgversion 3.12 +%global __python3 /usr/bin/python3.12 + +%global pypi_name django-storages + +Name: python%{python3_pkgversion}-%{pypi_name} +Version: 1.14.6 +Release: 2%{?dist} +Summary: Storage backends for Django + +License: BSD-3-Clause +URL: https://github.com/jschneier/django-storages +Source0: https://files.pythonhosted.org/packages/source/d/django_storages/django_storages-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-pip +BuildRequires: python%{python3_pkgversion}-setuptools >= 61.2 +BuildRequires: python%{python3_pkgversion}-wheel +BuildRequires: pyproject-rpm-macros + +Requires: python%{python3_pkgversion}-django >= 3.2 + +%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} + +%description +django-storages provides reusable storage backends for Django, including S3 +and S3-compatible object stores when boto3 is installed. + + +%package -n python%{python3_pkgversion}-%{pypi_name}+boto3 +Summary: Metapackage for the django-storages boto3 extra +Requires: python%{python3_pkgversion}-%{pypi_name} = %{version}-%{release} +Requires: python%{python3_pkgversion}-boto3 >= 1.4.4 + +%description -n python%{python3_pkgversion}-%{pypi_name}+boto3 +This metapackage installs the dependencies required by the django-storages +boto3 extra for S3 and S3-compatible object storage. It contains no code. + +%files -n python%{python3_pkgversion}-%{pypi_name}+boto3 +%ghost %{python3_sitelib}/django_storages-%{version}.dist-info/ + + +%prep +set -ex +%autosetup -n django_storages-%{version} + + +%build +set -ex +%pyproject_wheel + + +%install +set -ex +%pyproject_install + + +%files -n python%{python3_pkgversion}-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/storages +%{python3_sitelib}/django_storages-%{version}.dist-info/ + + +%changelog +* Sat Oct 03 2026 Jakub Duchek - 1.14.6-2 +- Restore the package for optional object storage backends +- Add the boto3 extra metapackage for S3-compatible storage + +* Sun Apr 27 2025 Foreman Packaging Automation - 1.14.6-1 +- Update to 1.14.6 + +* Tue Apr 08 2025 Odilon Sousa - 1.14.5-4 +- Add new metapackages for s3, azure and google + +* Mon Apr 07 2025 Odilon Sousa - 1.14.5-3 +- Add obsoletes for python3.11 package + +* Thu Mar 27 2025 Odilon Sousa - 1.14.5-2 +- Rebuild against python3.12 + +* Wed Mar 05 2025 Foreman Packaging Automation - 1.14.5-1 +- Update to 1.14.5 + +* Mon Oct 21 2024 Foreman Packaging Automation - 1.14.4-1 +- Update to 1.14.4 + +* Tue Jan 16 2024 Odilon Sousa - 1.12.3-5 +- Remove SCL bits + +* Tue Nov 21 2023 Patrick Creech - 1.12.3-4 +- Add python39 obsoletes to package + +* Sat Nov 11 2023 Odilon Sousa - 1.12.3-3 +- Build against python 3.11 + +* Fri Apr 22 2022 Yanis Guenane - 1.12.3-2 +- Build against python 3.9 + +* Tue Nov 02 2021 Evgeni Golov - 1.12.3-1 +- Release python-django-storages 1.12.3 + +* Wed Oct 27 2021 Evgeni Golov - 1.11.1-2 +- Rebuild against Python 3.8 + +* Fri Sep 03 2021 Evgeni Golov - 1.11.1-1 +- Initial package.