| 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 |
|
|