From e2bb616b6bbec8d538a6327706c9f676333c394490140f7ff4091ff4caebcf53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 31 Oct 2018 12:23:54 +0000 Subject: [PATCH] - 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 --- python-acitoolkit.changes | 16 ++++++++++++++++ python-acitoolkit.spec | 15 +++++++++++---- v0.3.2.tar.gz | 3 --- v0.4.tar.gz | 3 +++ 4 files changed, 30 insertions(+), 7 deletions(-) delete mode 100644 v0.3.2.tar.gz create mode 100644 v0.4.tar.gz diff --git a/python-acitoolkit.changes b/python-acitoolkit.changes index c80fc62..1e40b73 100644 --- a/python-acitoolkit.changes +++ b/python-acitoolkit.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Oct 31 12:19:17 UTC 2018 - Tomáš Chvátal + +- Version update to 0.4 release: + * Many various small fixes + * Better python3 compatibility +- Remove merged acitoolkit-urlparse.patch + +------------------------------------------------------------------- +Wed Oct 31 12:10:17 UTC 2018 - Tomáš Chvátal + +- Add patch to fix import error under py3: + * acitoolkit-urlparse.patch +- Fix permissions on the LICENSE file +- State group properly + ------------------------------------------------------------------- Tue Oct 30 10:55:38 UTC 2018 - Tomáš Chvátal diff --git a/python-acitoolkit.spec b/python-acitoolkit.spec index 24391fe..7081046 100644 --- a/python-acitoolkit.spec +++ b/python-acitoolkit.spec @@ -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 diff --git a/v0.3.2.tar.gz b/v0.3.2.tar.gz deleted file mode 100644 index 30437a6..0000000 --- a/v0.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0617aade43ce1bcedb3c6e4a464967c60d97423a0dfd7c29503b7e5806c8eaac -size 3040038 diff --git a/v0.4.tar.gz b/v0.4.tar.gz new file mode 100644 index 0000000..eef2e06 --- /dev/null +++ b/v0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:504cdced7b1d334c4d9ced58cdcc3705f93bd04adf4917aae6b918bf06165272 +size 4351036