kopia lustrzana https://github.com/micropython/micropython-lib
upip: Update for uctype.struct() signature change.
rodzic
d34b3708f5
commit
8f184ee189
|
@ -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.
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue