[ovs-git] Open vSwitch: debian: Don't install Python modules for obsolete Python versions. (branch-1.5)

dev at openvswitch.org dev at openvswitch.org
Mon Feb 6 18:27:00 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.5 has been updated
       via  36fada16f091ac67be25f51f42a7f4e3072e6db8 (commit)
      from  8f57722e311a665689ccc404042c29496c17beac (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 36fada16f091ac67be25f51f42a7f4e3072e6db8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=36fada16f091ac67be25f51f42a7f4e3072e6db8
Author: Ben Pfaff <blp at nicira.com>
		
debian: Don't install Python modules for obsolete Python versions.
		
Python 2.4 is obsolete, not present in Debian squeeze or sid, so don't
install Python modules for it.

It would be better to just put the files directly into
/usr/share/pyshared/ovs/, instead of in site-packages for some specific
Python version, but this causes problems for builds on squeeze, as
documented in commit bc3aa0bf5 (debian: Make python-openvswitch packaging
work with squeeze dh_python2.):

    The dh_python2 helper in Debian squeeze has a limitation that is not
    mentioned anywhere, as far as I can tell: Python files must be in
    /usr/lib/python#.#/site-packages to be installed.  The version in Debian
    wheezy does not have the same limitation.

    This meant that building the Debian packages on squeeze silently produced
    a broken python-openvswitch package, whereas building the same thing on
    wheezy built a working package.

    This fixes the problem by putting the .py files where squeeze expects them.
    It works on wheezy too.

A before-and-after "debdiff" shows that the only significant effect of this
commit is to drop python2.4 symlinks.

CC: horms at debian.org
Reported-by: Luca Falavigna <ftpmaster at debian.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 AUTHORS                           |    1 +
 debian/openvswitch-test.install   |    2 +-
 debian/python-openvswitch.install |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list