Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
py-olefile update
To:
Remi Pointel <rpointel@openbsd.org>
Cc:
ports <ports@openbsd.org>
Date:
Tue, 13 May 2025 12:26:22 +0100

Download raw body.

Thread
  • Stuart Henderson:

    py-olefile update

from changelog:

    - fixed issue #142: isOleFile has a new data parameter to handle files in memory properly
    - fixed issue #156: write_sect now correctly detects when data is larger than the sector size
    - use GitHub actions for testing and Codecov for coverage, added python 3.8 to 3.12 (PR #157 by @hugovk)
    - added VT_VECTOR support for properties (PR #135 by Maciej Kotowicz @mak)
    - olefile is now distributed as a universal wheel package in PyPI (PR #130 by @hugovk)
    - olefile will not close a file handle if it was provided by the caller
      (PR #121 by Christian Herdtweck, issue #120)
    - added exceptions OleFileError and NotOleFileError to replace IOError (PR #110 by Ken Peterson @TheElementalOfCreation)
    - added get_userdefined_properties to parse user-defined properties (PR #114 by @DissectMalware)

switch to pypi distfile and enable tests while there.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-olefile/Makefile,v
diff -u -p -r1.16 Makefile
--- Makefile	29 Apr 2025 10:38:08 -0000	1.16
+++ Makefile	13 May 2025 11:25:16 -0000
@@ -1,13 +1,9 @@
 COMMENT =	parse, read and write Microsoft OLE2 files

-MODPY_DISTV =	0.46
+MODPY_DISTV =	0.47
 DISTNAME =	olefile-${MODPY_DISTV}
+EXTRACT_SUFX =	.zip
 PKGNAME =	py-${DISTNAME}
-REVISION =	9
-
-GH_ACCOUNT =	decalage2
-GH_PROJECT =	olefile
-GH_TAGNAME =	v${MODPY_DISTV}

 CATEGORIES =	devel

@@ -19,8 +15,7 @@ MAINTAINER =	Remi Pointel <rpointel@open
 PERMIT_PACKAGE =	Yes

 MODULES =	lang/python
-MODPY_PYBUILD =		setuptools
-
-NO_TEST = 	Yes
+MODPY_PYBUILD =	setuptools
+MODPY_PI =	Yes

 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-olefile/distinfo,v
diff -u -p -r1.4 distinfo
--- distinfo	30 Sep 2018 06:06:52 -0000	1.4
+++ distinfo	13 May 2025 11:25:16 -0000
@@ -1,2 +1,2 @@
-SHA256 (olefile-0.46.tar.gz) = EdGjgQ5QlWyTYKTHbx7Ovz5U+dhAb3USe9DSlmOEiPQ=
-SIZE (olefile-0.46.tar.gz) = 97587
+SHA256 (olefile-0.47.zip) = WZODOBoL89+9kyygymUVrNF07UiHDL9/7hI9aYwZLBw=
+SIZE (olefile-0.47.zip) = 112240