commit: 4cba3e1dadb155dc41b772f63ed2a18b14f1f599 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Mon Jun 26 17:25:04 2017 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Mon Jun 26 17:25:04 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cba3e1d
dev-embedded/esptool: Version bump to 2.0.1 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-embedded/esptool/Manifest | 1 + dev-embedded/esptool/esptool-2.0.1.ebuild | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest index d07a0fa802f..21532b04552 100644 --- a/dev-embedded/esptool/Manifest +++ b/dev-embedded/esptool/Manifest @@ -1,2 +1,3 @@ DIST esptool-1.3.tar.gz 34412 SHA256 f3fcf7f34d7c5467f29a43ddcd37e7c1d412f198bb8db928f50ed4cfc8da11f8 SHA512 7458dfb3818619b96ac1003349504feafe909f41bd5dfef1b482b45dd12cee55453b3cc60fbd05f342876dff97b17a487525d951283d69e355582c21d1acc14c WHIRLPOOL 06334c5dd2865d73cd74060a119cc44c0274ee51d5fc1460f1c5a4481f9869b1cf8f8e7f62577c893d3f27a6cf217019afaee521defb7185c2a4077df78d2892 +DIST esptool-2.0.1.tar.gz 67905 SHA256 413bc0a47088cb10770a20a472eb297d92a7ba933539fff981ceea95d17d45bd SHA512 13bc1594fc5546c3a461929f9413eab47cd9173c4fa89572801e1be5f1956f0e71589005ab5d547919eec94064d64307349a8f79b3833a90d9e79ead8bd694c4 WHIRLPOOL b727d105a43d7da04f41264ced26e2e598edca1b88bdaf97e9edc4418b5afd00a16c13fb0c1c2b54658541bd6b4b8186585985f383eb3d5e3a74c40abea6c0c7 DIST esptool-2.0.tar.gz 67742 SHA256 ce9978d0f003e9ff1e2ebc5f25d035e84d73de44d002ce43117bd50c686269ec SHA512 b8a0342267e7897da54d2841b2b187b938dcd998ff777b7eada629e73b4b42d882b44159dbd70c304c14571770d69e2cfa8f97388b14b6c0e1ce0aaf282b116c WHIRLPOOL b64fa279e5c42ef251ab89a20f532086cfeb23e3e0c37fd6f58c633ddf4f344b54b0ebe73fcfe5c5645e35a909b2689bedf7e50576beaae1bf9bbafe0999347a diff --git a/dev-embedded/esptool/esptool-2.0.1.ebuild b/dev-embedded/esptool/esptool-2.0.1.ebuild new file mode 100644 index 00000000000..066db389f9a --- /dev/null +++ b/dev-embedded/esptool/esptool-2.0.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 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" +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 +}