14
0

- Update to 1.7:

- Drop Python 3.6 support
  - Add Python 3.9 support
  - Require Graphviz 2.42+, (Graphviz 2.46+ recommended)
  - Improve installation process and documentation
  - Switch from nose to pytest
  - Remove old Python 2 code
  - AGraph.eq includes attribute comparison (PR #246)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygraphviz?expand=0&rev=18
This commit is contained in:
2021-10-19 22:20:39 +00:00
committed by Git OBS Bridge
parent a4b0852bdd
commit 79fd3540b2
5 changed files with 43 additions and 41 deletions

View File

@@ -1,13 +1,15 @@
Index: setup.py
===================================================================
--- setup.py.orig
+++ setup.py
@@ -36,7 +36,7 @@
sys.path.pop(0)
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/setup.py
+++ b/setup.py
@@ -54,7 +54,7 @@ with open("pygraphviz/__init__.py") as f
break
packages = ["pygraphviz", "pygraphviz.tests"]
-docdirbase = 'share/doc/pygraphviz-%s' % release.version
+docdirbase = 'share/doc/packages/pygraphviz-%s' % release.version
-docdirbase = f"share/doc/pygraphviz-{version}"
+docdirbase = f"share/doc/packages/pygraphviz-{version}"
data = [
(docdirbase, glob("*.txt")),
(os.path.join(docdirbase, 'examples'), glob("examples/*.py")),
(os.path.join(docdirbase, "examples"), glob("examples/*.py")),