commit python-pygraphviz for openSUSE:Factory

2020-09-28 Thread root
Hello community,

here is the log from the commit of package python-pygraphviz for 
openSUSE:Factory checked in at 2020-09-28 14:29:58

Comparing /work/SRC/openSUSE:Factory/python-pygraphviz (Old)
 and  /work/SRC/openSUSE:Factory/.python-pygraphviz.new.4249 (New)


Package is "python-pygraphviz"

Mon Sep 28 14:29:58 2020 rev:7 rq:838243 version:1.6

Changes:

--- /work/SRC/openSUSE:Factory/python-pygraphviz/python-pygraphviz.changes  
2019-05-16 22:06:06.002505899 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pygraphviz.new.4249/python-pygraphviz.changes
2020-09-28 14:30:51.914241342 +0200
@@ -1,0 +2,8 @@
+Mon Sep 28 11:16:38 UTC 2020 - Dirk Mueller 
+
+- update to 1.6:
+ - Add Python 3.8 support
+ - Drop Python 2.7 support
+ - Update to SWIG 4.0.1
+
+---

Old:

  pygraphviz-1.5.zip

New:

  pygraphviz-1.6.zip



Other differences:
--
++ python-pygraphviz.spec ++
--- /var/tmp/diff_new_pack.ry3H79/_old  2020-09-28 14:30:52.586241925 +0200
+++ /var/tmp/diff_new_pack.ry3H79/_new  2020-09-28 14:30:52.594241932 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pygraphviz
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,10 +19,11 @@
 %bcond_without tests
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%global skip_python2 1
 Name:   python-pygraphviz
-Version:1.5
+Version:1.6
 Release:0
-Url:http://networkx.lanl.gov/pygraphviz
+URL:http://networkx.lanl.gov/pygraphviz
 Summary:Python interface to Graphviz
 License:BSD-3-Clause
 Group:  Development/Languages/Python
@@ -88,14 +89,13 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE README.rst
+%license LICENSE
+%doc README.rst
 %{python_sitearch}/pygraphviz/
 %{python_sitearch}/pygraphviz-%{version}-py*.egg-info
 
 %files -n %{name}-doc
-%defattr(-,root,root,-)
-%doc LICENSE
+%license LICENSE
 %{_docdir}/pygraphviz-%{version}
 
 %changelog




commit python-pygraphviz for openSUSE:Factory

2019-05-16 Thread root
Hello community,

here is the log from the commit of package python-pygraphviz for 
openSUSE:Factory checked in at 2019-05-16 22:06:02

Comparing /work/SRC/openSUSE:Factory/python-pygraphviz (Old)
 and  /work/SRC/openSUSE:Factory/.python-pygraphviz.new.5148 (New)


Package is "python-pygraphviz"

Thu May 16 22:06:02 2019 rev:6 rq:702872 version:1.5

Changes:

--- /work/SRC/openSUSE:Factory/python-pygraphviz/python-pygraphviz.changes  
2017-08-13 14:59:53.826836363 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pygraphviz.new.5148/python-pygraphviz.changes
2019-05-16 22:06:06.002505899 +0200
@@ -1,0 +2,6 @@
+Tue May 14 14:40:16 UTC 2019 - Marketa Calabkova 
+
+- Update to 1.5
+  * Python 3.7 support
+
+---

Old:

  pygraphviz-1.4rc1.tar.gz

New:

  pygraphviz-1.5.zip



Other differences:
--
++ python-pygraphviz.spec ++
--- /var/tmp/diff_new_pack.YA6nvp/_old  2019-05-16 22:06:06.634505273 +0200
+++ /var/tmp/diff_new_pack.YA6nvp/_new  2019-05-16 22:06:06.638505270 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pygraphviz
 #
-# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -20,26 +20,27 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pygraphviz
-Version:1.4rc1
+Version:1.5
 Release:0
 Url:http://networkx.lanl.gov/pygraphviz
 Summary:Python interface to Graphviz
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Source: 
https://files.pythonhosted.org/packages/source/p/pygraphviz/pygraphviz-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/p/pygraphviz/pygraphviz-%{version}.zip
 # PATCH-FIX-UPSTREAM docdir.patch
 Patch:  docdir.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  graphviz-devel >= 2.16
 BuildRequires:  pkg-config
-BuildRequires:  swig
-BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  swig
+BuildRequires:  unzip
 # Needed even without tests
-BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module mock >= 2.0.0}
+BuildRequires:  %{python_module nose >= 1.3.7}
 Requires:   graphviz >= 2.16
 %python_subpackages
 




commit python-pygraphviz for openSUSE:Factory

2017-08-13 Thread root
Hello community,

here is the log from the commit of package python-pygraphviz for 
openSUSE:Factory checked in at 2017-08-13 14:59:45

Comparing /work/SRC/openSUSE:Factory/python-pygraphviz (Old)
 and  /work/SRC/openSUSE:Factory/.python-pygraphviz.new (New)


Package is "python-pygraphviz"

Sun Aug 13 14:59:45 2017 rev:5 rq:516126 version:1.4rc1

Changes:

--- /work/SRC/openSUSE:Factory/python-pygraphviz/python-pygraphviz.changes  
2017-06-12 15:28:10.356401625 +0200
+++ /work/SRC/openSUSE:Factory/.python-pygraphviz.new/python-pygraphviz.changes 
2017-08-13 14:59:53.826836363 +0200
@@ -1,0 +2,5 @@
+Sun Aug  6 04:42:26 UTC 2017 - toddrme2...@gmail.com
+
+- Fix shebangs
+
+---



Other differences:
--
++ python-pygraphviz.spec ++
--- /var/tmp/diff_new_pack.xj9f7H/_old  2017-08-13 14:59:56.134512492 +0200
+++ /var/tmp/diff_new_pack.xj9f7H/_new  2017-08-13 14:59:56.162508563 +0200
@@ -38,6 +38,7 @@
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 # Needed even without tests
+BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nose}
 Requires:   graphviz >= 2.16
 %python_subpackages
@@ -64,8 +65,17 @@
 %install
 export CFLAGS="%{optflags}"
 %python_exec setup.py install -O1 --force --root %{buildroot} --prefix 
%{_prefix} --include-path %{_includedir}/graphviz/ --library-path 
%{_libdir}/graphviz/
-%python_expand %fdupes %{buildroot}%{$python_sitearch}
-%python_expand chmod +x 
%{buildroot}%{$python_sitearch}/pygraphviz/tests/test.py
+
+%{python_expand pushd %{buildroot}%{$python_sitearch}
+# Fix wrong-script-interpreter
+sed -i "s|#!/usr/bin/env python|#!%__$python|" pygraphviz/tests/test.py
+chmod a+x pygraphviz/tests/test.py
+# Deduplicating files can generate a RPMLINT warning for pyc mtime
+$python -m compileall -d %{$python_sitearch} pygraphviz/tests/
+$python -O -m compileall -d %{$python_sitearch} pygraphviz/tests/
+%fdupes .
+popd
+}
 
 %if %{with tests}
 %check




commit python-pygraphviz for openSUSE:Factory

2017-06-12 Thread root
Hello community,

here is the log from the commit of package python-pygraphviz for 
openSUSE:Factory checked in at 2017-06-12 15:28:09

Comparing /work/SRC/openSUSE:Factory/python-pygraphviz (Old)
 and  /work/SRC/openSUSE:Factory/.python-pygraphviz.new (New)


Package is "python-pygraphviz"

Mon Jun 12 15:28:09 2017 rev:4 rq:497925 version:1.4rc1

Changes:

--- /work/SRC/openSUSE:Factory/python-pygraphviz/python-pygraphviz.changes  
2016-06-19 10:49:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pygraphviz.new/python-pygraphviz.changes 
2017-06-12 15:28:10.356401625 +0200
@@ -1,0 +2,8 @@
+Wed May 17 21:43:00 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version
+- Fix source URL
+- Update to version 1.4rc1
+  * No upstream changelog
+
+---

Old:

  pygraphviz-1.3.1.tar.gz

New:

  pygraphviz-1.4rc1.tar.gz



Other differences:
--
++ python-pygraphviz.spec ++
--- /var/tmp/diff_new_pack.0Dclmw/_old  2017-06-12 15:28:11.180285432 +0200
+++ /var/tmp/diff_new_pack.0Dclmw/_new  2017-06-12 15:28:11.184284868 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pygraphviz
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,52 +16,75 @@
 #
 
 
+%bcond_without tests
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pygraphviz
-Version:1.3.1
+Version:1.4rc1
 Release:0
 Url:http://networkx.lanl.gov/pygraphviz
 Summary:Python interface to Graphviz
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Source: 
https://pypi.python.org/packages/source/p/pygraphviz/pygraphviz-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/p/pygraphviz/pygraphviz-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM docdir.patch
 Patch:  docdir.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  graphviz-devel >= 2.16
 BuildRequires:  pkg-config
-BuildRequires:  python-nose
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  swig
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+# Needed even without tests
+BuildRequires:  %{python_module nose}
 Requires:   graphviz >= 2.16
-%if 0%{?suse_version} <= 1110
-%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-%endif
+%python_subpackages
 
 %description
 A Python wrapper for the Graphviz Agraph data structure.
 PyGraphviz can be used to create and draw networks and graphs with Graphviz.
 
+%package -n %{name}-doc
+Summary:Documentation for %{name}
+Group:  Documentation/Other
+Provides:   %{python_module pygraphviz-doc = %{version}}
+
+%description -n %{name}-doc
+This package provides documentation and help files for %{name}
+
 %prep
 %setup -q -n pygraphviz-%{version}
 %patch
 
 %build
-CFLAGS="%{optflags}" python setup.py build
+# Need command-line flags only available in install
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-chmod +x %{buildroot}%{python_sitearch}/pygraphviz/tests/test.py
+export CFLAGS="%{optflags}"
+%python_exec setup.py install -O1 --force --root %{buildroot} --prefix 
%{_prefix} --include-path %{_includedir}/graphviz/ --library-path 
%{_libdir}/graphviz/
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%python_expand chmod +x 
%{buildroot}%{$python_sitearch}/pygraphviz/tests/test.py
 
+%if %{with tests}
 %check
 pushd examples
-PYTHONPATH=%{buildroot}%{python_sitearch} python -c "import 
pygraphviz;pygraphviz.test()"
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
+$python -c "import pygraphviz;pygraphviz.test()"
+}
 popd
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc LICENSE README.rst
-%{_docdir}/pygraphviz-%{version}
 %{python_sitearch}/pygraphviz/
 %{python_sitearch}/pygraphviz-%{version}-py*.egg-info
 
+%files -n %{name}-doc
+%defattr(-,root,root,-)
+%doc LICENSE
+%{_docdir}/pygraphviz-%{version}
+
 %changelog




commit python-pygraphviz for openSUSE:Factory

2016-06-19 Thread h_root
Hello community,

here is the log from the commit of package python-pygraphviz for 
openSUSE:Factory checked in at 2016-06-19 10:49:31

Comparing /work/SRC/openSUSE:Factory/python-pygraphviz (Old)
 and  /work/SRC/openSUSE:Factory/.python-pygraphviz.new (New)


Package is "python-pygraphviz"

Changes:

--- /work/SRC/openSUSE:Factory/python-pygraphviz/python-pygraphviz.changes  
2014-03-30 12:26:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pygraphviz.new/python-pygraphviz.changes 
2016-06-19 10:49:34.0 +0200
@@ -1,0 +2,10 @@
+Wed Jun 15 17:11:49 UTC 2016 - toddrme2...@gmail.com
+
+- Update to 1.3.1
+  - Update manifest to include missing files
+- Update to 1.3
+  - Python 3 support
+  - Encoding bugfixes
+- Rebase docdir.patch
+
+---

Old:

  pygraphviz-1.2.tar.gz

New:

  pygraphviz-1.3.1.tar.gz



Other differences:
--
++ python-pygraphviz.spec ++
--- /var/tmp/diff_new_pack.3kjd4Z/_old  2016-06-19 10:49:35.0 +0200
+++ /var/tmp/diff_new_pack.3kjd4Z/_new  2016-06-19 10:49:35.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pygraphviz
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   python-pygraphviz
-Version:1.2
+Version:1.3.1
 Release:0
 Url:http://networkx.lanl.gov/pygraphviz
 Summary:Python interface to Graphviz
@@ -27,14 +27,14 @@
 # PATCH-FIX-UPSTREAM docdir.patch
 Patch:  docdir.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  graphviz-devel
+BuildRequires:  graphviz-devel >= 2.16
 BuildRequires:  pkg-config
+BuildRequires:  python-nose
 BuildRequires:  python-devel
-Requires:   graphviz-python
+BuildRequires:  python-setuptools
+Requires:   graphviz >= 2.16
 %if 0%{?suse_version} <= 1110
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-%else
-%py_requires
+%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 %endif
 
 %description
@@ -46,19 +46,20 @@
 %patch
 
 %build
-export CFLAGS="%{optflags}"
-python setup.py build
+CFLAGS="%{optflags}" python setup.py build
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 chmod +x %{buildroot}%{python_sitearch}/pygraphviz/tests/test.py
 
-%clean
-rm -rf %{buildroot}
+%check
+pushd examples
+PYTHONPATH=%{buildroot}%{python_sitearch} python -c "import 
pygraphviz;pygraphviz.test()"
+popd
 
 %files
 %defattr(-,root,root,-)
-%doc doc
+%doc LICENSE README.rst
 %{_docdir}/pygraphviz-%{version}
 %{python_sitearch}/pygraphviz/
 %{python_sitearch}/pygraphviz-%{version}-py*.egg-info

++ docdir.patch ++
--- /var/tmp/diff_new_pack.3kjd4Z/_old  2016-06-19 10:49:35.0 +0200
+++ /var/tmp/diff_new_pack.3kjd4Z/_new  2016-06-19 10:49:35.0 +0200
@@ -2,12 +2,12 @@
 ===
 --- setup.py.orig
 +++ setup.py
-@@ -109,7 +109,7 @@ else:
+@@ -36,7 +36,7 @@
  sys.path.pop(0)
  
- packages = ["pygraphviz","pygraphviz.tests"]
--docdirbase  = 'share/doc/pygraphviz-%s' % release.version
-+docdirbase  = 'share/doc/packages/pygraphviz-%s' % release.version
- data = [(docdirbase, glob("*.txt")),
- (os.path.join(docdirbase, 'examples'),glob("examples/*.py")),
- (os.path.join(docdirbase, 'examples'),glob("examples/*.dat")),
+ packages = ["pygraphviz", "pygraphviz.tests"]
+-docdirbase = 'share/doc/pygraphviz-%s' % release.version
++docdirbase = 'share/doc/packages/pygraphviz-%s' % release.version
+ data = [
+ (docdirbase, glob("*.txt")),
+ (os.path.join(docdirbase, 'examples'), glob("examples/*.py")),

++ pygraphviz-1.2.tar.gz -> pygraphviz-1.3.1.tar.gz ++
 17753 lines of diff (skipped)