[Python-modules-commits] r23421 - in packages/ipython/trunk/debian (3 files)
jtaylor-guest at users.alioth.debian.org
jtaylor-guest at users.alioth.debian.org
Sat Feb 2 16:53:18 UTC 2013
Date: Saturday, February 2, 2013 @ 16:53:16
Author: jtaylor-guest
Revision: 23421
add ipython3 and ipython3-qtconsole desktop files (Closes: #693612)
Added:
packages/ipython/trunk/debian/ipython3-qtconsole.lintian-overrides
Modified:
packages/ipython/trunk/debian/changelog
packages/ipython/trunk/debian/rules
Modified: packages/ipython/trunk/debian/changelog
===================================================================
--- packages/ipython/trunk/debian/changelog 2013-02-02 16:53:09 UTC (rev 23420)
+++ packages/ipython/trunk/debian/changelog 2013-02-02 16:53:16 UTC (rev 23421)
@@ -5,6 +5,7 @@
* don't link documentation of ipython-doc so ipython3 does not depend on
ipython (Closes: #695554)
Requires ipython-doc.preinst to not lose copyright on upgrade
+ * add ipython3 and ipython3-qtconsole desktop files (Closes: #693612)
-- Julian Taylor <jtaylor.debian at googlemail.com> Sat, 02 Feb 2013 11:14:27 +0100
Added: packages/ipython/trunk/debian/ipython3-qtconsole.lintian-overrides
===================================================================
--- packages/ipython/trunk/debian/ipython3-qtconsole.lintian-overrides (rev 0)
+++ packages/ipython/trunk/debian/ipython3-qtconsole.lintian-overrides 2013-02-02 16:53:16 UTC (rev 23421)
@@ -0,0 +1,2 @@
+# "ipython3" is provided by the binary package ipython3 on which this package depends
+ipython3-qtconsole binary: desktop-command-not-in-package usr/share/applications/ipython3-qtconsole.desktop ipython3
Modified: packages/ipython/trunk/debian/rules
===================================================================
--- packages/ipython/trunk/debian/rules 2013-02-02 16:53:09 UTC (rev 23420)
+++ packages/ipython/trunk/debian/rules 2013-02-02 16:53:16 UTC (rev 23421)
@@ -73,6 +73,13 @@
--exclude=tests
dh_install -pipython3-qtconsole
+ mkdir -p debian/ipython3/usr/share/applications/
+ sed -e "s/ipython/ipython3/" -e "s/IPython/IPython3/" \
+ docs/examples/core/ipython.desktop > debian/ipython3/usr/share/applications/ipython3.desktop
+ mkdir -p debian/ipython3-qtconsole/usr/share/applications/
+ sed -e "s/ipython/ipython3/" -e "s/IPython/IPython3/" \
+ docs/examples/core/ipython-qtconsole.desktop > debian/ipython3-qtconsole/usr/share/applications/ipython3-qtconsole.desktop
+
# jquery-ui-themes provides more in javascript/jquery-ui-themes (not available in 12.04)
# disabled as long as the ui dev branch is used
#dh_linktree -v -pipython-notebook-common replace usr/share/javascript/jquery-ui/themes \
@@ -81,6 +88,9 @@
mkdir -p $(CURDIR)/debian/ipython/usr/share/icons/hicolor/scalable/apps/
cp IPython/frontend/qt/console/resources/icon/IPythonConsole.svg \
$(CURDIR)/debian/ipython/usr/share/icons/hicolor/scalable/apps/ipython.svg
+ mkdir -p $(CURDIR)/debian/ipython3/usr/share/icons/hicolor/scalable/apps/
+ cp IPython/frontend/qt/console/resources/icon/IPythonConsole.svg \
+ $(CURDIR)/debian/ipython3/usr/share/icons/hicolor/scalable/apps/ipython3.svg
# remove embedded arparse
find $(CURDIR)/debian/ipython/usr/ -name _argparse.py -delete
More information about the Python-modules-commits
mailing list