forked from pool/python-acitoolkit
- Version update to 0.4 release:
* Many various small fixes * Better python3 compatibility - Remove merged acitoolkit-urlparse.patch - Add patch to fix import error under py3: * acitoolkit-urlparse.patch - Fix permissions on the LICENSE file - State group properly OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-acitoolkit?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
f5583cb99c
commit
e2bb616b6b
@@ -19,10 +19,11 @@
|
||||
%global sname acitoolkit
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-acitoolkit
|
||||
Version: 0.3.2
|
||||
Version: 0.4
|
||||
Release: 0
|
||||
Summary: Python library for programming ACI
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: http://github.com/datacenter/acitoolkit
|
||||
Source: https://github.com/datacenter/acitoolkit/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module Flask-Admin}
|
||||
@@ -33,11 +34,14 @@ BuildRequires: %{python_module Flask-WTF}
|
||||
BuildRequires: %{python_module Flask}
|
||||
BuildRequires: %{python_module GitPython}
|
||||
BuildRequires: %{python_module PyMySQL}
|
||||
BuildRequires: %{python_module graphviz}
|
||||
BuildRequires: %{python_module jsonschema}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pbr}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module tabulate}
|
||||
BuildRequires: %{python_module websocket-client}
|
||||
BuildRequires: %{python_module websocket-client > 0.33.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Flask
|
||||
@@ -48,9 +52,11 @@ Requires: python-Flask-SQLAlchemy
|
||||
Requires: python-Flask-WTF
|
||||
Requires: python-GitPython
|
||||
Requires: python-PyMySQL
|
||||
Requires: python-graphviz
|
||||
Requires: python-jsonschema
|
||||
Requires: python-requests
|
||||
Requires: python-tabulate
|
||||
Requires: python-websocket-client
|
||||
Requires: python-websocket-client > 0.33.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -59,6 +65,7 @@ Python Library for configuring APIC Controller.
|
||||
|
||||
%prep
|
||||
%setup -q -n acitoolkit-%{version}
|
||||
chmod -x LICENSE
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -68,7 +75,7 @@ Python Library for configuring APIC Controller.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python tests/acitoolkit_test.py offline
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
||||
Reference in New Issue
Block a user