Hello community,

here is the log from the commit of package python for openSUSE:Factory checked 
in at 2019-12-24 14:29:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python (Old)
 and      /work/SRC/openSUSE:Factory/.python.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python"

Tue Dec 24 14:29:28 2019 rev:145 rq:758106 version:2.7.17

Changes:
--------
--- /work/SRC/openSUSE:Factory/python/python-base.changes       2019-12-07 
15:15:26.227795426 +0100
+++ /work/SRC/openSUSE:Factory/.python.new.6675/python-base.changes     
2019-12-24 14:29:33.270563883 +0100
@@ -1,0 +2,24 @@
+Thu Dec 19 08:47:01 UTC 2019 - Dominique Leuenberger <[email protected]>
+
+- Drop appstream-glib BuildRequires and no longer call
+  appstream-util validate-relax: eliminate a build cycle between
+  as-glib and python. The only thing would would gain by calling
+  as-uril is catching if upstream breaks the appdata.xml file in a
+  future release. Considering py2 is dying, chances for a new
+  release, let alone one breaking the xml file, are slim.
+
+-------------------------------------------------------------------
+Wed Dec 11 14:35:46 CET 2019 - Matej Cepl <[email protected]>
+
+- Unify packages among openSUSE:Factory and SLE versions.
+  (bsc#1159035) ; add missing records to this changelog.
+- Add idle.desktop and idle.appdata.xml to provide IDLE in menus
+  (bsc#1153830)
+
+-------------------------------------------------------------------
+Wed Dec  4 18:12:17 CET 2019 - Matej Cepl <[email protected]>
+
+- Add python2_split_startup Provide to make it possible to
+  conflict older packages by shared-python-startup.
+
+-------------------------------------------------------------------
@@ -115 +139 @@
-- Update to 2.7.16:
+- (bsc#1111793) Update to 2.7.16:
@@ -359,0 +384,14 @@
+
+-------------------------------------------------------------------
+Mon Sep 26 14:06:25 UTC 2016 - [email protected]
+
+- initial packaging of `python27` side-by-side variant (fate#321075, 
bsc#997436)
+- renamed `python` to `python27` in package names and requires
+- removed Provides and Obsoletes clauses
+- dropped SLE12-only patch 
python-2.7.9-sles-disable-verification-by-default.patch,
+  companion sle_tls_checks_policy.py file and the python-strict-tls-checks 
subpackage
+- dropped profile files
+- removed /usr/bin/python and /usr/bin/python2, along with other unversioned
+  aliases
+- rewrote macros file to enable stand-alone packages depending on py2.7
+- re-included downloaded version of HTML documentation
python-doc.changes: same change
python.changes: same change

New:
----
  idle.appdata.xml
  idle.desktop

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
python-doc.spec: same change
++++++ python.spec ++++++
--- /var/tmp/diff_new_pack.g1OEJT/_old  2019-12-24 14:29:36.958565667 +0100
+++ /var/tmp/diff_new_pack.g1OEJT/_new  2019-12-24 14:29:36.958565667 +0100
@@ -29,6 +29,8 @@
 Source1:        README.SUSE
 Source8:        sle_tls_checks_policy.py
 #Source11:       testfiles.tar.bz2
+Source50:       idle.appdata.xml
+Source51:       idle.desktop
 # issues with copyrighted Unicode testing files
 
 # !!!!!!!!!!!!!!
@@ -100,6 +102,11 @@
 BuildRequires:  tk-devel
 BuildRequires:  xz
 BuildRequires:  pkgconfig(x11)
+# for %%{_datadir}/application and %%{_datadir}/mime/packages
+BuildRequires:  filesystem
+BuildRequires:  update-desktop-files
+# for %%{_datadir}/icons/hicolor directories
+BuildRequires:  hicolor-icon-theme
 %define         python_version    %(echo %{tarversion} | head -c 3)
 %define         idle_name         idle
 Requires:       python-base = %{version}
@@ -108,6 +115,9 @@
 %endif
 Provides:       %{name} = %{python_version}
 Provides:       python2 = %{version}
+# To make older versions of this package to conflict with
+# shared-python-startup I need a symbol to conflict with
+Provides:       python2_split_startup
 Obsoletes:      python-elementtree
 Obsoletes:      python-nothreads
 Obsoletes:      python-sqlite
@@ -429,6 +439,15 @@
     done
 )
 
+# Install .desktop, mime and appdata files from upstream tarball
+%if 0%{?suse_version} >= 1500
+install -Dm0644 %{SOURCE50} 
%{buildroot}/%{_datadir}/mime/packages/idle.appdata.xml
+%endif
+install -D -m 0644 Lib/idlelib/Icons/idle_16.png 
%{buildroot}%{_datadir}/icons/hicolor/16x16/apps/idle.png
+install -D -m 0644 Lib/idlelib/Icons/idle_32.png 
%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/idle.png
+install -D -m 0644 Lib/idlelib/Icons/idle_48.png 
%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/idle.png
+desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE51}
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
@@ -444,6 +463,11 @@
 %doc Lib/idlelib/ChangeLog
 %{_libdir}/python%{python_version}/idlelib
 %attr(755, root, root) %{_bindir}/%{idle_name}
+%if 0%{?suse_version} >= 1500
+%{_datadir}/mime/packages/idle.appdata.xml
+%endif
+%{_datadir}/applications/idle.desktop
+%{_datadir}/icons/hicolor/*/apps/idle.png
 
 %files demo
 %defattr(644, root, root, 755)


++++++ idle.appdata.xml ++++++
<?xml version="1.0" encoding="UTF-8"?>

<!-- Copyright 2017 Zbigniew Jędrzejewski-Szmek -->
<application>
  <id type="desktop">idle.desktop</id>
  <name>IDLE</name>
  <metadata_licence>CC0</metadata_licence>
  <project_license>Python-2.0</project_license>
  <summary>Python Integrated Development and Learning Environment</summary>
  <description>
    <p>
      IDLE is Python’s Integrated Development and Learning Environment.
      The GUI is uniform between Windows, Unix, and Mac OS X.
      IDLE provides an easy way to start writing, running, and debugging
      Python code.
    </p>
    <p>
      IDLE is written in pure Python, and uses the tkinter GUI toolkit.
      It provides:
    </p>
    <ul>
       <li>a Python shell window (interactive interpreter) with colorizing of 
code input, output, and error messages,</li>
       <li>a multi-window text editor with multiple undo, Python colorizing, 
smart indent, call tips, auto completion, and other features,</li>
       <li>search within any window, replace within editor windows, and search 
through multiple files (grep),</li>
       <li>a debugger with persistent breakpoints, stepping, and viewing of 
global and local namespaces.</li>
    </ul>
  </description>
  <url type="homepage">https://docs.python.org/2.7/library/idle.html</url>
  <screenshots>
    <screenshot 
type="default">http://in.waw.pl/~zbyszek/fedora/idle3-appdata/idle3-main-window.png</screenshot>
    
<screenshot>http://in.waw.pl/~zbyszek/fedora/idle3-appdata/idle3-class-browser.png</screenshot>
    
<screenshot>http://in.waw.pl/~zbyszek/fedora/idle3-appdata/idle3-code-viewer.png</screenshot>
  </screenshots>
  <update_contact>[email protected]</update_contact>
</application>
++++++ idle.desktop ++++++
[Desktop Entry]
Version=1.0
Name=IDLE
Comment=Python 2.7 Integrated Development and Learning Environment
Exec=idle %F
TryExec=idle
Terminal=false
Type=Application
Icon=idle
Categories=Development;IDE;
MimeType=text/x-python;


Reply via email to