From 3c5afcaeaea92a3d98f77c324005ce4c95546d0f Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Tue, 30 Jan 2024 12:48:21 +0000 Subject: [PATCH] dev-python/mcbootflash: new package, add 8.0.0 Signed-off-by: Marek Szuba --- dev-python/mcbootflash/Manifest | 1 + .../mcbootflash/mcbootflash-8.0.0.ebuild | 30 +++++++++++++++++++ dev-python/mcbootflash/metadata.xml | 17 +++++++++++ 3 files changed, 48 insertions(+) create mode 100644 dev-python/mcbootflash/Manifest create mode 100644 dev-python/mcbootflash/mcbootflash-8.0.0.ebuild create mode 100644 dev-python/mcbootflash/metadata.xml diff --git a/dev-python/mcbootflash/Manifest b/dev-python/mcbootflash/Manifest new file mode 100644 index 0000000000000..a70bd3705a81f --- /dev/null +++ b/dev-python/mcbootflash/Manifest @@ -0,0 +1 @@ +DIST mcbootflash-8.0.0.tar.gz 24386 BLAKE2B f9151017131b90f01da923084f2b42103fe54ea4c6fe6a77e7ca4f52619b1527829177dc74db6166585ccb003aa3e07c702469ff1d07f5d616870f232a0e5c3c SHA512 d1c3a437ca2878a386df44ecf4df2d5aebd26cd859509e003ebdc7203eb13b9bbdc4accdc0607e170646dd7fc22526a746f77770105dd637becb09dde706527f diff --git a/dev-python/mcbootflash/mcbootflash-8.0.0.ebuild b/dev-python/mcbootflash/mcbootflash-8.0.0.ebuild new file mode 100644 index 0000000000000..646189378d42c --- /dev/null +++ b/dev-python/mcbootflash/mcbootflash-8.0.0.ebuild @@ -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 diff --git a/dev-python/mcbootflash/metadata.xml b/dev-python/mcbootflash/metadata.xml new file mode 100644 index 0000000000000..4813ad901260b --- /dev/null +++ b/dev-python/mcbootflash/metadata.xml @@ -0,0 +1,17 @@ + + + + + marecki@gentoo.org + Marek Szuba + + + python@gentoo.org + Python + + + + mcbootflash + bessman/mcbootflash + +