15
0

Accepting request 820638 from home:mcalabkova:branches:devel:languages:python

- Update install requirements

OBS-URL: https://build.opensuse.org/request/show/820638
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudflare?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal
2020-07-13 09:23:07 +00:00
committed by Git OBS Bridge
parent af2ffb79c7
commit eea71be4c3
2 changed files with 12 additions and 2 deletions

View File

@@ -26,16 +26,18 @@ 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 beautifulsoup4}
BuildRequires: %{python_module future}
BuildRequires: %{python_module jsonlines}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module requests >= 2.4.2}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML
Requires: python-beautifulsoup4
Requires: python-future
Requires: python-jsonlines
Requires: python-requests
Requires: python-requests >= 2.4.2
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
@@ -61,6 +63,9 @@ rm -rf %{buildroot}/usr/man
%python_expand rm -rf %{buildroot}%{$python_sitelib}/examples
%python_expand %fdupes %{buildroot}%{$python_sitelib}
#%%check
# there is one test, but even upstream does not launch it
%post
%python_install_alternative cli4 cli4.1