Skip to content

Commit 647d3a0

Browse files
author
bibi21000
committed
Add patch for debian packages. Thanks to nemo136
1 parent aa54e41 commit 647d3a0

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

‎debian/control‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Source: python-openzwave
22
Section: python
33
Priority: optional
44
Maintainer: Sébastien GALLET <sgallet@gmail.com>
5+
X-Python-Version: >= 2.7
56
Build-Depends: debhelper (>= 7.0.50~), python (>= 2.6.6-3~), python-setuptools,
67
python-dev, cython, libopenzwave1.0-dev, python-louie
78
Standards-Version: 3.9.1

‎debian/rules‎

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@
66
override_dh_auto_build:
77
dh_auto_build build -- --debian-package
88

9-
#override_dh_auto_install:
10-
# dh_auto_install install -- --debian-package
11-
# cd docs && make html
12-
# dh_auto_install install -- --debian-package
9+
10+
override_dh_auto_install:
11+
dh_auto_install install -- --debian-package
12+
cd docs && make html
13+
dh_auto_install install -- --debian-package
14+
PYTHONPATH=.:debian/python-openzwave/usr/lib/python2.7/dist-packages/ python setup-lib.py install --record install.files --prefix=debian/python-openzwave/usr/ --install-layout=deb
15+
PYTHONPATH=.:debian/python-openzwave/usr/lib/python2.7/dist-packages/ python setup-api.py install --record install.tm --prefix=debian/python-openzwave/usr/ --install-layout=deb
16+
rm -rf debian/python-openzwave/usr/share/pyshared/site.py
17+
rm -rf debian/python-openzwave/usr/share/pyshared/easy-install.pth
18+
rm -rf debian/python-openzwave/usr/lib/python2.7/dist-packages/site.py
19+
rm -rf debian/python-openzwave/usr/lib/python2.7/dist-packages/easy-install.pth

0 commit comments

Comments
 (0)