- update to 0.5.9:
* Pin minio client to <7.2.19
- update to 0.5.8:
* Add a py.typed file to expose type annotations
* Add support for text mode file reading
* Allow MinioMediaStorage and MinioStaticStorage options to be
specified
* Fix type checking errors
* Use Ruff for all linting and formatting
* Update supported Python and Django versions
* Update development tooling
* Clarify software license metadata
* Use new STORAGES setting from Django 4.2+
* Allow import of storage classes from the module root
* Ensure the package version can always be determined in CI
- update to 0.5.7:
* enable a bunch of ruff rules
* update minio to 7.1.16
- update to 0.5.6:
* allow minio_kwargs to override values from settings
- update to 0.5.5:
* switch from flake8/isort to ruff
* add MINIO_STORAGE_REGION setting
- update to 0.5.4:
* migrate to pyproject.toml
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-minio-storage?expand=0&rev=21
This commit is contained in:
@@ -0,0 +1,109 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 18 07:27:25 UTC 2026 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.5.9:
|
||||
* Pin minio client to <7.2.19
|
||||
- update to 0.5.8:
|
||||
* Add a py.typed file to expose type annotations
|
||||
* Add support for text mode file reading
|
||||
* Allow MinioMediaStorage and MinioStaticStorage options to be
|
||||
specified
|
||||
* Fix type checking errors
|
||||
* Use Ruff for all linting and formatting
|
||||
* Update supported Python and Django versions
|
||||
* Update development tooling
|
||||
* Clarify software license metadata
|
||||
* Use new STORAGES setting from Django 4.2+
|
||||
* Allow import of storage classes from the module root
|
||||
* Ensure the package version can always be determined in CI
|
||||
- update to 0.5.7:
|
||||
* enable a bunch of ruff rules
|
||||
* update minio to 7.1.16
|
||||
- update to 0.5.6:
|
||||
* allow minio_kwargs to override values from settings
|
||||
- update to 0.5.5:
|
||||
* switch from flake8/isort to ruff
|
||||
* add MINIO_STORAGE_REGION setting
|
||||
- update to 0.5.4:
|
||||
* migrate to pyproject.toml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 3 06:58:26 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
- No more greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 28 05:44:54 UTC 2024 - Max Lin <mlin@suse.com>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 18 08:07:30 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.5.3:
|
||||
* This is an package metadata only update.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 7 18:53:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.5.2:
|
||||
* Add/fix more type hints.
|
||||
* Fix type hints
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 23 20:15:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.5.0:
|
||||
* Switched the minio-py client library version from `<7` to
|
||||
`>=7`.
|
||||
* Minimum Django version is now 3.2
|
||||
* Minimum Python version is now 3.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 22 01:55:23 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Fix disabled test invocation
|
||||
- Update to v0.3.10
|
||||
* Pin minio version to < 7
|
||||
- from v0.3.9
|
||||
* The minio client is now deconstructable by Django, fixes migrations.
|
||||
- from v0.3.8
|
||||
* Improved presigned urls with non standard base urls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 5 07:50:49 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.3.7:
|
||||
* Removed accidentally left over debug print from previous release
|
||||
- from v0.3.6
|
||||
* support adding default meta data
|
||||
* Also new settings: MINIO_STORAGE_MEDIA_OBJECT_METADATA and
|
||||
MINIO_STORAGE_STATIC_OBJECT_METADATA
|
||||
* fix issue with directory listing names
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 9 08:37:15 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.3.5:
|
||||
* Added settings MINIO_STORAGE_ASSUME_MEDIA_BUCKET_EXISTS and
|
||||
MINIO_STORAGE_ASSUME_STATIC_BUCKET_EXISTS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 30 11:59:10 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.3.4:
|
||||
* Commandline interface redesign
|
||||
* Update for new django releases
|
||||
* Various test fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 05:17:16 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Activate test suite, disabled by default with bcond test as
|
||||
it depends on minio, not yet accepted into openSUSE.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 16 16:01:34 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for v0.2.2
|
||||
@@ -0,0 +1,81 @@
|
||||
#
|
||||
# spec file for package python-django-minio-storage
|
||||
#
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%bcond_with test
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-django-minio-storage
|
||||
Version: 0.5.9
|
||||
Release: 0
|
||||
Summary: Django file storage using minio
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/py-pa/django-minio-storage
|
||||
Source: https://files.pythonhosted.org/packages/source/d/django-minio-storage/django_minio_storage-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Django >= 1.11
|
||||
Requires: python-minio >= 7
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Django >= 1.11}
|
||||
BuildRequires: %{python_module freezegun}
|
||||
BuildRequires: %{python_module minio >= 7}
|
||||
BuildRequires: %{python_module pytest-django >= 3.5.1}
|
||||
BuildRequires: %{python_module pytest-pythonpath}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: minio
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Django file storage using the minio python client.
|
||||
|
||||
%prep
|
||||
%setup -q -n django_minio_storage-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
export MINIO_ACCESS_KEY=weak_access_key
|
||||
export MINIO_SECRET_KEY=weak_secret_key
|
||||
rm -rf $HOME/minio_export
|
||||
mkdir $HOME/minio_export
|
||||
/usr/sbin/minio server $HOME/minio_export &
|
||||
|
||||
export MINIO_STORAGE_ENDPOINT=localhost:9000
|
||||
export MINIO_STORAGE_ACCESS_KEY=$MINIO_ACCESS_KEY
|
||||
export MINIO_STORAGE_SECRET_KEY=$MINIO_SECRET_KEY
|
||||
%pytest -rs
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md docs/usage.md
|
||||
%license LICENSE-APACHE
|
||||
%{python_sitelib}/minio_storage
|
||||
%{python_sitelib}/django_minio_storage-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
@@ -0,0 +1,24 @@
|
||||
*.changes merge=merge-changes
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
@@ -0,0 +1,4 @@
|
||||
*.obscpio
|
||||
*.osc
|
||||
_build.*
|
||||
.pbuild
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0580adeed2a2e5bbcf6e59aa73a7dd61bd60c42159f8d285ce52bbbc46d6a4a8
|
||||
size 115457
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:86f823690ed18049b2dae6450498caf86215f3d44f85e0264094968ee1ad7af4
|
||||
size 118486
|
||||
Reference in New Issue
Block a user