From: Sajjad Lateef Date: Fri, 17 Sep 2010 21:53:42 +0000 (-0700) Subject: debian: Add openvswitch-python package X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0c2489aabc0d19495909ac7391ea7427d9b458a;p=openvswitch debian: Add openvswitch-python package This installs the Python runtime bindings for Open vSwitch database into /usr/share/python-support/openvswitch-python/ovs and /usr/share/python-support/openvswitch-python/ovs/db Updated FSF address in copyright file Minor Whitespace re-formatting Removed prerm, preinst, postinst files for openvswitch-python --- diff --git a/debian/automake.mk b/debian/automake.mk index a5a6e05a..dc18961a 100644 --- a/debian/automake.mk +++ b/debian/automake.mk @@ -29,6 +29,8 @@ EXTRA_DIST += \ debian/openvswitch-pki-server.install \ debian/openvswitch-pki-server.postinst \ debian/openvswitch-pki.postinst \ + debian/openvswitch-python.dirs \ + debian/openvswitch-python.install \ debian/openvswitch-switch.README.Debian \ debian/openvswitch-switch.dirs \ debian/openvswitch-switch.init \ diff --git a/debian/control b/debian/control index edecffda..fde640ea 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,8 @@ Maintainer: Open vSwitch developers Uploaders: Ben Pfaff , Simon Horman Build-Depends: debhelper (>= 5), autoconf (>= 2.64), automake1.10, libssl-dev, - pkg-config (>= 0.21), po-debconf, bzip2, openssl, python + pkg-config (>= 0.21), po-debconf, bzip2, openssl, python, + python-support (>= 0.8.4) Standards-Version: 3.9.1 Homepage: http://openvswitch.org/ @@ -94,3 +95,10 @@ Description: Debug symbols for Open vSwitch packages This package contains the debug symbols for all the other openvswitch-* packages. Install it to debug one of them or to examine a core dump produced by one of them. + +Package: openvswitch-python +Architecture: all +Depends: ${python:Depends}, openvswitch-switch (= ${binary:Version}) +Provides: ${python:Provides} +Description: Python bindings for Open vSwitch + This package contains the full Python bindings for Open vSwitch database. diff --git a/debian/copyright.in b/debian/copyright.in index 0cac6347..6a7370e3 100644 --- a/debian/copyright.in +++ b/debian/copyright.in @@ -46,7 +46,7 @@ License: You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Copyright (c) 2005, 2007 XenSource Ltd. Copyright (c) 2010, Nicira Networks. diff --git a/debian/openvswitch-python.dirs b/debian/openvswitch-python.dirs new file mode 100644 index 00000000..055838c0 --- /dev/null +++ b/debian/openvswitch-python.dirs @@ -0,0 +1,2 @@ +usr/share/python-support/openvswitch-python/ovs/ +usr/share/python-support/openvswitch-python/ovs/db/ diff --git a/debian/openvswitch-python.install b/debian/openvswitch-python.install new file mode 100644 index 00000000..35d35e78 --- /dev/null +++ b/debian/openvswitch-python.install @@ -0,0 +1,2 @@ +python/ovs/*.py usr/share/python-support/openvswitch-python/ovs/ +python/ovs/db/*.py usr/share/python-support/openvswitch-python/ovs/db/ diff --git a/debian/rules b/debian/rules index 49d562ad..8e7ad1e8 100755 --- a/debian/rules +++ b/debian/rules @@ -103,6 +103,7 @@ binary-common: dh_strip --dbg-package=openvswitch-dbg dh_compress dh_fixperms -X var/log/core + dh_pysupport dh_perl dh_makeshlibs dh_installdeb