dev-python/mcbootflash: new package, add 8.0.0

Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2024-01-30 12:48:21 +00:00
parent ee13eeb638
commit 3c5afcaeae
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST mcbootflash-8.0.0.tar.gz 24386 BLAKE2B f9151017131b90f01da923084f2b42103fe54ea4c6fe6a77e7ca4f52619b1527829177dc74db6166585ccb003aa3e07c702469ff1d07f5d616870f232a0e5c3c SHA512 d1c3a437ca2878a386df44ecf4df2d5aebd26cd859509e003ebdc7203eb13b9bbdc4accdc0607e170646dd7fc22526a746f77770105dd637becb09dde706527f

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Flash firmware to devices running Microchip's 16-bit bootloader"
HOMEPAGE="
https://pypi.org/project/mcbootflash/
https://github.com/bessman/mcbootflash/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# Tests require the presence of dedicated hardware
RESTRICT="test"
RDEPEND="
>=dev-python/bincopy-20.0.0[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
"
BDEPEND="test? ( dev-python/pytest-reserial[${PYTHON_USEDEP}] )"
distutils_enable_tests pytest

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>marecki@gentoo.org</email>
<name>Marek Szuba</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">mcbootflash</remote-id>
<remote-id type="github">bessman/mcbootflash</remote-id>
</upstream>
</pkgmetadata>