Permalink
Browse files

debian: add packaging based on dh_virtualenv

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  • Loading branch information...
jluebbe committed Apr 16, 2018
1 parent fe98293 commit 9e914acff0b7d1353082c53b7e8425391db837cb
Showing with 47 additions and 0 deletions.
  1. +4 −0 deb-requirements.txt
  2. +5 −0 debian/changelog
  3. +1 −0 debian/compat
  4. +20 −0 debian/control
  5. +7 −0 debian/labgrid.triggers
  6. +10 −0 debian/rules
View
@@ -0,0 +1,4 @@
-r crossbar-requirements.txt
-r onewire-requirements.txt
-r modbus-requirements.txt
-r snmp-requirements.txt
View
@@ -0,0 +1,5 @@
labgrid (0.1.0) UNRELEASED; urgency=low
* Initial release. (Closes: #XXXXXX)
-- Jan Lübbe <jlu@pengutronix.de> Wed, 04 Apr 2018 17:36:46 +0200
View
@@ -0,0 +1 @@
9
View
@@ -0,0 +1,20 @@
Source: labgrid
Section: python
Priority: extra
Maintainer: Jan Lübbe <jlu@pengutronix.de>
Build-Depends: debhelper (>= 9), python, dh-virtualenv (>= 0.8), libow-dev
Standards-Version: 3.9.5
Package: labgrid
Architecture: any
Pre-Depends: dpkg (>= 1.16.1), python3, ${misc:Pre-Depends}
Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}
Description: embedded board control python library
Labgrid is a embedded board control python library with a focus on testing,
development and general automation. It includes a remote control layer to
control boards connected to other hosts.
.
The idea behind labgrid is to create an abstraction of the hardware control
layer needed for testing of embedded systems, automatic software installation
and automation during development. Labgrid itself is not a testing framework,
but is intended to be combined with pytest (and additional pytest plugins).
View
@@ -0,0 +1,7 @@
# Register interest in Python interpreter changes; and don't make the Python
# package dependent on the virtualenv package processing (noawait)
interest-noawait /usr/bin/python3.5
interest-noawait /usr/bin/python3.6
# Also provide a symbolic trigger for all dh-virtualenv packages
interest dh-virtualenv-interpreter-update
View
@@ -0,0 +1,10 @@
#!/usr/bin/make -f
%:
dh $@ --with python-virtualenv
override_dh_shlibs:
dh_shlibs -l/opt
override_dh_virtualenv:
dh_virtualenv --python /usr/bin/python3 --builtin-venv --requirements deb-requirements.txt

0 comments on commit 9e914ac

Please sign in to comment.