diff options
-rw-r--r-- | dev-embedded/esptool/Manifest | 1 | ||||
-rw-r--r-- | dev-embedded/esptool/esptool-2.3.1.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest index ba7354924a46..8882897c21d5 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.2.tar.gz 70585 BLAKE2B ea4553d7857987233d1488e6db1993ec687ce10c9c810c7a5327043283fab19b10863106ecf8bfac6d7585a8bbf2823b90d7e225dd4a27bfb784f183e86c796a SHA512 a84b61875a8f227b8103fcc546eb1323547159fbdc962d0577eb6498126589c9fa3b23ca840d33ab2636d7c05de3eb048bdfbdbd86d895c8e37f9bbc169a4caa +DIST esptool-2.3.1.tar.gz 72312 BLAKE2B 4e44a2be2a72ab25e85af9b380f5f80896a84490f30180a98ed20822ac087d24511613d205bed04c8c92d1effc6b2074c2208d4ba5f72b6b661aff7c1b4e02b5 SHA512 8025e1e7a378c0fce27c5ea2d3290cd12e7f657039f0fed6b4bd938a10d971739b678714c2f19f0d2edab3d2215e7975ba685604f870d45a18d60f3147c643b8 diff --git a/dev-embedded/esptool/esptool-2.3.1.ebuild b/dev-embedded/esptool/esptool-2.3.1.ebuild new file mode 100644 index 000000000000..d97627828f28 --- /dev/null +++ b/dev-embedded/esptool/esptool-2.3.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Utility to communicate with the ROM bootloader in Espressif ESP8266 and ESP32" +HOMEPAGE="https://github.com/espressif/esptool" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + dev-python/ecdsa[${PYTHON_USEDEP}] + dev-python/pyaes[${PYTHON_USEDEP}] + >=dev-python/pyserial-2.5[${PYTHON_USEDEP}]" + +RESTRICT="test" # Uses a device connected to the serial port + +python_test() { + ${EPYTHON} test/test_esptool.py || die +} |