blob: 90fd7199018da7071c7716982d7cd9cf5ca63d8c [file] [log] [blame]
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
DESCRIPTION="LiteSPI provides a small footprint and configurable SPI core."
HOMEPAGE="https://github.com/litex-hub/litespi"
GIT_REV="4cb907881bb75999e4c6bb68e211dd5cfc301de9"
SRC_URI="https://github.com/litex-hub/${PN}/archive/${GIT_REV}.tar.gz -> ${PN}-${GIT_REV}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="*"
RDEPEND="
sci-electronics/litex[${PYTHON_USEDEP}]
sci-electronics/migen[${PYTHON_USEDEP}]
"
S="${WORKDIR}/${PN}-${GIT_REV}"
distutils_enable_tests unittest