From 5ae1b95e2655735e05ba88bb08c04f12059c5328f64dad7748268347b319febb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 30 Apr 2018 10:59:59 +0000 Subject: [PATCH] osc copypac from project:devel:languages:python package:python-requests-aws revision:3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-requests-aws?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + python-requests-aws.changes | 32 ++++++++++++++++++++ python-requests-aws.spec | 60 +++++++++++++++++++++++++++++++++++++ requests-aws-0.1.8.tar.gz | 3 ++ 5 files changed, 119 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-requests-aws.changes create mode 100644 python-requests-aws.spec create mode 100644 requests-aws-0.1.8.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.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 +*.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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-requests-aws.changes b/python-requests-aws.changes new file mode 100644 index 0000000..a052708 --- /dev/null +++ b/python-requests-aws.changes @@ -0,0 +1,32 @@ +------------------------------------------------------------------- +Mon Jul 3 11:46:06 UTC 2017 - tbechtold@suse.com + +- convert to singlespec +- update Source url + +------------------------------------------------------------------- +Thu Nov 12 15:25:55 UTC 2015 - vuntz@suse.com + +- Drop unused README.txt: this is just duplicating documentation + from README.md which is installed in the package. + +------------------------------------------------------------------- +Mon Oct 26 12:21:30 UTC 2015 - mmnelemane@suse.com + +- Updated License field +- Moved Usage instructions to README.txt + +------------------------------------------------------------------- +Mon Oct 26 10:32:59 UTC 2015 - mmnelemane@suse.com + +- Submission for IBS + +------------------------------------------------------------------- +Mon Oct 26 10:29:47 UTC 2015 - mmnelemane@suse.com + +- Added new package requests-aws +- Unit tests are not run as they require internet connection. +- The package is used by openstack components for aws authentication. + - one immediate usage is by ceilometer object-store using rados gateway + - Ceilometer authenticates with RGW using S3Auth provided by this package. + diff --git a/python-requests-aws.spec b/python-requests-aws.spec new file mode 100644 index 0000000..536c756 --- /dev/null +++ b/python-requests-aws.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-requests-aws +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-requests-aws +Version: 0.1.8 +Release: 0 +Summary: AWS authentication for Amazon S3 for the python requests module +License: BSD-3-Clause +Group: Development/Languages/Python +Url: https://github.com/tax/python-requests-aws +Source: https://files.pythonhosted.org/packages/source/r/requests-aws/requests-aws-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +Requires: python-requests >= 2.4.1 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%python_subpackages + +%description +AWS authentication for Amazon S3 for the wonderful [pyhon requests library](http://python-requests.org) + +[![Build Status](https://travis-ci.org/tax/python-requests-aws.svg?branch=master)](https://travis-ci.org/tax/python-requests-aws) + +- Tested with python 2.7 and python 3 +- At the moment only S3 is supported + +%prep +%setup -q -n requests-aws-%{version} + +%build +%python_build + +%install +%python_install + +%files %{python_files} +%defattr(-,root,root,-) +%doc LICENSE.txt README.md +%{python_sitelib}/* + +%changelog diff --git a/requests-aws-0.1.8.tar.gz b/requests-aws-0.1.8.tar.gz new file mode 100644 index 0000000..55ab1a2 --- /dev/null +++ b/requests-aws-0.1.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd2e8386f09d94a84b9cad6e966b21f31493734336a8f47b9b535806949a771f +size 5645