commit: 95479b8e820614447e9517aa642d9064ac1defdb
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 23 06:19:21 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 23 06:19:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95479b8e
dev-python/mcbootflash: Bump to 10.0.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/mcbootflash/Manifest | 1 +
dev-python/mcbootflash/mcbootflash-10.0.0.ebuild | 36 ++++++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/dev-python/mcbootflash/Manifest b/dev-python/mcbootflash/Manifest
index e5f404ed8d5e..098cfe031457 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-9.0.1.tar.gz 26858 BLAKE2B
d8d8486a8713d46f7b93443dcfd9cbd9a93452fa7c8e76aeba1f4bfbf52765fbe3807fe8206b994015c094f9fba1626d5a3bb2fa93bd6b6400a9cbaaee7c19a9
SHA512
0c001a0a2c10e9d4bf111136d08ec89c4bc62568934ef9d8b75d7c58d59f451f5459ccc387c72424e8d16c5e49e7bba903efce403f41923ca33d87c2290a84e9
DIST test_mcbootflash.jsonl 9259 BLAKE2B
d05287760b3dc82ccf720a140390e027758a4e1e79d72364aed741937298d872127f11db8d5a4c07a93cb72f091ab89bd606062446f9108359205ec75c92321f
SHA512
b9f5ea649a8cff9ea576b96e22bb352c61f8cd1f3e7ca0a7a0ae84a2c03fa07b1ecc7a3d8a83de868e4f946ef9fb22a5fc757038be4c5ba2398c483c67bbd9ca
diff --git a/dev-python/mcbootflash/mcbootflash-10.0.0.ebuild
b/dev-python/mcbootflash/mcbootflash-10.0.0.ebuild
new file mode 100644
index 000000000000..2a1c3ba381d2
--- /dev/null
+++ b/dev-python/mcbootflash/mcbootflash-10.0.0.ebuild
@@ -0,0 +1,36 @@
+# 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..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/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
+}