commit python-pyzo for openSUSE:Leap:15.2

2020-05-21 Thread root
Hello community,

here is the log from the commit of package python-pyzo for openSUSE:Leap:15.2 
checked in at 2020-05-21 12:59:54

Comparing /work/SRC/openSUSE:Leap:15.2/python-pyzo (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.python-pyzo.new.2738 (New)


Package is "python-pyzo"

Thu May 21 12:59:54 2020 rev:2 rq:807813 version:4.9.0

Changes:

--- /work/SRC/openSUSE:Leap:15.2/python-pyzo/python-pyzo.changes
2020-02-22 17:51:50.153697879 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-pyzo.new.2738/python-pyzo.changes  
2020-05-21 13:00:05.990894413 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:57 UTC 2020 - Petr Gajdos 
+
+- %python3_only removal
+
+---



Other differences:
--
++ python-pyzo.spec ++
--- /var/tmp/diff_new_pack.b2E4rW/_old  2020-05-21 13:00:06.494895511 +0200
+++ /var/tmp/diff_new_pack.b2E4rW/_new  2020-05-21 13:00:06.498895519 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyzo
 #
-# 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
@@ -33,6 +33,7 @@
 BuildRequires:  update-desktop-files
 Requires:   hicolor-icon-theme
 Requires:   python-qt5
+Requires:   pyzologo
 BuildArch:  noarch
 %python_subpackages
 
@@ -50,6 +51,12 @@
 aimed at interactivity, and consists of an editor, a shell, and a set
 of tools.
 
+%package -n pyzologo
+Summary:Icons for Pyzo
+
+%description -n pyzologo
+Icons used by pyzo
+
 %prep
 %setup -q -n pyzo-%{version}
 sed -i -e '/^#!\//, 1d' pyzo/*.py
@@ -81,7 +88,6 @@
 %files %{python_files}
 %doc README.md
 %license pyzo/license.txt
-%python3_only %{_datadir}/icons/hicolor/*/apps/pyzologo.png
 %{python_sitelib}/*
 
 %files -n pyzo
@@ -89,4 +95,7 @@
 %{_datadir}/applications/pyzo.desktop
 %{_bindir}/pyzo
 
+%files -n pyzologo
+%{_datadir}/icons/hicolor/*/apps/pyzologo.png
+
 %changelog




commit python-pyzo for openSUSE:Leap:15.2

2020-02-22 Thread root
Hello community,

here is the log from the commit of package python-pyzo for openSUSE:Leap:15.2 
checked in at 2020-02-22 17:51:49

Comparing /work/SRC/openSUSE:Leap:15.2/python-pyzo (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.python-pyzo.new.26092 (New)


Package is "python-pyzo"

Sat Feb 22 17:51:49 2020 rev:1 rq:776043 version:4.9.0

Changes:

New Changes file:

--- /dev/null   2019-12-19 10:12:34.003146842 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-pyzo.new.26092/python-pyzo.changes 
2020-02-22 17:51:50.153697879 +0100
@@ -0,0 +1,4 @@
+---
+Tue Jan  8 19:16:42 UTC 2019 - Todd R 
+
+- initial version

New:

  python-pyzo.changes
  python-pyzo.spec
  pyzo-4.9.0.tar.gz



Other differences:
--
++ python-pyzo.spec ++
#
# spec file for package python-pyzo
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name:   python-pyzo
Version:4.9.0
Release:0
Summary:Python IDE for scientific computing
License:BSD-3-Clause
URL:https://github.com/pyzo/pyzo
Source: 
https://files.pythonhosted.org/packages/source/p/pyzo/pyzo-%{version}.tar.gz
BuildRequires:  %{python_module qt5}
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  hicolor-icon-theme
BuildRequires:  python-rpm-macros
BuildRequires:  update-desktop-files
Requires:   hicolor-icon-theme
Requires:   python-qt5
BuildArch:  noarch
%python_subpackages

%description
Pyzo is a computing environment based on Python. Pyzo is a Python IDE
aimed at interactivity, and consists of an editor, a shell, and a set
of tools.

%package -n pyzo
Summary:Python IDE for scientific computing
Requires:   python3-pyzo = %{version}

%description -n pyzo
Pyzo is a computing environment based on Python. Pyzo is a Python IDE
aimed at interactivity, and consists of an editor, a shell, and a set
of tools.

%prep
%setup -q -n pyzo-%{version}
sed -i -e '/^#!\//, 1d' pyzo/*.py
sed -i -e '/^#!\//, 1d' pyzo/codeeditor/_test.py
sed -i -e '/^#!\//, 1d' pyzo/pyzokernel/guisupport.py

%build
%python_build

%install
%python_install
pushd pyzo/resources/
%suse_update_desktop_file pyzo Development Science IDE NumericalAnalysis
install -m 644 -Dt %{buildroot}%{_datadir}/applications pyzo.desktop
popd

pushd pyzo/resources/appicons
for f in pyzologo*.png ; do
echo ${f}
r="$(basename ${f:8} .png)"
echo ${r}
install -m 644 -Dt 
%{buildroot}%{_datadir}/icons/hicolor/${r}x${r}/apps/pyzologo.png ${f}
done

popd

%python_expand %fdupes %{buildroot}%{$python_sitelib}

%files %{python_files}
%doc README.md
%license pyzo/license.txt
%python3_only %{_datadir}/icons/hicolor/*/apps/pyzologo.png
%{python_sitelib}/*

%files -n pyzo
%license pyzo/license.txt
%{_datadir}/applications/pyzo.desktop
%{_bindir}/pyzo

%changelog