forked from pool/python-minio
- Update to 7.1.0:
* EventIterable: use looping instead of tail recursion in next() (#1126) (07/07/21) (Bala FA) * list_objects(): add url encoding type support. (#1107) (06/29/21) (Bala FA) * listen_bucket_notification(): return EventIterable object as controlled iterator. (#1118) (06/25/21) (Bala FA) * allow setting custom environment variables for mc admin subprocess (#1100) (05/24/21) (cbows) * fix error when mc admin response has a trailing newline (#1099) (05/24/21) (cbows) * Bucket: add string representation and equality method (#1095) (05/24/21) (Bahram Aghaei) * list_objects(): identify delete marker generically (#1106) (05/24/21) (Bala FA) * make_bucket: use region passed via constructor (#1103) (03/29/21) (Bala FA) * Optimize logic of read_part_data() (#1085) (02/21/21) (Bala FA) * Fix divided by zero error at part info computation. (#1083) (02/18/21) (Bala FA) * Convert timedelta.total_seconds() to integer in credential providers. (#1081) (02/12/21) (Brian Thorne) * fix data argument description of put_object() API (#1071) (01/29/21) (Bala FA) * fix getbytes() usage in make_bucket() API (#1073) (01/29/21) (Bala FA) * fix Retention properties usage (#1066) (01/27/21) (Bala FA) * fix Tagging.tags usage properly (#1061) (01/27/21) (Bala FA) * Add default 5 minutes timeout to default http client (#1069) (01/25/21) (Bala FA) * Enhance HTTP trace (#1056) (01/09/21) (Bala FA) * Allow empty prefix in Filter (#1053) (01/05/21) (Bala FA) * fix: bring back previous change to functional test script (#1045) (12/10/20) (Harshavardhana) * Remove configparser as dependency (#1046) (12/10/20) (Bala FA) * Python2 support has been removed. * Added support for S3 APIs related to object locking and versioning, tagging. * Added support for compose object. * fix: running functional tests issues (12/08/20) (Minio Trusted) * Enhance put_object() API to support more parameters (#1022) (12/04/20) (Bala FA) * Rename presigned_url() to get_presigned_url() (#1032) (12/03/20) (Bala FA) * Refactor PostPolicy implementation (#1023) (12/01/20) (Bala FA) * fix: allow tests to run properly on gateway setups (#1034) (11/28/20) (Harshavardhana) * error.code() is a property not function (11/28/20) (Harshavardhana) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-minio?expand=0&rev=22
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-minio
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,15 +19,13 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-minio
|
||||
Version: 6.0.0
|
||||
Version: 7.1.0
|
||||
Release: 0
|
||||
Summary: Minio library for Amazon S3 compatible cloud storage
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/minio/minio-py
|
||||
Source: https://files.pythonhosted.org/packages/source/m/minio/minio-%{version}.tar.gz
|
||||
# https://github.com/minio/minio-py/issues/961
|
||||
Source1: https://raw.githubusercontent.com/minio/minio-py/master/tests/unit/config.json.sample
|
||||
Source2: https://raw.githubusercontent.com/minio/minio-py/master/tests/unit/credentials.sample
|
||||
Patch0: remove-nose.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -42,7 +40,6 @@ BuildRequires: %{python_module Faker}
|
||||
BuildRequires: %{python_module certifi}
|
||||
BuildRequires: %{python_module future}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
BuildRequires: %{python_module pytz}
|
||||
@@ -55,6 +52,7 @@ Minio library for Amazon S3 compatible cloud storage.
|
||||
|
||||
%prep
|
||||
%setup -q -n minio-%{version}
|
||||
%autopatch -p1
|
||||
mv docs/zh_CN/API.md docs/API_zh_CN.md
|
||||
sed -i -e '/configparser/d' setup.py
|
||||
|
||||
@@ -66,7 +64,6 @@ sed -i -e '/configparser/d' setup.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
cp %{SOURCE1} %{SOURCE2} tests/unit
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
|
Reference in New Issue
Block a user