From nobody Sat Jan 28 08:32:00 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P3njr5D4Fz3bLFP for ; Sat, 28 Jan 2023 08:32:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P3njr2K84z4TLY for ; Sat, 28 Jan 2023 08:32:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674894720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=saYxjpTUYp4pJ4culhlAWCyOGWSYnwYt4CZfPRHoocw=; b=UlYTlDN/XZniLIi3zImPtW/oiEzYHrxOBETEDq2HEHIpi/HqwkCublYMCIgLuD3Dv2co1t ushEMv5i47FrRp/Zy46R762svK7xJdImiMVloQZLw+QjlNoMQRrhH3SYxhdHNFgysENmuR ASkhirtFFEn5c29ZvnHkFZPQac25oS6/1Bmjq2Wv4m8ButmAaE/sw+GIuxt11Cauc3kPMV 3cS/givv2hGmyXCgGCJe1QDUTbVbttx5mueQJeTWVtoxlCnU/+rdoaExESXqA70qM9KVPb dzn4jrlFoXs3opghoeyhr8kxkpvoqBdDJZw5jchor1lzYmDuGAnMLDaHPVxfpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674894720; a=rsa-sha256; cv=none; b=ZPnKDZyH3SP01fo9h9R6frEYGzEMmdiA4dTZDrz/IwUqrCSGF9++vZ+3+x/vm2G36/yQc6 KN/14SzSZV277zQXnoB41UclLVmnAqONRC5wjwy4PYCp3hk+j5HokCo7KOKGvPId1OgF3z BlYDqStf0kJHNBA2qxY48ZahdwaIInyMLDcVZxg1LmT4mSCkPPguVkvyh0lTEpn+OjAXay qj1xf7sPK8+fOYyzz2pukmNUxWNn46gSGTu+8ADT7tF4/k8NPRFyhCBYOFiwDvRm5by8tw QZWbNpfs/tqpUKYqKIRgpMNpJUg6z2QYv7r1kFod4f485WfO8e0gHOhO28icng== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P3njr1PJtzhV5 for ; Sat, 28 Jan 2023 08:32:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 30S8W00X092935 for ; Sat, 28 Jan 2023 08:32:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30S8W0Ac092934 for ports-bugs@FreeBSD.org; Sat, 28 Jan 2023 08:32:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269199] textproc/py-extract-msg: Update to 0.39.0 Date: Sat, 28 Jan 2023 08:32:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: DtxdF@disroot.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269199 Bug ID: 269199 Summary: textproc/py-extract-msg: Update to 0.39.0 Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/TeamMsgExtractor/msg-extractor/blob /v0.39.0/CHANGELOG.md OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: DtxdF@disroot.org Attachment #239760 maintainer-approval+ Flags: Created attachment 239760 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239760&action= =3Dedit py-extract-msg-0.39.0.patch Description: ChangeLog: https://github.com/TeamMsgExtractor/msg-extractor/blob/v0.39.0/CHANGELOG.md * Added code to handle a standards violation (from what I can tell, anyways) caused by the attachment not having an AttachMethod property. The code wi= ll log a warning, attempt to detect the method, and throw a StandardViolationError if it fails. * Changed the way string named properties are handled to allow for the stri= ng stream to have some errors and still be parsed. Warnings about these erro= rs will be logged. * Fixed an issues with contact saving when a list property returns None. * Fixed a bug that could cause some files to error when exporting. * Fixed an issue where creation and modification times were not being copied to the new OLE file created by OleWriter. * Fixed up a few docstrings. * Fixed a few issues in MSGFile regarding the filename keyword argument. * Added new argument rootPath to OleWriter.fromOleFile for saving a specific directory from an OLE file instead of just copying the entire file. That directory will become the root of the new one. * Adjusted code for OleWriter to generate certain values only at save time = to make them more dynamic. This allows for existing streams to be properly edited (although has issues with allowing storages to be edited). * Added new function OleWriter.deleteEntry to remove an entry that was alre= ady added. If the entry is a storage, all children will be removed too. * Added new function OleWriter.editEntry to edit an entry that was already added. * Added new function OleWriter.addEntry to add a new entry to the writer without an OleFileIO instance. Properties of the entry are instead set using the = same keyword arguments as described in OleWriter.editEntry. * Changed _DirectoryEntry to DirectoryEntry to make the more finalized vers= ion public. Access to the originals that the OleWriter class creates should never hap= pen, instead copies should be returned to ensure the behavior is as expected. * Added new function OleWriter.getEntry which returns a copy of the DirectoryEntry instance for that stream or storage in the writer. Use this function to s= ee the current internal state of an entry. * Added new function OleWriter.renameEntry which allows the user to rename a stream or storage (in place). This only changes it's direct name and not it's locat= ion in the new OLE file. * Added new function OleWriter.walk which is similar to os.walk but for wal= king the structure of the new OLE file. * Added new function OleWriter.listItems which is functionally equivalent to olefile.OleFileIO.listdir which returns a list of paths to every item. Optionally a user can get the paths just for streams, just for storages, or both. Requesting neither will simply return an empty list. * Default is to just return streams. * Added a small amount of path validation to inputToMsgPath which is used i= n a lot of places where user input for a path is accepted. It ensures illegal characters don't exist and that the path segments (each name for a storage or stream) are less than 32 characters. This will be most helpful for OleWriter. * Added many internal helper functions to OleWriter to make extensions easi= er and consolidate common code. Many of these involve direct access to internal = data which is why they are private. QA: * portlint: - WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX. * testport: OK (poudriere: 13.1-RELEASE, amd64) --=20 You are receiving this mail because: You are the assignee for the bug.=