Date: Wednesday, August 9, 2017 @ 18:46:53
  Author: jelle
Revision: 249679

upgpkg: esptool 2.0.1-1

Switch to Python 3

Modified:
  esptool/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-08-09 18:25:55 UTC (rev 249678)
+++ PKGBUILD    2017-08-09 18:46:53 UTC (rev 249679)
@@ -4,7 +4,7 @@
 # Contributor: MatejSpindler <spindler.ma...@gmail.com>
 
 pkgname=esptool
-pkgver=2.0
+pkgver=2.0.1
 pkgrel=1
 pkgdesc="A cute Python utility to communicate with the ROM bootloader in 
Espressif ESP8266"
 arch=('any')
@@ -11,15 +11,10 @@
 url="https://github.com/themadinventor/esptool";
 license=('GPL2')
 makedepends=('git')
-depends=('python2-pyserial')
+depends=('python-pyserial')
 source=("https://github.com/themadinventor/esptool/archive/v${pkgver}.tar.gz";)
-md5sums=('39c9293dd434f8f4b1348e53514a05c2')
+md5sums=('0abb173d955006ea35b330a927cd971b')
 
-prepare() {
-  cd "esptool-${pkgver}"
-  sed -i 's/python/python2/' esptool.py
-}
-
 package() {
   cd "esptool-${pkgver}"
   install -Dm755 "esptool.py" "${pkgdir}/usr/bin/esptool"

Reply via email to