summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-08 20:01:45 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-08 20:01:45 +0100
commita87fec045004e5abb08bef49658d47028a6465b4 (patch)
tree3fd4f09a5d5c72c6f2ed7e8f381624e2dcf449c5 /dev-python/mcbootflash
parentdev-python/pytest-reserial: Bump to 0.3.0 (diff)
downloadgentoo-a87fec045004e5abb08bef49658d47028a6465b4.tar.gz
gentoo-a87fec045004e5abb08bef49658d47028a6465b4.tar.bz2
gentoo-a87fec045004e5abb08bef49658d47028a6465b4.zip
dev-python/mcbootflash: Bump to 8.0.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mcbootflash')
-rw-r--r--dev-python/mcbootflash/Manifest1
-rw-r--r--dev-python/mcbootflash/mcbootflash-8.0.1.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/mcbootflash/Manifest b/dev-python/mcbootflash/Manifest
index a70bd3705a81..51353cae006e 100644
--- a/dev-python/mcbootflash/Manifest
+++ b/dev-python/mcbootflash/Manifest
@@ -1 +1,2 @@
DIST mcbootflash-8.0.0.tar.gz 24386 BLAKE2B f9151017131b90f01da923084f2b42103fe54ea4c6fe6a77e7ca4f52619b1527829177dc74db6166585ccb003aa3e07c702469ff1d07f5d616870f232a0e5c3c SHA512 d1c3a437ca2878a386df44ecf4df2d5aebd26cd859509e003ebdc7203eb13b9bbdc4accdc0607e170646dd7fc22526a746f77770105dd637becb09dde706527f
+DIST mcbootflash-8.0.1.tar.gz 24906 BLAKE2B 2af5c73de29aa089d33047179ce196507ab1ed1ae224b6f680341a818d8056915271b121cf1ac32f31dd5e33e095f2b82fcddf5907bdb5513a17e009ac242f7f SHA512 fc4093873bbfc0a29d2c09b2f62247dd659b4c9d531613a2a18d6b452f7a0e573b5fa087d82686045af1ba6f7811ca3ccba0f109ada71c42925e8c01faa0fe1d
diff --git a/dev-python/mcbootflash/mcbootflash-8.0.1.ebuild b/dev-python/mcbootflash/mcbootflash-8.0.1.ebuild
new file mode 100644
index 000000000000..2821aae561f3
--- /dev/null
+++ b/dev-python/mcbootflash/mcbootflash-8.0.1.ebuild
@@ -0,0 +1,35 @@
+# 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"
+
+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() {
+ epytest --replay
+}