diff --git a/graphviz-0.6.zip b/graphviz-0.6.zip deleted file mode 100644 index 31ae0f3..0000000 --- a/graphviz-0.6.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b4be2b3438971588dc306116658f475916755ad8fcc0618e79023846ce94f97b -size 73045 diff --git a/graphviz-0.8.1.zip b/graphviz-0.8.1.zip new file mode 100644 index 0000000..7d0eb5d --- /dev/null +++ b/graphviz-0.8.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6bffbec8b7a0619fe745515039d0d6bb41b6632f3dee02bcd2601581abc63f03 +size 163118 diff --git a/python-graphviz.changes b/python-graphviz.changes index b3ddded..c6afaab 100644 --- a/python-graphviz.changes +++ b/python-graphviz.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Nov 15 12:53:33 UTC 2017 - mimi.vx@gmail.com + +- update to 0.8.1 +* please see long list of changes in + https://github.com/xflr6/graphviz/blob/d7149d507ea6c345ac20f5d6d7e14bc3f162114c/CHANGES + ------------------------------------------------------------------- Fri Apr 14 21:09:02 UTC 2017 - toddrme2178@gmail.com diff --git a/python-graphviz.spec b/python-graphviz.spec index 89a3135..b318732 100644 --- a/python-graphviz.spec +++ b/python-graphviz.spec @@ -1,7 +1,7 @@ # # spec file for package python-graphviz # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -13,33 +13,35 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without tests Name: python-graphviz -Version: 0.6 +Version: 0.8.1 Release: 0 -License: MIT Summary: Simple Python interface for Graphviz -Url: http://github.com/xflr6/graphviz +License: MIT Group: Development/Languages/Python +Url: http://github.com/xflr6/graphviz Source: https://files.pythonhosted.org/packages/source/g/graphviz/graphviz-%{version}.zip +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: graphviz BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: unzip %if %{with tests} # Test requirements -BuildRequires: %{python_module coverage} -BuildRequires: %{python_module nose} -BuildRequires: python2-unittest2 +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest} BuildRequires: xdg-utils # For pdf rendered tests -BuildRequires: w3m BuildRequires: graphviz-gnome +BuildRequires: w3m %endif Requires: graphviz Recommends: xdg-utils @@ -76,7 +78,7 @@ sed -i 's/\r$//' docs/*.rst %if %{with tests} %check -%python_expand nosetests-%{$python_bin_suffix} +%python_expand pytest-%{$python_bin_suffix} %endif %files %{python_files}