forked from labgrid-project/labgrid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debian: add packaging based on dh_virtualenv
Signed-off-by: Jan Luebbe <[email protected]>
- Loading branch information
Showing
6 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-r crossbar-requirements.txt | ||
-r onewire-requirements.txt | ||
-r modbus-requirements.txt | ||
-r snmp-requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
labgrid (0.1.0) UNRELEASED; urgency=low | ||
|
||
* Initial release. (Closes: #XXXXXX) | ||
|
||
-- Jan Lübbe <[email protected]> Wed, 04 Apr 2018 17:36:46 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Source: labgrid | ||
Section: python | ||
Priority: extra | ||
Maintainer: Jan Lübbe <[email protected]> | ||
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). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |