commit d4407ce4e230c25e71d884c41728ad659bb89f0c6122955de0e3b95663e81116 Author: Matej Cepl Date: Mon Feb 18 14:59:58 2019 +0000 Accepting request 677114 from home:jayvdb:django - Initial spec for v9.3.0 OBS-URL: https://build.opensuse.org/request/show/677114 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dropbox?expand=0&rev=1 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/dropbox-9.3.0.tar.gz b/dropbox-9.3.0.tar.gz new file mode 100644 index 0000000..55f82cb --- /dev/null +++ b/dropbox-9.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a5d1cd71f624a332f1c0c38a0005aa67238f200169a152c169e0f8d5f45c77b2 +size 496627 diff --git a/python-dropbox.changes b/python-dropbox.changes new file mode 100644 index 0000000..b2fed3f --- /dev/null +++ b/python-dropbox.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Feb 16 11:03:48 UTC 2019 - John Vandenberg + +- Initial spec for v9.3.0 diff --git a/python-dropbox.spec b/python-dropbox.spec new file mode 100644 index 0000000..b28918f --- /dev/null +++ b/python-dropbox.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-dropbox +# +# Copyright (c) 2019 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-dropbox +Version: 9.3.0 +Release: 0 +License: MIT +Summary: Official Dropbox API Client +Url: https://github.com/dropbox/dropbox-sdk-python +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/d/dropbox/dropbox-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pytest-runner} +# SECTION test requirements +BuildRequires: %{python_module requests >= 2.16.2} +BuildRequires: %{python_module six >= 1.3.0} +BuildRequires: %{python_module pytest} +# /SECTION +BuildRequires: fdupes +Requires: python-requests >= 2.16.2 +Requires: python-six >= 1.3.0 +BuildArch: noarch + +%python_subpackages + +%description +Official Dropbox API Client + +%prep +%setup -q -n dropbox-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +# Tests require an access token + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog