upip: Update for uctype.struct() signature change.

pull/29/merge
Paul Sokolovsky 2015-06-06 23:00:33 +03:00
rodzic d34b3708f5
commit 8f184ee189
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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.

Wyświetl plik

@ -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',

Wyświetl plik

@ -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: