From 43a300c6e4e0a4d7336e68c74117086ed20966471719b474721ec8ab38516522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 14 Nov 2018 12:48:54 +0000 Subject: [PATCH 1/2] - Update to 0.10.1: * python 3.7 support * Various fixes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphviz?expand=0&rev=7 --- graphviz-0.10.1.zip | 3 +++ graphviz-0.8.2.zip | 3 --- python-graphviz.changes | 7 +++++++ python-graphviz.spec | 37 ++++++++++++++++--------------------- 4 files changed, 26 insertions(+), 24 deletions(-) create mode 100644 graphviz-0.10.1.zip delete mode 100644 graphviz-0.8.2.zip 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..e267f1f 100644 --- a/python-graphviz.spec +++ b/python-graphviz.spec @@ -12,37 +12,34 @@ # 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 +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: graphviz # For pdf rendered tests +BuildRequires: dos2unix BuildRequires: graphviz-gnome +BuildRequires: python-rpm-macros +BuildRequires: unzip BuildRequires: w3m -%endif +BuildRequires: xdg-utils Requires: graphviz Recommends: xdg-utils BuildArch: noarch @@ -64,10 +61,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 +73,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 From 5d312fa13516452415d8056709f3b3853fa76d281ed26aa2091326a82d9f1d6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 14 Nov 2018 12:49:24 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphviz?expand=0&rev=8 --- python-graphviz.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-graphviz.spec b/python-graphviz.spec index e267f1f..45a4cd3 100644 --- a/python-graphviz.spec +++ b/python-graphviz.spec @@ -31,10 +31,9 @@ BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: graphviz -# For pdf rendered tests -BuildRequires: dos2unix BuildRequires: graphviz-gnome BuildRequires: python-rpm-macros BuildRequires: unzip