diff options
Diffstat (limited to 'dev-python/mcbootflash')
-rw-r--r-- | dev-python/mcbootflash/Manifest | 3 | ||||
-rw-r--r-- | dev-python/mcbootflash/mcbootflash-8.0.0.ebuild | 30 | ||||
-rw-r--r-- | dev-python/mcbootflash/metadata.xml | 17 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/mcbootflash/Manifest b/dev-python/mcbootflash/Manifest new file mode 100644 index 000000000000..6ba833bf0aef --- /dev/null +++ b/dev-python/mcbootflash/Manifest @@ -0,0 +1,3 @@ +DIST mcbootflash-8.0.0.tar.gz 24386 BLAKE2B f9151017131b90f01da923084f2b42103fe54ea4c6fe6a77e7ca4f52619b1527829177dc74db6166585ccb003aa3e07c702469ff1d07f5d616870f232a0e5c3c SHA512 d1c3a437ca2878a386df44ecf4df2d5aebd26cd859509e003ebdc7203eb13b9bbdc4accdc0607e170646dd7fc22526a746f77770105dd637becb09dde706527f +EBUILD mcbootflash-8.0.0.ebuild 678 BLAKE2B 1191765d27cb472dc1449aa0ee711f354babed14e6db36d264f910ff414b726e78a48264a1797da217fceb7f5e012df60b07a0e2d9f1f9042e06f5a941fdbb7e SHA512 dc0c1674d042e57f8a04bb04c0b57bdc59eb6fb51b5fd2776c210ac07cab3630015a980dee49a8e1585ecb0dc32e47fc38626f495f4d4e86ba322c93057e6792 +MISC metadata.xml 504 BLAKE2B 86fa5201deb637e8116b44bb62c2776a771ffcfb2aaf40eb1c16e0520ef5fc1f0969e0edccd13e1d605410d8ea4b69fbda374ebe2ffa6d3928028c88b021d428 SHA512 390124c79adbc966992ac3ba90cc15a5f5f4551ca1d329c3227de3dd92998ab7900f0bc1361a5aaa6ab1403ba6d01138ce2d2164b57a6297b2ba943bdeecce63 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> |