commit python-pydotplus for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-pydotplus for 
openSUSE:Factory checked in at 2018-12-24 11:41:47

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


Package is "python-pydotplus"

Mon Dec 24 11:41:47 2018 rev:3 rq:659583 version:2.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pydotplus/python-pydotplus.changes
2017-05-16 14:44:45.090532735 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pydotplus.new.28833/python-pydotplus.changes 
2018-12-24 11:41:48.601429886 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:52:07 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-pydotplus.spec ++
--- /var/tmp/diff_new_pack.eWMWKl/_old  2018-12-24 11:41:49.149429400 +0100
+++ /var/tmp/diff_new_pack.eWMWKl/_new  2018-12-24 11:41:49.153429396 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pydotplus
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,32 +12,30 @@
 # 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/
+#
 
-%bcond_without tests
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without tests
 Name:   python-pydotplus
 Version:2.0.2
 Release:0
-License:MIT
 Summary:Python interface to Graphviz's Dot language
-Url:http://pydotplus.readthedocs.org/
+License:MIT
 Group:  Development/Languages/Python
+URL:http://pydotplus.readthedocs.org/
 Source: 
https://files.pythonhosted.org/packages/source/p/pydotplus/pydotplus-%{version}.tar.gz
+BuildRequires:  %{python_module pyparsing >= 2.0.1}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module pyparsing >= 2.0.1}
+Requires:   graphviz
+Requires:   python-pyparsing >= 2.0.1
+BuildArch:  noarch
 %if %{with tests}
 BuildRequires:  graphviz
 %endif
-Requires:   python-pyparsing >= 2.0.1
-Requires:   graphviz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildArch:  noarch
 %python_subpackages
 
 %description
@@ -62,8 +60,8 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc README.rst LICENSE
+%license LICENSE
+%doc README.rst
 %{python_sitelib}/*
 
 %changelog




commit python-pydotplus for openSUSE:Factory

2017-05-16 Thread root
Hello community,

here is the log from the commit of package python-pydotplus for 
openSUSE:Factory checked in at 2017-05-16 14:43:39

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


Package is "python-pydotplus"

Tue May 16 14:43:39 2017 rev:2 rq:494501 version:2.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pydotplus/python-pydotplus.changes
2016-10-10 16:19:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pydotplus.new/python-pydotplus.changes   
2017-05-16 14:44:45.090532735 +0200
@@ -1,0 +2,6 @@
+Thu May 11 02:34:26 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version.
+- Fix source URL.
+
+---



Other differences:
--
++ python-pydotplus.spec ++
--- /var/tmp/diff_new_pack.eZGBD3/_old  2017-05-16 14:44:45.642455185 +0200
+++ /var/tmp/diff_new_pack.eZGBD3/_new  2017-05-16 14:44:45.650454061 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pydotplus
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -15,6 +15,9 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 
 
+%bcond_without tests
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pydotplus
 Version:2.0.2
 Release:0
@@ -22,13 +25,20 @@
 Summary:Python interface to Graphviz's Dot language
 Url:http://pydotplus.readthedocs.org/
 Group:  Development/Languages/Python
-Source: 
https://pypi.python.org/packages/source/p/pydotplus/pydotplus-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-pyparsing >= 2.0.1
+Source: 
https://files.pythonhosted.org/packages/source/p/pydotplus/pydotplus-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pyparsing >= 2.0.1}
+%if %{with tests}
+BuildRequires:  graphviz
+%endif
 Requires:   python-pyparsing >= 2.0.1
+Requires:   graphviz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
+%python_subpackages
 
 %description
 PyDotPlus is an improved version of the old pydot project that provides a
@@ -38,12 +48,20 @@
 %setup -q -n pydotplus-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%if %{with tests}
+%check
+%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
+$python test/pydot_unittest.py
+}
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc README.rst LICENSE
 %{python_sitelib}/*