forked from pool/python-graphviz
Accepting request 648969 from devel:languages:python
- Update to 0.10.1: * python 3.7 support * Various fixes OBS-URL: https://build.opensuse.org/request/show/648969 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-graphviz?expand=0&rev=3
This commit is contained in:
3
graphviz-0.10.1.zip
Normal file
3
graphviz-0.10.1.zip
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d311be4fddfe832a56986ac5e1d6e8715d7fcb0208560da79d1bb0f72abef41f
|
||||
size 167590
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:606741c028acc54b1a065b33045f8c89ee0927ea77273ec409ac988f2c3d1091
|
||||
size 166880
|
||||
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 14 12:44:07 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.10.1:
|
||||
* python 3.7 support
|
||||
* Various fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 6 17:29:25 UTC 2018 - arun@gmx.de
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user