diff --git a/debian/control b/debian/control index 00190c3762..3ee6fa2913 100644 --- a/debian/control +++ b/debian/control @@ -2,13 +2,12 @@ Source: ralph Section: python Priority: extra Maintainer: pylabs@allegrogroup.com -Build-Depends: debhelper (>= 9), python +Build-Depends: debhelper (>= 9), dh-virtualenv, git, libmysqlclient-dev, python3-virtualenv, python3 (>=3.4), python3-dev (>=3.4), libffi-dev, nodejs, nodejs-legacy Standards-Version: 3.9.5 Package: ralph-core Architecture: amd64 -Pre-Depends: dpkg (>= 1.16.1), python3.4, ${misc:Pre-Depends} -Depends: git,libmysqlclient-dev,python-virtualenv,python-dev,python3.4,python3.4-dev +Pre-Depends: dpkg (>= 1.16.1), python (>=3.4), ${misc:Pre-Depends} Description: Ralph is an DCIM/CMDB - asset management for Data Centers/ Back Office. Homepage: http://ralph.allegrogroup.com Suggests: mysql-server, redis diff --git a/debian/rules b/debian/rules index 1a2724ddc0..8568826538 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,13 @@ export DH_VIRTUALENV_INSTALL_ROOT=/opt/ralph dh $@ --with python-virtualenv override_dh_virtualenv: + npm install + node_modules/bower/bin/bower --allow-root install + node_modules/gulp/bin/gulp.js dh_virtualenv --python /usr/bin/python3.4 override_dh_shlibdeps: dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info + +override_dh_strip: + dh_strip --exclude=_cffi_backend