summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-09-25 10:58:53 +0200
committerJakov Smolić <jsmolic@gentoo.org>2021-09-25 11:02:42 +0200
commit7b85f965e0187e83940bb7782bcd3e6bbd637aa7 (patch)
tree52555c1b6bcdcc7e87f3aeea32e79608726f0502 /dev-embedded/nodemcu-uploader
parentdev-embedded/platformio: Fix DISTUTILS_USE_SETUPTOOLS (diff)
downloadgentoo-7b85f965e0187e83940bb7782bcd3e6bbd637aa7.tar.gz
gentoo-7b85f965e0187e83940bb7782bcd3e6bbd637aa7.tar.bz2
gentoo-7b85f965e0187e83940bb7782bcd3e6bbd637aa7.zip
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>
Diffstat (limited to 'dev-embedded/nodemcu-uploader')
-rw-r--r--dev-embedded/nodemcu-uploader/nodemcu-uploader-1.0.0.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-embedded/nodemcu-uploader/nodemcu-uploader-1.0.0.ebuild b/dev-embedded/nodemcu-uploader/nodemcu-uploader-1.0.0.ebuild
index 036812167200..f8f4861793bb 100644
--- a/dev-embedded/nodemcu-uploader/nodemcu-uploader-1.0.0.ebuild
+++ b/dev-embedded/nodemcu-uploader/nodemcu-uploader-1.0.0.ebuild
@@ -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
+}