summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2019-08-13 11:44:10 +0000
committergdt <gdt@pkgsrc.org>2019-08-13 11:44:10 +0000
commit4d7737baf5a0d4c84df6b11e2ff89c0e588a4b12 (patch)
treeb324d0e24cb1d6dfaa9771b7e125844eefd1cd8b /comms
parent90a2a6a29d7e6a845eab1f0f0841d9ca659034c8 (diff)
downloadpkgsrc-4d7737baf5a0d4c84df6b11e2ff89c0e588a4b12.tar.gz
comms/py-esptool: Add version 2.7
This is a program to upload firmware images to ESP8266/ESP32 chips.
Diffstat (limited to 'comms')
-rw-r--r--comms/Makefile3
-rw-r--r--comms/py-esptool/DESCR1
-rw-r--r--comms/py-esptool/Makefile26
-rw-r--r--comms/py-esptool/PLIST18
-rw-r--r--comms/py-esptool/distinfo6
5 files changed, 53 insertions, 1 deletions
diff --git a/comms/Makefile b/comms/Makefile
index 353b7b52a0a..4ebf5faed33 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.109 2018/07/16 21:53:48 joerg Exp $
+# $NetBSD: Makefile,v 1.110 2019/08/13 11:44:10 gdt Exp $
#
COMMENT= Communication utilities
@@ -68,6 +68,7 @@ SUBDIR+= pilot-link-libs
SUBDIR+= pilotmgr
SUBDIR+= plp
SUBDIR+= py-colorama
+SUBDIR+= py-esptool
SUBDIR+= py-gammu
SUBDIR+= py-serial
SUBDIR+= py-termstyle
diff --git a/comms/py-esptool/DESCR b/comms/py-esptool/DESCR
new file mode 100644
index 00000000000..59e7cf46fde
--- /dev/null
+++ b/comms/py-esptool/DESCR
@@ -0,0 +1 @@
+This package contains a utility to load firmware into ESP8266 and ESP32 chips.
diff --git a/comms/py-esptool/Makefile b/comms/py-esptool/Makefile
new file mode 100644
index 00000000000..ec316d7c7e5
--- /dev/null
+++ b/comms/py-esptool/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2019/08/13 11:44:10 gdt Exp $
+
+GITHUB_PROJECT= esptool
+VERSION= 2.7
+NBVERSION=
+PKGNAME= ${GITHUB_PROJECT}-${VERSION}${NBVERSION}
+DISTNAME= v${VERSION}
+CATEGORIES= comms
+MASTER_SITES= ${MASTER_SITE_GITHUB:=espressif/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= gdt@NetBSD.org
+HOMEPAGE= https://github.com/espressif/esptool/
+COMMENT= Firmware tool for ESP8266/ESP32
+LICENSE= gnu-gpl-v2
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+EGG_INFODIR= ${PKGNAME_NOREV}-py${PYVERSSUFFIX}.egg-info
+
+USE_LANGUAGES= # none
+
+DEPENDS+= ${PYPKGPREFIX}-serial>=3.4:../../comms/py-serial
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/comms/py-esptool/PLIST b/comms/py-esptool/PLIST
new file mode 100644
index 00000000000..39a709664d4
--- /dev/null
+++ b/comms/py-esptool/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2019/08/13 11:44:10 gdt Exp $
+bin/espefuse.py
+bin/espsecure.py
+bin/esptool.py
+${PYSITELIB}/espefuse.pyo
+${PYSITELIB}/espefuse.pyc
+${PYSITELIB}/espsecure.pyo
+${PYSITELIB}/espsecure.pyc
+${PYSITELIB}/esptool.pyo
+${PYSITELIB}/esptool.pyc
+${PYSITELIB}/espefuse.py
+${PYSITELIB}/espsecure.py
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/esptool.py
diff --git a/comms/py-esptool/distinfo b/comms/py-esptool/distinfo
new file mode 100644
index 00000000000..f1adc7ef8de
--- /dev/null
+++ b/comms/py-esptool/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/08/13 11:44:10 gdt Exp $
+
+SHA1 (esptool/v2.7.tar.gz) = ee0e93ce5042bfcd5ad0f79cb26e3b238b7a0123
+RMD160 (esptool/v2.7.tar.gz) = fa4d1bcd753f075c370d4d3c5c16ddcd9e0396e1
+SHA512 (esptool/v2.7.tar.gz) = 3a80c969b3716983ebff683b643acc0272497afd513d6bc60894874fe2ee6ee22f0f6930324a8f14f735a7e5ea10377d7311a2cf05faff46d06f05eaaf417e1c
+Size (esptool/v2.7.tar.gz) = 5396543 bytes