[arch-commits] Commit in esptool/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Mon Feb 4 13:42:33 UTC 2019
Date: Monday, February 4, 2019 @ 13:42:33
Author: jelle
Revision: 429566
switch to setup.py
Modified:
esptool/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-04 12:11:53 UTC (rev 429565)
+++ PKGBUILD 2019-02-04 13:42:33 UTC (rev 429566)
@@ -8,14 +8,19 @@
pkgrel=1
pkgdesc="A cute Python utility to communicate with the ROM bootloader in Espressif ESP8266"
arch=('any')
-url="https://github.com/themadinventor/esptool"
+url="https://github.com/espressif/esptool"
license=('GPL2')
-makedepends=('git')
-depends=('python-pyserial')
-source=("https://github.com/themadinventor/esptool/archive/v${pkgver}.tar.gz")
+makedepends=('git' 'python-setuptools')
+depends=('python-pyserial' 'python-ecdsa' 'python-pyaes')
+source=("https://github.com/espressif/esptool/archive/v${pkgver}.tar.gz")
sha512sums=('dd2e1815df07a491d5b41b709aafecb642f5b642c83b11e309986ba0ad827257e6b7bb93f4decd7ee37fd10a1ee7b36c836598c0c2e1e60118bf96397c187dfd')
+build() {
+ cd "${pkgname}-${pkgver}"
+ python3 setup.py build
+}
+
package() {
- cd "esptool-${pkgver}"
- install -Dm755 "esptool.py" "${pkgdir}/usr/bin/esptool"
+ cd "${pkgname}-${pkgver}"
+ python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
More information about the arch-commits
mailing list