diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2019-11-24 20:32:30 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2019-11-24 20:32:57 +0100 |
commit | 08c312f1734dc3b7b1a386c6ffce1244229d5445 (patch) | |
tree | cf2a7ee11b12ca3dc043f20712646c970e16ac55 /dev-embedded/esptool | |
parent | dev-python/fs: move tests to BDEPEND and use python_gen_cond_dep (diff) | |
download | gentoo-08c312f1734dc3b7b1a386c6ffce1244229d5445.tar.gz gentoo-08c312f1734dc3b7b1a386c6ffce1244229d5445.tar.bz2 gentoo-08c312f1734dc3b7b1a386c6ffce1244229d5445.zip |
dev-embedded/esptool: Version bump to 2.8
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'dev-embedded/esptool')
-rw-r--r-- | dev-embedded/esptool/Manifest | 1 | ||||
-rw-r--r-- | dev-embedded/esptool/esptool-2.8.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest index 48f1ea3e229c..61a54ed70245 100644 --- a/dev-embedded/esptool/Manifest +++ b/dev-embedded/esptool/Manifest @@ -1,2 +1,3 @@ DIST esptool-2.1.tar.gz 68974 BLAKE2B 4aaddc9bf22a624de18e7d58b35a42f6fa27cf8bdfff119a270b9531f1e19ecb3f4d7eebad319a799068a19941bf0c843fc464fd5ae891d8e03e1a2bad54dd68 SHA512 be657df04a345d2c91bbe3a9cbb93cd7bb0bc68e61388ff4d134c88d514c74fe3f2c5e7c64f4100264bc5973b1d3e66251cdb16a77894fb9e116d9c6a54a8dc3 DIST esptool-2.6.tar.gz 4336261 BLAKE2B 1da9ea1ed24d1bf91e2bbac079016c4813012946977ca6da7f6b4eac52ea77f501f4185efca39a636cab438720f0a14ca2faf49920228656fcb4786690824208 SHA512 dd2e1815df07a491d5b41b709aafecb642f5b642c83b11e309986ba0ad827257e6b7bb93f4decd7ee37fd10a1ee7b36c836598c0c2e1e60118bf96397c187dfd +DIST esptool-2.8.tar.gz 5399875 BLAKE2B c2c27dc44cec1921f2d800347682bb198be76f7a122fd6a0c9964fb189350980557aa85bd6cb8fb2d63c8c7ccdd18e1860b65ca85c8777145ec1da07da886be1 SHA512 14528197e760779f3bf50e2a44d477979675dd42451fa405e2ae87502158b21f999fb94561980c9eb0634d2d1fd3729779b78266403de858ed1d32e8d29604cc diff --git a/dev-embedded/esptool/esptool-2.8.ebuild b/dev-embedded/esptool/esptool-2.8.ebuild new file mode 100644 index 000000000000..c57c68a8c34c --- /dev/null +++ b/dev-embedded/esptool/esptool-2.8.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) + +inherit distutils-r1 + +DESCRIPTION="Utility to communicate with the ROM bootloader in Espressif ESP8266 and ESP32" +HOMEPAGE="https://github.com/espressif/esptool" +SRC_URI="https://github.com/espressif/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" + +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +RDEPEND=" + dev-python/ecdsa[${PYTHON_USEDEP}] + dev-python/pyaes[${PYTHON_USEDEP}] + >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] +" + +DEPEND=" + test? ( ${RDEPEND} + dev-python/pyelftools[${PYTHON_USEDEP}] + ) +" + +python_test() { + ${EPYTHON} test/test_imagegen.py || die "imagegen test failed with ${EPYTHON}" + ${EPYTHON} test/test_espsecure.py || die "espsecure test failed with ${EPYTHON}" +} |