Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions comps/comps-pulpcore-el10.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@
<packagereq type="default">python3.12-django-import-export</packagereq>
<packagereq type="default">python3.12-django-lifecycle</packagereq>
<packagereq type="default">python3.12-django-readonly-field</packagereq>
<packagereq type="default">python3.12-django-storages</packagereq>
<packagereq type="default">python3.12-django-storages+boto3</packagereq>
<packagereq type="default">python3.12-djangorestframework</packagereq>
<packagereq type="default">python3.12-djangorestframework-queryfields</packagereq>
<packagereq type="default">python3.12-dnspython</packagereq>
Expand Down
2 changes: 2 additions & 0 deletions comps/comps-pulpcore-el9.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@
<packagereq type="default">python3.12-django-import-export</packagereq>
<packagereq type="default">python3.12-django-lifecycle</packagereq>
<packagereq type="default">python3.12-django-readonly-field</packagereq>
<packagereq type="default">python3.12-django-storages</packagereq>
<packagereq type="default">python3.12-django-storages+boto3</packagereq>
<packagereq type="default">python3.12-djangorestframework</packagereq>
<packagereq type="default">python3.12-djangorestframework-queryfields</packagereq>
<packagereq type="default">python3.12-dnspython</packagereq>
Expand Down
1 change: 1 addition & 0 deletions package_manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
108 changes: 108 additions & 0 deletions packages/python-django-storages/python-django-storages.spec
Original file line number Diff line number Diff line change
@@ -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
Comment thread
jakduch marked this conversation as resolved.
* Sat Oct 03 2026 Jakub Duchek <jakduch@users.noreply.github.com> - 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 <packaging@theforeman.org> - 1.14.6-1
- Update to 1.14.6

* Tue Apr 08 2025 Odilon Sousa <osousa@redhat.com> - 1.14.5-4
- Add new metapackages for s3, azure and google

* Mon Apr 07 2025 Odilon Sousa <osousa@redhat.com> - 1.14.5-3
- Add obsoletes for python3.11 package

* Thu Mar 27 2025 Odilon Sousa <osousa@redhat.com> - 1.14.5-2
- Rebuild against python3.12

* Wed Mar 05 2025 Foreman Packaging Automation <packaging@theforeman.org> - 1.14.5-1
- Update to 1.14.5

* Mon Oct 21 2024 Foreman Packaging Automation <packaging@theforeman.org> - 1.14.4-1
- Update to 1.14.4

* Tue Jan 16 2024 Odilon Sousa <osousa@redhat.com> - 1.12.3-5
- Remove SCL bits

* Tue Nov 21 2023 Patrick Creech <pcreech@redhat.com> - 1.12.3-4
- Add python39 obsoletes to package

* Sat Nov 11 2023 Odilon Sousa <osousa@redhat.com> - 1.12.3-3
- Build against python 3.11

* Fri Apr 22 2022 Yanis Guenane <yguenane@redhat.com> - 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.