commit d862bdfc6b8f498e4e30f20fc17abd3b9660bb5aefcb2df494729e0ab2d9fa48 Author: Tomáš Chvátal Date: Thu Aug 30 09:49:31 2018 +0000 Accepting request 632278 from home:mcalabkova:branches:devel:languages:python:certbot OBS-URL: https://build.opensuse.org/request/show/632278 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudflare?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/cloudflare-2.1.0.tar.gz b/cloudflare-2.1.0.tar.gz new file mode 100644 index 0000000..d76a060 --- /dev/null +++ b/cloudflare-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29ac4abe4451557053d4591f2604426a16f59bacd1740ea85c67d6808150eb1e +size 53351 diff --git a/python-cloudflare.changes b/python-cloudflare.changes new file mode 100644 index 0000000..7abfdd9 --- /dev/null +++ b/python-cloudflare.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Aug 30 09:03:16 UTC 2018 - mcalabkova@suse.com + +- Add the package cloudflare needed by python-certbot subpackage + * there are no tests on upstream diff --git a/python-cloudflare.spec b/python-cloudflare.spec new file mode 100644 index 0000000..599aed2 --- /dev/null +++ b/python-cloudflare.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-cloudflare +# +# Copyright (c) 2018 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-cloudflare +Version: 2.1.0 +Release: 0 +Summary: Python wrapper for the Cloudflare v4 API +License: MIT +Group: Development/Languages/Python +URL: https://github.com/cloudflare/python-cloudflare +Source: https://files.pythonhosted.org/packages/source/c/cloudflare/cloudflare-%{version}.tar.gz +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module future} +BuildRequires: %{python_module jsonlines} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-PyYAML +Requires: python-future +Requires: python-jsonlines +Requires: python-requests +BuildArch: noarch +%python_subpackages + +%description +Python wrapper for the Cloudflare Client API v4. + +%prep +%setup -q -n cloudflare-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.rst +%license LICENSE +%python3_only %{_bindir}/cli4 +%{python_sitelib}/* + +%changelog