blob: 6b6993e196f5805f707cbc4504d83830606a0dd3 [file] [log] [blame]
David Rileyf95b0862020-05-06 12:44:45 -07001# Copyright 2020 The Chromium OS Authors. All rights reserved.
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI="7"
5
6CROS_WORKON_PROJECT="chromiumos/platform/graphics"
7CROS_WORKON_LOCALNAME="platform/graphics"
8CROS_WORKON_SUBTREE="src/results_database"
9
10PYTHON_COMPAT=( python3_{6,7,8} )
11
12inherit cros-workon distutils-r1
13
14DESCRIPTION="Graphics utilities written in python"
15HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform/graphics/"
16
17LICENSE="BSD-Google"
18SLOT=0
19KEYWORDS="~*"
20IUSE=""
21
22RDEPEND="chromeos-base/cros-config-api"
23
24DEPEND="
25 ${RDEPEND}
26"
27
28BDEPEND="
29 dev-python/setuptools[${PYTHON_USEDEP}]
30"
31
32src_unpack() {
33 cros-workon_src_unpack
34 S+="/src/results_database"
35}
36
37src_install() {
38 dobin bq_insert_pb.py
39 dobin generate_trace_info.py
40 dobin record_machine_info.py
41 dobin record_package_override.py
42 dobin record_software_config.py
43 dobin summarize_apitrace_log.py
44
45 distutils-r1_src_install
46}