Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
debian: add packaging based on dh_virtualenv
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
- Loading branch information
Showing
with
47 additions
and 0 deletions.
- +4 −0 deb-requirements.txt
- +5 −0 debian/changelog
- +1 −0 debian/compat
- +20 −0 debian/control
- +7 −0 debian/labgrid.triggers
- +10 −0 debian/rules
@@ -0,0 +1,4 @@ | ||
-r crossbar-requirements.txt | ||
-r onewire-requirements.txt | ||
-r modbus-requirements.txt | ||
-r snmp-requirements.txt |
@@ -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 |
@@ -0,0 +1 @@ | ||
9 |
@@ -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). |
@@ -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 |
@@ -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 |