diff options
author | Jeffery To <jeffery.to@gmail.com> | 2023-08-07 14:32:26 +0800 |
---|---|---|
committer | Tianling Shen <cnsztl@gmail.com> | 2023-08-13 10:54:38 +0800 |
commit | 0bcbdf129b968023a8ca4f6f15d80c0219e9f969 (patch) | |
tree | 363c754d1bf227e9149822749535c28c982191ac | |
parent | 7fb8e823b977c6d95225cc98fdb1f31455b5e179 (diff) |
python-intelhex: Update to 2.3.0
This version includes the fix from the removed patch.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
-rw-r--r-- | lang/python/python-intelhex/Makefile | 13 | ||||
-rw-r--r-- | lang/python/python-intelhex/patches/001-Fix-Python-3.9-compatibility-issue-with-array-module.patch | 21 |
2 files changed, 6 insertions, 28 deletions
diff --git a/lang/python/python-intelhex/Makefile b/lang/python/python-intelhex/Makefile index 8e0abd739..19fc2ac06 100644 --- a/lang/python/python-intelhex/Makefile +++ b/lang/python/python-intelhex/Makefile @@ -5,12 +5,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-intelhex -PKG_VERSION:=2.2.1 -PKG_RELEASE:=4 +PKG_VERSION:=2.3.0 +PKG_RELEASE:=1 -PYPI_NAME:=IntelHex -PYPI_SOURCE_NAME:=intelhex -PKG_HASH:=009d8511e0d50639230c39af9607deee771cf026f67ef7507a8c3fd4fa927832 +PYPI_NAME:=intelhex +PKG_HASH:=892b7361a719f4945237da8ccf754e9513db32f5628852785aea108dcd250093 PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz> PKG_LICENSE:=BSD-3-Clause @@ -24,8 +23,8 @@ define Package/python3-intelhex SECTION:=lang CATEGORY:=Languages SUBMENU:=Python - TITLE:=python3-intelhex - URL:=https://github.com/bialix/intelhex + TITLE:=Intel HEX files manipulations + URL:=https://github.com/python-intelhex/intelhex DEPENDS:=+python3-light endef diff --git a/lang/python/python-intelhex/patches/001-Fix-Python-3.9-compatibility-issue-with-array-module.patch b/lang/python/python-intelhex/patches/001-Fix-Python-3.9-compatibility-issue-with-array-module.patch deleted file mode 100644 index dae6c8b03..000000000 --- a/lang/python/python-intelhex/patches/001-Fix-Python-3.9-compatibility-issue-with-array-module.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 4125dce5b174401d38cc0fcf9d2e1aad07997f5e Mon Sep 17 00:00:00 2001 -From: fernandez85 <fernandez2005@gmail.com> -Date: Sun, 11 Oct 2020 12:39:06 +0200 -Subject: [PATCH] Fix Python 3.9 compatibility issue with 'array' module - ---- - intelhex/compat.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- a/intelhex/compat.py -+++ b/intelhex/compat.py -@@ -57,7 +57,8 @@ if sys.version_info[0] >= 3: - return s - return s.decode('latin1') - -- array_tobytes = getattr(array.array, "tobytes", array.array.tostring) -+ # for python >= 3.2 use 'tobytes', otherwise 'tostring' -+ array_tobytes = array.array.tobytes if sys.version_info[1] >= 2 else array.array.tostring - - IntTypes = (int,) - StrType = str |