From 34374bb41c4401cda6f5fcf9562d0d2ac77a0889 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Fri, 17 May 2024 15:58:11 -0400 Subject: [PATCH] cc2538-bsl: needed for sniffle firmware loading --- dev-python/cc2538-bsl/cc2538-bsl-9999.ebuild | 27 ++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 dev-python/cc2538-bsl/cc2538-bsl-9999.ebuild diff --git a/dev-python/cc2538-bsl/cc2538-bsl-9999.ebuild b/dev-python/cc2538-bsl/cc2538-bsl-9999.ebuild new file mode 100644 index 000000000..b25df02de --- /dev/null +++ b/dev-python/cc2538-bsl/cc2538-bsl-9999.ebuild @@ -0,0 +1,27 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..12} ) + +inherit distutils-r1 git-r3 + +DESCRIPTION="upload firmware via the serial boot loader onto the CC13xx, CC2538 and CC26xx" +HOMEPAGE="https://github.com/JelmerT/cc2538-bsl" +# Using a fork for sonoff support +# https://github.com/JelmerT/cc2538-bsl/pull/168 +# https://github.com/JelmerT/cc2538-bsl/pull/173 +EGIT_REPO_URI="https://github.com/sultanqasim/cc2538-bsl.git" + +LICENSE="BSD-3" +SLOT="0" + +RDEPEND=" + dev-python/intelhex + dev-python/python-magic +" +BDEPEND="test? ( dev-python/scripttest )" + +distutils_enable_tests pytest