# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 DESCRIPTION="Open Source Secure Provisioning SDK for NXP MCU/MPU" HOMEPAGE="https://github.com/nxp-mcuxpresso/spsdk" MY_PN="spsdk" MY_COMMIT="2.2.0" MY_P="${MY_PN}-${MY_COMMIT}" SRC_URI="https://github.com/nxp-mcuxpresso/spsdk/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${MY_P}" export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" # x86 is missing from dev-python/click-option-group::guru IUSE="examples" RDEPEND=" >=dev-python/asn1crypto-1.2[$PYTHON_USEDEP] =dev-python/bincopy-17.14.5[$PYTHON_USEDEP] =dev-python/bitstring-3.1[$PYTHON_USEDEP] =dev-python/click-7.1[$PYTHON_USEDEP] =dev-python/click-option-group-0.3.0[$PYTHON_USEDEP] =dev-python/colorama-0.4.6[$PYTHON_USEDEP] =dev-python/colorama-0.4*[$PYTHON_USEDEP] =dev-python/commentjson-0.9*[$PYTHON_USEDEP] =dev-python/cryptography-3.4.4[$PYTHON_USEDEP] =dev-python/fastjsonschema-2.15.1[$PYTHON_USEDEP] =dev-python/fastjsonschema-2*[$PYTHON_USEDEP] =dev-libs/libusbsio-2.1.11[python,$PYTHON_USEDEP] =dev-libs/libusbsio-2*[python,$PYTHON_USEDEP] =dev-python/pyserial-3.1[$PYTHON_USEDEP]