David Riley | f95b086 | 2020-05-06 12:44:45 -0700 | [diff] [blame^] | 1 | # Copyright 2020 The Chromium OS Authors. All rights reserved. |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | |
| 4 | EAPI="7" |
| 5 | |
| 6 | CROS_WORKON_PROJECT="chromiumos/platform/graphics" |
| 7 | CROS_WORKON_LOCALNAME="platform/graphics" |
| 8 | CROS_WORKON_SUBTREE="src/results_database" |
| 9 | |
| 10 | PYTHON_COMPAT=( python3_{6,7,8} ) |
| 11 | |
| 12 | inherit cros-workon distutils-r1 |
| 13 | |
| 14 | DESCRIPTION="Graphics utilities written in python" |
| 15 | HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform/graphics/" |
| 16 | |
| 17 | LICENSE="BSD-Google" |
| 18 | SLOT=0 |
| 19 | KEYWORDS="~*" |
| 20 | IUSE="" |
| 21 | |
| 22 | RDEPEND="chromeos-base/cros-config-api" |
| 23 | |
| 24 | DEPEND=" |
| 25 | ${RDEPEND} |
| 26 | " |
| 27 | |
| 28 | BDEPEND=" |
| 29 | dev-python/setuptools[${PYTHON_USEDEP}] |
| 30 | " |
| 31 | |
| 32 | src_unpack() { |
| 33 | cros-workon_src_unpack |
| 34 | S+="/src/results_database" |
| 35 | } |
| 36 | |
| 37 | src_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 | } |