Sunday, August 12, 2018

[MAINTAINER UPDATE] sysutils/py-scandir 1.8 -> 1.9.0

Index: sysutils/py-scandir/Makefile
===================================================================
RCS file: /cvs/ports/sysutils/py-scandir/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 Makefile
--- sysutils/py-scandir/Makefile 9 Aug 2018 19:08:11 -0000 1.1.1.1
+++ sysutils/py-scandir/Makefile 12 Aug 2018 22:13:49 -0000
@@ -2,7 +2,7 @@

COMMENT = improved directory iterator and faster os.walk()

-MODPY_EGG_VERSION = 1.8
+MODPY_EGG_VERSION = 1.9.0
DISTNAME = scandir-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}

Index: sysutils/py-scandir/distinfo
===================================================================
RCS file: /cvs/ports/sysutils/py-scandir/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 distinfo
--- sysutils/py-scandir/distinfo 9 Aug 2018 19:08:11 -0000 1.1.1.1
+++ sysutils/py-scandir/distinfo 12 Aug 2018 22:13:49 -0000
@@ -1,2 +1,2 @@
-SHA256 (scandir-1.8.tar.gz) = jVAR06mQQsTZDordoAUtRHWq49V7uScBImemxZGG2HA=
-SIZE (scandir-1.8.tar.gz) = 33065
+SHA256 (scandir-1.9.0.tar.gz) = RJdeIJxIJ/wYo0hvJXFU007G6uwPkP7wzKHKpILbcGQ=
+SIZE (scandir-1.9.0.tar.gz) = 33315
Index: sysutils/py-scandir/patches/patch-scandir_py
===================================================================
RCS file: sysutils/py-scandir/patches/patch-scandir_py
diff -N sysutils/py-scandir/patches/patch-scandir_py
--- sysutils/py-scandir/patches/patch-scandir_py 9 Aug 2018 19:08:11 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,24 +0,0 @@
-$OpenBSD: patch-scandir_py,v 1.1.1.1 2018/08/09 19:08:11 danj Exp $
-
-Merged upstream: https://github.com/benhoyt/scandir/pull/109
-
-Index: scandir.py
---- scandir.py.orig
-+++ scandir.py
-@@ -422,6 +422,16 @@ elif sys.platform.startswith(('linux', 'darwin', 'suno
- ('d_type', ctypes.c_byte),
- ('d_name', ctypes.c_char * 256),
- )
-+ elif 'openbsd' in sys.platform:
-+ _fields_ = (
-+ ('d_ino', ctypes.c_uint64), # must be uint64
-+ ('d_off', ctypes.c_uint64),
-+ ('d_reclen', ctypes.c_uint16),
-+ ('d_type', ctypes.c_uint8),
-+ ('d_namlen', ctypes.c_uint8),
-+ ('__d_padding', ctypes.c_uint8 * 4),
-+ ('d_name', ctypes.c_char * 256),
-+ )
- else:
- _fields_ = (
- ('d_ino', ctypes.c_uint32), # must be uint32, not ulong
Changelog:
Fix build on Python 2.7 (#107).
Fix dirent struct alignment on OpenBSD (#109).

They pull my request to patch the package upstream.
So the following diff updates to 1.9.0 and removes the patch.

No consumers yet of this port.
All test passing.

Cheers.
Elias.

No comments:

Post a Comment