Hello community, here is the log from the commit of package python3-bpython for openSUSE:Factory checked in at 2017-01-25 23:24:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-bpython (Old) and /work/SRC/openSUSE:Factory/.python3-bpython.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-bpython" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-bpython/python3-bpython.changes 2016-10-20 23:07:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-bpython.new/python3-bpython.changes 2017-01-25 23:24:24.261106507 +0100 @@ -1,0 +2,11 @@ +Sun Dec 25 16:20:45 UTC 2016 - [email protected] + +- Add python3-bpython-appdata-fix.patch for a trivial fix up of + <p> nodes in description, incorrect closure led to description + not showing in full on apps like gnome-software; patch sent + upstream (gh#bpython/bpython#662). +- Add a "(python3)" tag to the <name> node of the appdata file + to distinguish the app from the otherwise identical-in-content + appdata from python-bpython. + +------------------------------------------------------------------- New: ---- python3-bpython-appdata-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-bpython.spec ++++++ --- /var/tmp/diff_new_pack.EmvXMq/_old 2017-01-25 23:24:24.701040174 +0100 +++ /var/tmp/diff_new_pack.EmvXMq/_new 2017-01-25 23:24:24.701040174 +0100 @@ -24,6 +24,8 @@ License: MIT Group: Development/Languages/Python Source: http://www.bpython-interpreter.org/releases/bpython-%{version}.tar.gz +# PATCH-FIX-UPSTREAM python3-bpython-appdata-fix.patch gh#bpython/bpython#662 [email protected] -- Trivial fix up <p> nodes in description, incorrect closure led to description not showing in full on apps like gnome-software; patch sent upstream +Patch0: python3-bpython-appdata-fix.patch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-six @@ -63,6 +65,10 @@ %prep %setup -q -n bpython-%{version} +%patch0 -p1 + +# ADD A "(python3)" TAG TO THE NAME TO DISTINGUISH IT FROM THE OTHERWISE IDENTICAL CONTENT APPDATA FOR python-bpython +sed -i -e "s|<name>bpython interpreter</name>|<name>bpython (python3) interpreter</name>|" data/bpython.appdata.xml mv data/bpython.desktop data/bpython3.desktop mv data/bpython.png data/bpython3.png ++++++ python3-bpython-appdata-fix.patch ++++++ commit 36457741e9d5fcdef518a5fd76a6a691387a5b88 Author: Atri Bhattacharya <[email protected]> Date: Sun Dec 25 21:54:14 2016 +0530 Close <p> node in description correctly. This trivial markup fix ensures that the <p> node is closed in the right place, so that when software centers like gnome-software show the appdata, the description section does not get curtailed at the place where the <ul> begins. Index: bpython-0.15/data/bpython.appdata.xml =================================================================== --- bpython-0.15.orig/data/bpython.appdata.xml +++ bpython-0.15/data/bpython.appdata.xml @@ -11,16 +11,16 @@ <p> bpython is a fancy interface to the Python interpreter. It has the following features: - <ul> - <li>In-line syntac highlighting.</li> - <li>Readline-like autocomplete with suggesstion displayed as you type.</li> - <li>Expected parameter list for any Python function.</li> - <li>"Rewind" function to pop the last line of code from memory and re-evaluate.</li> - <li>Send the code you've entered off to a pastebin.</li> - <li>Save the code you've entered to a file.</li> - <li>Auto-indentation.</li> - </ul> </p> + <ul> + <li>In-line syntac highlighting.</li> + <li>Readline-like autocomplete with suggesstion displayed as you type.</li> + <li>Expected parameter list for any Python function.</li> + <li>"Rewind" function to pop the last line of code from memory and re-evaluate.</li> + <li>Send the code you've entered off to a pastebin.</li> + <li>Save the code you've entered to a file.</li> + <li>Auto-indentation.</li> + </ul> </description> <url type="homepage">http://www.bpython-interpreter.org/</url> <url type="bugtracker">https://github.com/bpython/bpython/issues</url>
