From 0dd9f9776e0cc0d749f322f4f57c20f369dd49e5 Mon Sep 17 00:00:00 2001 From: Manuel Rüger Date: Sun, 14 May 2017 13:08:29 +0200 Subject: dev-embedded/esptool: Initial version Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- dev-embedded/esptool/Manifest | 1 + dev-embedded/esptool/esptool-1.3.ebuild | 25 +++++++++++++++++++++++++ dev-embedded/esptool/metadata.xml | 11 +++++++++++ 3 files changed, 37 insertions(+) create mode 100644 dev-embedded/esptool/Manifest create mode 100644 dev-embedded/esptool/esptool-1.3.ebuild create mode 100644 dev-embedded/esptool/metadata.xml (limited to 'dev-embedded/esptool') diff --git a/dev-embedded/esptool/Manifest b/dev-embedded/esptool/Manifest new file mode 100644 index 000000000000..fe021fb41fee --- /dev/null +++ b/dev-embedded/esptool/Manifest @@ -0,0 +1 @@ +DIST esptool-1.3.tar.gz 34412 SHA256 f3fcf7f34d7c5467f29a43ddcd37e7c1d412f198bb8db928f50ed4cfc8da11f8 SHA512 7458dfb3818619b96ac1003349504feafe909f41bd5dfef1b482b45dd12cee55453b3cc60fbd05f342876dff97b17a487525d951283d69e355582c21d1acc14c WHIRLPOOL 06334c5dd2865d73cd74060a119cc44c0274ee51d5fc1460f1c5a4481f9869b1cf8f8e7f62577c893d3f27a6cf217019afaee521defb7185c2a4077df78d2892 diff --git a/dev-embedded/esptool/esptool-1.3.ebuild b/dev-embedded/esptool/esptool-1.3.ebuild new file mode 100644 index 000000000000..b5cbfdaddaef --- /dev/null +++ b/dev-embedded/esptool/esptool-1.3.ebuild @@ -0,0 +1,25 @@ +# 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="A utility to communicate with the ROM bootloader in Espressif ESP8266" +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="" + +RDEPEND="dev-python/pyserial[${PYTHON_USEDEP}]" + +RESTRICT="test" # Uses a device connected to the serial port + +python_test() { + ${EPYTHON} test/test_esptool.py || die +} diff --git a/dev-embedded/esptool/metadata.xml b/dev-embedded/esptool/metadata.xml new file mode 100644 index 000000000000..1e51aa840f8a --- /dev/null +++ b/dev-embedded/esptool/metadata.xml @@ -0,0 +1,11 @@ + + + + + mrueg@gentoo.org + Manuel Rüger + + + espressif/esptool + + -- cgit v1.2.3-65-gdbad