[SCM] Packaging for pytango branch, master, updated. 27cfba732b9b5c10d7acf03f5920292a45308af0

Frédéric-Emmanuel PICCA picca at synchrotron-soleil.fr
Tue Aug 10 08:25:13 UTC 2010


The following commit has been merged in the master branch:
commit f10e337df811192e9c1072f79ab448c28de568a8
Author: Frédéric-Emmanuel PICCA <picca at synchrotron-soleil.fr>
Date:   Tue Aug 10 09:46:23 2010 +0200

    * add the spock IPython Extension profile.

diff --git a/IPython/Extensions/ipy_profile_spock.py b/IPython/Extensions/ipy_profile_spock.py
new file mode 100644
index 0000000..3ba6579
--- /dev/null
+++ b/IPython/Extensions/ipy_profile_spock.py
@@ -0,0 +1,17 @@
+""" IPython 'spock' profile, to preload PyTango and offer a friendly interface to Tango.
+
+Created with PyTango {pytangover} for IPython {ipyver} """
+
+import IPython.ipapi
+import ipy_defaults
+
+def main():
+    ip = IPython.ipapi.get()
+    try:
+        ip.ex("import IPython.ipapi")
+        ip.ex("import PyTango.ipython")
+        ip.ex("PyTango.ipython.init_ipython(IPython.ipapi.get())")
+    except ImportError:
+        print "Unable to start spock profile, is PyTango installed?"
+
+main()
diff --git a/debian/control b/debian/control
index 6259707..79c59aa 100644
--- a/debian/control
+++ b/debian/control
@@ -2,14 +2,15 @@ Source: pytango
 Section: python
 Priority: extra
 Maintainer: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
-Build-Depends: debhelper (>= 7.0.50),
+Build-Depends: debhelper (>= 8.0.0),
 	       python-support (>= 0.7.6),
 	       python-dev,
 	       liblog4tango4-dev,
 	       libtango7-dev,
 	       libboost-python-dev,
-	       python-sphinx
-Standards-Version: 3.9.0
+	       python-sphinx,
+	       ipython
+Standards-Version: 3.9.1
 Homepage: http://www.tango-controls.org
 
 Package: python-pytango
diff --git a/debian/patches/debian-changes-7.1.2-1 b/debian/patches/debian-changes-7.1.2-1
new file mode 100644
index 0000000..26ba185
--- /dev/null
+++ b/debian/patches/debian-changes-7.1.2-1
@@ -0,0 +1,57 @@
+Description: Upstream changes introduced in version 7.1.2-1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ pytango (7.1.2-1) unstable; urgency=low
+ .
+   * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- pytango-7.1.2.orig/setup.py
++++ pytango-7.1.2/setup.py
+@@ -66,7 +66,8 @@ please_debug = False
+ packages = [
+     'PyTango',
+     'PyTango.ipython',
+-    'PyTango3'
++    'PyTango3',
++    'IPython.Extensions'
+ ]
+ 
+ provides = [
+--- /dev/null
++++ pytango-7.1.2/IPython/Extensions/ipy_profile_spock.py
+@@ -0,0 +1,17 @@
++""" IPython 'spock' profile, to preload PyTango and offer a friendly interface to Tango.
++
++Created with PyTango {pytangover} for IPython {ipyver} """
++
++import IPython.ipapi
++import ipy_defaults
++
++def main():
++    ip = IPython.ipapi.get()
++    try:
++        ip.ex("import IPython.ipapi")
++        ip.ex("import PyTango.ipython")
++        ip.ex("PyTango.ipython.init_ipython(IPython.ipapi.get())")
++    except ImportError:
++        print "Unable to start spock profile, is PyTango installed?"
++
++main()
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5bcdb02
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+debian-changes-7.1.2-1
diff --git a/setup.py b/setup.py
index 5ecf587..d90973b 100644
--- a/setup.py
+++ b/setup.py
@@ -66,7 +66,8 @@ please_debug = False
 packages = [
     'PyTango',
     'PyTango.ipython',
-    'PyTango3'
+    'PyTango3',
+    'IPython.Extensions'
 ]
 
 provides = [

-- 
Packaging for pytango



More information about the debian-science-commits mailing list