mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user