-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a debian folder to build avocado-framework as python3-avocado-framework package on Ubuntu. Currently the debian/copyright file needs a review, among other things to be improved before a final commit. This commit is meant to be reviewed by upstream maintainers of avocado-framework and work on improvements and pieces missing, so that we can squash and do a proper commit at a later stage. Signed-off-by: David Negreira <[email protected]>
- Loading branch information
Showing
7 changed files
with
67 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,5 @@ | ||
python3-avocado-framework (103.0ubuntu1) jammy; urgency=medium | ||
|
||
* Initial release. | ||
|
||
-- David Negreira <[email protected]> Thu, 18 Apr 2024 12:53:10 +0000 |
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 |
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,15 @@ | ||
Source: python3-avocado-framework | ||
Section: python | ||
Priority: optional | ||
Maintainer: David Negreira <[email protected]> | ||
Build-Depends: debhelper (>=11~), dh-python, python3-all, python3-setuptools, python3-pip, python3-dev, python3-sphinx, python3-sphinx-rtd-theme | ||
Standards-Version: 4.6.2 | ||
|
||
Package: python3-avocado-framework | ||
Architecture: all | ||
Homepage: https://github.com/avocado-framework/avocado | ||
X-Python3-Version: >=3.7 | ||
Depends: ${misc:Depends}, ${python3:Depends} | ||
Description: Avocado is a set of tools and libraries to help with automated testing. | ||
One can call it a test framework with benefits. | ||
Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test. |
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,24 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: Avocado Framework | ||
Source: https://avocado-framework.github.io/ | ||
|
||
Files: * | ||
Copyright: PLACEHOLDER for The Avocado Team | ||
License: GPL-2+ | ||
|
||
Files: debian/* | ||
Copyright: 2024, David Negreira <[email protected]> | ||
License: GPL-2+ | ||
|
||
|
||
License: GPL-2+ | ||
This is free software, licensed under: | ||
. | ||
The GNU General Public License, Version 2, June 1991 | ||
. | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; version 2 dated June, 1991, or (at | ||
your option) any later version. | ||
On Debian systems, the complete text of version 2 of the GNU General | ||
Public License can be found in '/usr/share/common-licenses/GPL-2'. |
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 @@ | ||
man/avocado.1 |
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,17 @@ | ||
#!/usr/bin/make -f | ||
DH_VERBOSE = 1 | ||
export PYBUILD_NAME = avocado-framework-103 | ||
export PYBUILD_INSTALL_ARGS=--install-layout=deb | ||
|
||
override_dh_auto_test: | ||
|
||
mkdir -p /build/etc/avocado/ | ||
mkdir -p /build/avocado/data/job-results | ||
mkdir -p /build/avocado/data/cache | ||
cp examples/config/avocado-tests.conf /build/etc/avocado/avocado.conf | ||
VIRTUAL_ENV="/build/" python3 setup.py test --select=unit | ||
override_dh_installman: | ||
python3 setup.py man | ||
dh_installman | ||
%: | ||
dh $@ --with python3 --buildsystem=pybuild |
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 @@ | ||
[datadir.paths] | ||
base_dir = /build/avocado/data | ||
logs_dir = /build/avocado/data/job-results | ||
cache_dirs = ['/build/avocado/data/cache'] |