Skip to content

Commit

Permalink
Clenaup debian dependencies (allegro#2943)
Browse files Browse the repository at this point in the history
* debian/rules: fix dh_strip on xenial

fixes:

```
strip: debian/ralph-core/opt/ralph/ralph-core/lib/python3.5/site-packages/st629Rf8:
Not enough room for program headers, try linking with -N
```

* deb: clenaup dependencies

* deb: build assets
  • Loading branch information
mihu authored and mkurek committed Jan 23, 2017
1 parent fc4765d commit e2ed52e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 2 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ Source: ralph
Section: python
Priority: extra
Maintainer: [email protected]
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
6 changes: 6 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e2ed52e

Please sign in to comment.