commit: 4c99982ef32127a6e65cbc9d4282d6b3ff650a19
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 21 04:07:24 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 21 04:34:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c99982e
dev-python/mcbootflash: Bump to 10.1.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/mcbootflash/Manifest | 1 +
dev-python/mcbootflash/mcbootflash-10.1.1.ebuild | 37 ++++++++++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/dev-python/mcbootflash/Manifest b/dev-python/mcbootflash/Manifest
index 234e94032909..1e3fdb0c0bfd 100644
--- a/dev-python/mcbootflash/Manifest
+++ b/dev-python/mcbootflash/Manifest
@@ -1,2 +1,3 @@
DIST mcbootflash-10.0.0.tar.gz 43202 BLAKE2B
78ddf1a0711a5147ecc55abbbeb2a220d41981ef547e609b0360ac2966f21826d7e0a11d324f82476af97501412dcfd7a72f4c593810f94c83d43d993588dc89
SHA512
5dd765af0dfb106e009f06d677cc892a53cd66611194cf4a990358d7060f3e13919132fdba8d91c5ed7523b0e25eb62553576e875e8976fc0890a148a7abe9b7
DIST mcbootflash-10.1.0.tar.gz 44252 BLAKE2B
d6fe39af1dfc253a376f7ea9dd5948af9fc3eb16b43da517377ee395b34b33de1a27c044a6e406d39ec1109158e0e436b29d67b05bae150b14856f93c24ff70e
SHA512
256464c27a8173d2aa42e120354e51bf992dd7c6905ff45ded61952edb6057b795b8c0dcb0cfb954b8b1fd9fd9a5a9449390671487d6b225eead842538b956a7
+DIST mcbootflash-10.1.1.tar.gz 44977 BLAKE2B
144c4d8b7db6e35e09c6c023b7f956a6f5ec2e7cc2bf6eca2a136470268c74d6e146b5b260b3318c427b194ec99020c17128ea0ad6a72e181d81e4f4f1c1c813
SHA512
6784901e57444f61afcc0fe0e67f8171be676da68c5d188aeb132ea82bbdd936badbfcd31bf126e8cd275762aa7899447600620c08c9b6a81a91c88e679e0926
diff --git a/dev-python/mcbootflash/mcbootflash-10.1.1.ebuild
b/dev-python/mcbootflash/mcbootflash-10.1.1.ebuild
new file mode 100644
index 000000000000..a8038a51f99f
--- /dev/null
+++ b/dev-python/mcbootflash/mcbootflash-10.1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{10..13} )
+
+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"
+
+RDEPEND="
+ >=dev-python/bincopy-20.0.0[${PYTHON_USEDEP}]
+ dev-python/datastructclass[${PYTHON_USEDEP}]
+ dev-python/pyserial[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-reserial[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p reserial --replay
+}