summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-05-14 13:08:29 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-05-14 13:09:44 +0200
commit0dd9f9776e0cc0d749f322f4f57c20f369dd49e5 (patch)
treecf552aefd7faace11c235d23690a82de21212af8 /dev-embedded
parentdev-python/python-stdnum: Remove old (diff)
downloadgentoo-0dd9f9776e0cc0d749f322f4f57c20f369dd49e5.tar.gz
gentoo-0dd9f9776e0cc0d749f322f4f57c20f369dd49e5.tar.bz2
gentoo-0dd9f9776e0cc0d749f322f4f57c20f369dd49e5.zip
dev-embedded/esptool: Initial version
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/esptool/Manifest1
-rw-r--r--dev-embedded/esptool/esptool-1.3.ebuild25
-rw-r--r--dev-embedded/esptool/metadata.xml11
3 files changed, 37 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">espressif/esptool</remote-id>
+ </upstream>
+</pkgmetadata>