diff --git a/graphviz-0.10.1.zip b/graphviz-0.10.1.zip new file mode 100644 index 0000000..f94fabb --- /dev/null +++ b/graphviz-0.10.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d311be4fddfe832a56986ac5e1d6e8715d7fcb0208560da79d1bb0f72abef41f +size 167590 diff --git a/graphviz-0.8.2.zip b/graphviz-0.8.2.zip deleted file mode 100644 index ff3c016..0000000 --- a/graphviz-0.8.2.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:606741c028acc54b1a065b33045f8c89ee0927ea77273ec409ac988f2c3d1091 -size 166880 diff --git a/python-graphviz.changes b/python-graphviz.changes index b8718d6..167f887 100644 --- a/python-graphviz.changes +++ b/python-graphviz.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Nov 14 12:44:07 UTC 2018 - Tomáš Chvátal + +- Update to 0.10.1: + * python 3.7 support + * Various fixes + ------------------------------------------------------------------- Sat Jan 6 17:29:25 UTC 2018 - arun@gmx.de diff --git a/python-graphviz.spec b/python-graphviz.spec index 6619081..45a4cd3 100644 --- a/python-graphviz.spec +++ b/python-graphviz.spec @@ -12,37 +12,33 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without tests Name: python-graphviz -Version: 0.8.2 +Version: 0.10.1 Release: 0 Summary: Python interface for Graphviz License: MIT Group: Development/Languages/Python -Url: http://github.com/xflr6/graphviz +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: unzip -%if %{with tests} -# Test requirements 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: %{python_module setuptools} +BuildRequires: dos2unix +BuildRequires: fdupes +BuildRequires: graphviz BuildRequires: graphviz-gnome +BuildRequires: python-rpm-macros +BuildRequires: unzip BuildRequires: w3m -%endif +BuildRequires: xdg-utils Requires: graphviz Recommends: xdg-utils BuildArch: noarch @@ -64,10 +60,10 @@ displayed within IPython notebooks. %setup -q -n graphviz-%{version} # Fix wrong-file-end-of-line-encoding -sed -i 's/\r$//' CHANGES -sed -i 's/\r$//' LICENSE -sed -i 's/\r$//' README.rst -sed -i 's/\r$//' docs/*.rst +dos2unix CHANGES.txt LICENSE.txt README.rst docs/*.rst + +# Remove hardcoded pytest version +sed -i -e '/minversion/d' setup.cfg %build %python_build @@ -76,14 +72,12 @@ sed -i 's/\r$//' docs/*.rst %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with tests} %check %python_expand pytest-%{$python_bin_suffix} -%endif %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES LICENSE README.rst +%license LICENSE.txt +%doc CHANGES.txt README.rst %{python_sitelib}/* %changelog