diff options
author | Marek Szuba <marecki@gentoo.org> | 2024-01-30 12:48:21 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2024-01-30 15:14:56 +0000 |
commit | 3c5afcaeaea92a3d98f77c324005ce4c95546d0f (patch) | |
tree | e83cb333bfe35af3c6a545dd20b6a37416651a8a /dev-python/mcbootflash | |
parent | dev-python/pytest-reserial: new package, add 0.2.4 (diff) | |
download | gentoo-3c5afcaeaea92a3d98f77c324005ce4c95546d0f.tar.gz gentoo-3c5afcaeaea92a3d98f77c324005ce4c95546d0f.tar.bz2 gentoo-3c5afcaeaea92a3d98f77c324005ce4c95546d0f.zip |
dev-python/mcbootflash: new package, add 8.0.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-python/mcbootflash')
-rw-r--r-- | dev-python/mcbootflash/Manifest | 1 | ||||
-rw-r--r-- | dev-python/mcbootflash/mcbootflash-8.0.0.ebuild | 30 | ||||
-rw-r--r-- | dev-python/mcbootflash/metadata.xml | 17 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/mcbootflash/Manifest b/dev-python/mcbootflash/Manifest new file mode 100644 index 000000000000..a70bd3705a81 --- /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 000000000000..646189378d42 --- /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 000000000000..4813ad901260 --- /dev/null +++ b/dev-python/mcbootflash/metadata.xml @@ -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> |