forked from pool/python-minio
- Update to 7.1.16:
* Update deprecated mc admin policy commands * update release references to master in README.md * Fix upload snowball objects with staging file * Add generic AWS S3 domain support * upload_snowball_object(): seek stream to 0 before upload * Revert "list_objecst: fix parsing user metadata as per MinIO server (#1240)" * Disable multipart upload for upload_snowball_objects() api. * Remove locale usage for datetime parsing * fix policy as a string in presigned_post_policy() API * Add cert_check flag to main class constructor - Switch to pyproject and autosetup macros. - Stop using greedy globs in %files. - Clean up unneeded {Build,}Requires. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-minio?expand=0&rev=36
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:230faf1d0db1c3ce09aef86b0eb38e994a64769e34dad4b77febf59bc90d8ab0
|
|
||||||
size 117073
|
|
3
minio-7.1.16.tar.gz
Normal file
3
minio-7.1.16.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:56ecb1e7e0103d2dc212fb460fdb70ab2abb7fa5685db378429325d96d95587a
|
||||||
|
size 120101
|
@@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 1 05:39:18 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 7.1.16:
|
||||||
|
* Update deprecated mc admin policy commands
|
||||||
|
* update release references to master in README.md
|
||||||
|
* Fix upload snowball objects with staging file
|
||||||
|
* Add generic AWS S3 domain support
|
||||||
|
* upload_snowball_object(): seek stream to 0 before upload
|
||||||
|
* Revert "list_objecst: fix parsing user metadata as per
|
||||||
|
MinIO server (#1240)"
|
||||||
|
* Disable multipart upload for upload_snowball_objects() api.
|
||||||
|
* Remove locale usage for datetime parsing
|
||||||
|
* fix policy as a string in presigned_post_policy() API
|
||||||
|
* Add cert_check flag to main class constructor
|
||||||
|
- Switch to pyproject and autosetup macros.
|
||||||
|
- Stop using greedy globs in %files.
|
||||||
|
- Clean up unneeded {Build,}Requires.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 26 19:18:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Sun Mar 26 19:18:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -16,31 +16,24 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-minio
|
Name: python-minio
|
||||||
Version: 7.1.14
|
Version: 7.1.16
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Minio library for Amazon S3 compatible cloud storage
|
Summary: Minio library for Amazon S3 compatible cloud storage
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/minio/minio-py
|
URL: https://github.com/minio/minio-py
|
||||||
Source: https://files.pythonhosted.org/packages/source/m/minio/minio-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/m/minio/minio-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-certifi
|
Requires: python-certifi
|
||||||
Requires: python-future
|
|
||||||
Requires: python-python-dateutil
|
|
||||||
Requires: python-pytz
|
|
||||||
Requires: python-urllib3
|
Requires: python-urllib3
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module Faker}
|
|
||||||
BuildRequires: %{python_module certifi}
|
BuildRequires: %{python_module certifi}
|
||||||
BuildRequires: %{python_module future}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module python-dateutil}
|
|
||||||
BuildRequires: %{python_module pytz}
|
|
||||||
BuildRequires: %{python_module urllib3}
|
BuildRequires: %{python_module urllib3}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -49,26 +42,24 @@ BuildRequires: %{python_module urllib3}
|
|||||||
Minio library for Amazon S3 compatible cloud storage.
|
Minio library for Amazon S3 compatible cloud storage.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n minio-%{version}
|
%autosetup -p1 -n minio-%{version}
|
||||||
%autopatch -p1
|
|
||||||
mv docs/zh_CN/API.md docs/API_zh_CN.md
|
mv docs/zh_CN/API.md docs/API_zh_CN.md
|
||||||
sed -i -e '/configparser/d' setup.py
|
sed -i -e '/configparser/d' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# https://github.com/minio/minio-py/issues/1187
|
|
||||||
sed -i 's:import mock:import unittest.mock as mock:' tests/unit/*.py
|
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README*.md docs/API*.md examples/
|
%doc README*.md docs/API*.md examples/
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/minio
|
||||||
|
%{python_sitelib}/minio-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user