dev-embedded/nodemcu-uploader: Port to py3.10, fix D.U.S and setuptools warning

Closes: https://bugs.gentoo.org/814608
Closes: https://bugs.gentoo.org/796422
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
Jakov Smolić
2021-09-25 10:58:53 +02:00
parent 3b179a0fc9
commit 7b85f965e0

View File

@@ -3,8 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7..10} )
inherit distutils-r1
DESCRIPTION="Simple tool for uploading files to the filesystem of an ESP8266 running NodeMCU"
@@ -18,3 +17,10 @@ KEYWORDS="~amd64 ~x86"
RDEPEND=">=dev-python/pyserial-3.4[${PYTHON_USEDEP}]"
distutils_enable_tests setup.py
src_prepare() {
# https://bugs.gentoo.org/796422
sed -i -e 's:description-file:description_file:' setup.cfg || die
distutils-r1_src_prepare
}