From 872c92455c2458f46b7a5338a4733f6e56203d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Thu, 15 Jun 2017 17:31:36 +0200 Subject: dev-embedded/esptool: Version bump to 2.0 Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- dev-embedded/esptool/Manifest | 1 + dev-embedded/esptool/esptool-2.0.ebuild | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 dev-embedded/esptool/esptool-2.0.ebuild diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest index fe021fb41fe..d07a0fa802f 100644 --- a/dev-embedded/esptool/Manifest +++ b/dev-embedded/esptool/Manifest @@ -1 +1,2 @@ DIST esptool-1.3.tar.gz 34412 SHA256 f3fcf7f34d7c5467f29a43ddcd37e7c1d412f198bb8db928f50ed4cfc8da11f8 SHA512 7458dfb3818619b96ac1003349504feafe909f41bd5dfef1b482b45dd12cee55453b3cc60fbd05f342876dff97b17a487525d951283d69e355582c21d1acc14c WHIRLPOOL 06334c5dd2865d73cd74060a119cc44c0274ee51d5fc1460f1c5a4481f9869b1cf8f8e7f62577c893d3f27a6cf217019afaee521defb7185c2a4077df78d2892 +DIST esptool-2.0.tar.gz 67742 SHA256 ce9978d0f003e9ff1e2ebc5f25d035e84d73de44d002ce43117bd50c686269ec SHA512 b8a0342267e7897da54d2841b2b187b938dcd998ff777b7eada629e73b4b42d882b44159dbd70c304c14571770d69e2cfa8f97388b14b6c0e1ce0aaf282b116c WHIRLPOOL b64fa279e5c42ef251ab89a20f532086cfeb23e3e0c37fd6f58c633ddf4f344b54b0ebe73fcfe5c5645e35a909b2689bedf7e50576beaae1bf9bbafe0999347a diff --git a/dev-embedded/esptool/esptool-2.0.ebuild b/dev-embedded/esptool/esptool-2.0.ebuild new file mode 100644 index 00000000000..066db389f9a --- /dev/null +++ b/dev-embedded/esptool/esptool-2.0.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 +} -- cgit v1.2.1