Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
b6ba7e1867 |
BIN
graphviz-0.20.1.zip
(Stored with Git LFS)
Normal file
BIN
graphviz-0.20.1.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
graphviz-0.20.3.zip
(Stored with Git LFS)
BIN
graphviz-0.20.3.zip
(Stored with Git LFS)
Binary file not shown.
@@ -1,20 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu May 23 01:59:56 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
|
||||||
|
|
||||||
- Update to 0.20.3:
|
|
||||||
* Drop Python 3.7 support (end of life 27 Jun 2023).
|
|
||||||
* Tag Python 3.11 and 3.12 support.
|
|
||||||
* Add caveat about labe escaping/quoting to .node() and .render() API docs.
|
|
||||||
* Document that doctest_skip_exe() lines in doctest should be ignored.
|
|
||||||
- Drop patch python312-syntax-warning.patch, no longer required.
|
|
||||||
- Ignore conftest files during collection, due to pytest issue.
|
|
||||||
- Switch to pyproject macros.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Dec 6 22:22:48 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- add python312-syntax-warning.patch for python 3.12 support
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:25:49 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:25:49 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-graphviz
|
# spec file for package python-graphviz
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,18 +18,17 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-graphviz
|
Name: python-graphviz
|
||||||
Version: 0.20.3
|
Version: 0.20.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python interface for Graphviz
|
Summary: Python interface for Graphviz
|
||||||
License: MIT
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/xflr6/graphviz
|
URL: https://github.com/xflr6/graphviz
|
||||||
Source: https://files.pythonhosted.org/packages/source/g/graphviz/graphviz-%{version}.zip
|
Source: https://files.pythonhosted.org/packages/source/g/graphviz/graphviz-%{version}.zip
|
||||||
BuildRequires: %{python_module base >= 3.8}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module pytest >= 6}
|
BuildRequires: %{python_module pytest >= 6}
|
||||||
BuildRequires: %{python_module pytest-mock >= 3}
|
BuildRequires: %{python_module pytest-mock >= 3}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
@@ -57,7 +56,7 @@ inspected with its default application. Graphs can also be rendered and
|
|||||||
displayed within IPython notebooks.
|
displayed within IPython notebooks.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n graphviz-%{version}
|
%autosetup -n graphviz-%{version}
|
||||||
sed -i '/--cov/d' setup.cfg
|
sed -i '/--cov/d' setup.cfg
|
||||||
sed -i '/^mock_use_standalone_module/d' setup.cfg
|
sed -i '/^mock_use_standalone_module/d' setup.cfg
|
||||||
|
|
||||||
@@ -65,20 +64,19 @@ sed -i '/^mock_use_standalone_module/d' setup.cfg
|
|||||||
dos2unix LICENSE.txt README.rst docs/*.rst
|
dos2unix LICENSE.txt README.rst docs/*.rst
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# https://github.com/pytest-dev/pytest/issues/12123
|
%pytest
|
||||||
%pytest --ignore tests/conftest.py --ignore tests/backend/conftest.py
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/graphviz
|
%{python_sitelib}/graphviz
|
||||||
%{python_sitelib}/graphviz-%{version}.dist-info
|
%{python_sitelib}/graphviz-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user