/[python-modules]/packages/kid/trunk/debian/rules
ViewVC logotype

Diff of /packages/kid/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2372 by hertzog, Wed Jun 14 20:42:02 2006 UTC revision 2373 by piotr, Sat May 12 23:07:21 2007 UTC
# Line 9  include /usr/share/cdbs/1/class/python-d Line 9  include /usr/share/cdbs/1/class/python-d
9  # Install egg-info directories  # Install egg-info directories
10  DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed  DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
11    
 UPSTREAM_VERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)  
 PYVER=$(shell python -V 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1-2)  
   
12  binary-post-install/python-kid::  binary-post-install/python-kid::
13  # Remove scripts which are provided by python-kid and fix rights  # Remove scripts which are provided by python-kid and fix rights
14          find debian/python-kid -name 'run.py' -o -name 'compile.py' | xargs chmod 755          find debian/python-kid -name 'run.py' -o -name 'compile.py' | xargs chmod 755
         mv debian/python-kid/usr/share/python-support/python-kid/kid-${UPSTREAM_VERSION}-py${PYVER}.egg-info \  
            debian/python-kid/usr/share/python-support/python-kid/kid-${UPSTREAM_VERSION}.egg-info  
15          -rm -rf debian/python-kid/usr/lib/          -rm -rf debian/python-kid/usr/lib/
16    
17    

Legend:
Removed from v.2372  
changed lines
  Added in v.2373

  ViewVC Help
Powered by ViewVC 1.1.5