dev-python/universal-silabs-flasher - 1.1.0 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/universal-silabs-flasher-1.1.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/universal-silabs-flasher-1.1.0

Or alternatively:

emerge --autounmask-write -a =dev-python/universal-silabs-flasher-1.1.0

Package Information

Description:
Tool to flash firmware onto any Silicon Labs radio running EmberZNet, CPC multi-PAN, or just a bare Gecko Bootloader
Homepage:
https://github.com/NabuCasa/universal-silabs-flasher https://pypi.org/project/universal-silabs-flasher/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
1.1.0 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi

DESCRIPTION="Tool to flash firmware onto any Silicon Labs radio running EmberZNet, CPC multi-PAN, or just a bare Gecko Bootloader"
HOMEPAGE="https://github.com/NabuCasa/universal-silabs-flasher https://pypi.org/project/universal-silabs-flasher/"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
RESTRICT="!test? ( test )"

DOCS="README.md"

RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
	dev-python/tqdm[${PYTHON_USEDEP}]
	dev-python/click[${PYTHON_USEDEP}]
	>=dev-python/zigpy-1.3.0[${PYTHON_USEDEP}]
	dev-python/crc[${PYTHON_USEDEP}]
	>=dev-python/bellows-0.49.0[${PYTHON_USEDEP}]
	dev-python/gpiod[${PYTHON_USEDEP}]
	dev-python/coloredlogs[${PYTHON_USEDEP}]
	dev-python/typing-extensions[${PYTHON_USEDEP}]"
BDEPEND="
	test? (
		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
		dev-python/pytest-timeout[${PYTHON_USEDEP}]
		dev-python/pytest-mock[${PYTHON_USEDEP}]
		dev-python/pytest-cov[${PYTHON_USEDEP}]
	)"

src_prepare() {
	# remove dynamic-versioning
	sed 's/dynamic = \["version"\]/version = \"'${PV}'\"/g' -i pyproject.toml || die
	sed 's/, "setuptools-git-versioning<2"//g' -i pyproject.toml || die
	eapply_user
}

distutils_enable_tests pytest

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/universal-silabs-flasher | euse -E <flag> -p dev-python/universal-silabs-flasher | euse -D <flag> -p dev-python/universal-silabs-flasher

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

dev-python/aiohttp[]
	dev-python/tqdm[]
	dev-python/click[]
	>=dev-python/zigpy-1.3.0[]
	dev-python/crc[]
	>=dev-python/bellows-0.49.0[]
	dev-python/gpiod[]
	dev-python/coloredlogs[]
	dev-python/typing-extensions[]

BDEPEND

	test? (
		dev-python/pytest-asyncio[]
		dev-python/pytest-timeout[]
		dev-python/pytest-mock[]
		dev-python/pytest-cov[]
	)