summaryrefslogtreecommitdiffstats
path: root/python/esptool
diff options
context:
space:
mode:
Diffstat (limited to 'python/esptool')
-rw-r--r--python/esptool/esptool.SlackBuild25
-rw-r--r--python/esptool/esptool.info8
2 files changed, 9 insertions, 24 deletions
diff --git a/python/esptool/esptool.SlackBuild b/python/esptool/esptool.SlackBuild
index 1ede5c2bd5..a65380b42f 100644
--- a/python/esptool/esptool.SlackBuild
+++ b/python/esptool/esptool.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for esptool
# Written by Tim Dickson dickson.tim@googlemail.com
-# Copyright (c) 2020/2022 Tim Dickson, Scotland
+# Copyright (c) 2020/2024 Tim Dickson, Scotland
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,12 +27,14 @@
# so use pypi.org/project/esptool download source tar.gz instead.
# note to others. I don't actually use this or have hardware to test it.
-# I am reliant on those that requested it doing any testing.
+# I am reliant on those that requested it doing any testing. :-)
+# 2023/12/06 added some extra deps. bumped build number
+# 2024/01/17 update to 4.7.0
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=esptool
-VERSION=${VERSION:-4.3}
+VERSION=${VERSION:-4.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -45,9 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -57,20 +56,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
diff --git a/python/esptool/esptool.info b/python/esptool/esptool.info
index d53347f34d..3214bcd28c 100644
--- a/python/esptool/esptool.info
+++ b/python/esptool/esptool.info
@@ -1,10 +1,10 @@
PRGNAM="esptool"
-VERSION="4.3"
+VERSION="4.7.0"
HOMEPAGE="https://github.com/espressif/esptool"
-DOWNLOAD="https://files.pythonhosted.org/packages/5b/d7/0dae311a94a490d7b7af2f4fab079b34f6244c6129017997bc994f7b360b/esptool-4.3.tar.gz"
-MD5SUM="973b63eac1391d3491846d8676c783e7"
+DOWNLOAD="https://files.pythonhosted.org/packages/1b/8b/f0d1e75879dee053874a4f955ed1e9ad97275485f51cb4bc2cb4e9b24479/esptool-4.7.0.tar.gz"
+MD5SUM="e7f2012cf31cd23f60049b179fb3b53a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pyserial"
+REQUIRES="pyserial ecdsa python-bitstring reedsolo"
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"