diff --git a/upip/metadata.txt b/upip/metadata.txt index e37979b3..ef149fcc 100644 --- a/upip/metadata.txt +++ b/upip/metadata.txt @@ -1,6 +1,6 @@ srctype = micropython-lib type = module -version = 0.5.2 +version = 0.5.3 author = Paul Sokolovsky extra_modules = upip__libc, upip_errno, upip_gzip, upip_os, upip_os_path, upip_stat, upip_utarfile desc = Simple package manager for MicroPython. diff --git a/upip/setup.py b/upip/setup.py index 923d8af9..a16ee219 100644 --- a/upip/setup.py +++ b/upip/setup.py @@ -6,7 +6,7 @@ from setuptools import setup setup(name='micropython-upip', - version='0.5.2', + version='0.5.3', description='Simple package manager for MicroPython.', long_description='Simple package manager for MicroPython, targetting to be self-hosted (but not yet there). Compatible only with packages without custom setup.py code.', url='https://github.com/micropython/micropython/issues/405', diff --git a/upip/upip_utarfile.py b/upip/upip_utarfile.py index e9ebde18..2c3ab7f5 100644 --- a/upip/upip_utarfile.py +++ b/upip/upip_utarfile.py @@ -56,7 +56,7 @@ class TarFile: if not buf: return None - h = uctypes.struct(TAR_HEADER, uctypes.addressof(buf), uctypes.LITTLE_ENDIAN) + h = uctypes.struct(uctypes.addressof(buf), TAR_HEADER, uctypes.LITTLE_ENDIAN) # Empty block means end of archive if h.name[0] == 0: