-
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 Debian/Ubuntu. Signed-off-by: David Negreira <[email protected]>
- Loading branch information
Showing
7 changed files
with
174 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,131 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: Avocado Framework | ||
Source: https://avocado-framework.github.io/ | ||
|
||
Files: * | ||
Copyright: (C) 2013-2024 Red Hat Inc. | ||
License: GPL-2+ | ||
|
||
Files: debian/* | ||
Copyright: 2024 David Negreira <[email protected]> | ||
License: GPL-2+ | ||
|
||
Files: avocado/utils/service.py | ||
Copyright: (C) 2013 Intel Corporation. | ||
License: GPL-2 | ||
|
||
Files: avocado/optional_plugins/html/avocado_result_html/templates/bootstrap.min.css | ||
avocado/optional_plugins/html/avocado_result_html/templates/bootstrap.min.css | ||
avocado/optional_plugins/html/avocado_result_html/templates/bootstrap.min.js | ||
Copyright: (C) 2011-2016 Twitter, Inc. | ||
License: Expat | ||
|
||
Files: avocado/selftests/.data/jenkins-junit.xsd | ||
Copyright: (C) 2010 Thales Corporate Services SAS | ||
License: Expat | ||
|
||
Files: avocado/avocado/utils/external/spark.py | ||
Copyright: (C) 1998-2002 John Aycock | ||
License: Expat | ||
|
||
Files: avocado/selftests/unit/utils/service.py | ||
Copyright: (C) 2013 Intel Corporation | ||
License: GPL-2 | ||
|
||
Files: avocado/optional_plugins/result_upload/avocado_result_upload/result_upload.py | ||
Copyright: Virtuozzo Inc. 2017 | ||
License: GPL-2+ | ||
|
||
Files: avocado/avocado/core/tree.py | ||
Copyright: (C) 2014 Red Hat Inc. | ||
(C) 2009 Jaime Huerta-Cepas <[email protected]> | ||
License: GPL-2+ | ||
|
||
Files: avocado/avocado/utils/dmesg.py | ||
avocado/avocado/utils/softwareraid.py | ||
avocado/avocado/utils/pmem.py | ||
avocado/avocado/utils/multipath.py | ||
avocado/avocado/utils/disk.py | ||
avocado/avocado/utils/nvme.py | ||
avocado/avocado/utils/pci.py | ||
avocado/avocado/utils/linux_modules.py | ||
Copyright: (C) 2016, 2018-2020, 2022 IBM | ||
License: GPL-2+ | ||
|
||
Files: avocado/avocado/utils/lv_utils.py | ||
Copyright: (C) IBM 2016 - Harish <[email protected]> | ||
(C) Red Hat 2016 - Lukas Doktor <[email protected]> | ||
(C) Intra2net AG 2018 - Plamen Dimitrov <[email protected]> | ||
License: GPL-2 | ||
|
||
Files: avocado/avocado/utils/linux.py | ||
avocado/avocado/utils/network/interfaces.py | ||
avocado/avocado/utils/software_manager/inspector.py | ||
avocado/avocado/utils/software_manager/main.py | ||
avocado/avocado/utils/software_manager/backends/base.py | ||
Copyright: (C) IBM, 2008-2009, 2019-2020 | ||
(C) Red Hat Inc. 2009-2014, 2019-2020 | ||
License: GPL-2+ | ||
|
||
Files: avocado/avocado/utils/external/gdbmi_parser.py | ||
Copyright: (C) 2008 Michael Eddington | ||
License: Expat | ||
|
||
Files: avocado/avocado/utils/partition.py | ||
Copyright: (C) IBM 2016 | ||
(C) Red Hat Inc. 2016 | ||
(C) Google 2006-2008 | ||
License: GPL-2+ | ||
|
||
License: Expat | ||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so | ||
|
||
License: GPL | ||
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 1. | ||
. | ||
This program is distributed in the hope that it will be useful, but | ||
WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
General Public License for more details. | ||
. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, write to the Free Software | ||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
|
||
License: GPL-2+ | ||
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; either version 2 of the License, or (at | ||
your option) any later version. | ||
. | ||
This program is distributed in the hope that it will be useful, but | ||
WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
General Public License for more details. | ||
. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, | ||
USA. | ||
|
||
License: GPL-2 | ||
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. | ||
. | ||
This program is distributed in the hope that it will be useful, but | ||
WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
General Public License for more details. | ||
. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, | ||
USA. |
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'] |