Subject: CVS commit: pkgsrc/devel/py-pathvalidate
From: Adam Ciarcinski
Date: 2023-11-27 21:30:58
Message id: 20231127203058.C8E64FA40@cvs.NetBSD.org

Log Message:
py-pathvalidate: updated to 3.2.0

v3.2.0

Add reserved_name_handler argument to sanitize_filename function and \ 
sanitize_filepath function
Add NullValueHandler class and ReservedNameHandler class
Add fs_encoding property and byte_count property to ValidationError class
Add additional_reserved_names argument to validate/sanitize functions to allow \ 
custom reserved names
Modify the return value format of ValidationError.__str__ method
Improve type annotations

v3.1.0

Fix validation error messages to show the target-platform properly
Fix README: out of date with the actual error generated by validate_filename
Add description property to ErrorReason class
Add as_slog method to ValidationError class
Add docs extras
Change the type of the return value of ValidationError.reason from \ 
Optional[ErrorReason] to ErrorReason
Update [build-system]
Drop support for Python 3.6

v3.0.0

Trim heading spaces in Windows
Consider filesystem encoding for length calculations
Fix type model
Fix sanitizing of filenames that only consist of whitespaces and periods
Add validate_unprintable_char function
Add validate_after_sanitize keyword argument to sanitize_filename and \ 
sanitize_filepath functions
Add error codes to ErrorReason
Add zip_safe=False to setup
Modify to accept pathvalidate.Platform type as platform arguments
Rename type alias from Handler to NullValueHandler
Remove InvalidLengthError to use ValidationError
Improve type annotations
Make it possible to import FileNameValidator and FilePathValidator classes from \ 
the package root
Change constructor arguments of FileNameSanitizer and FilePathSanitizer classes
Remove min_len
Add validator
Remove deprecated functions
Modify error messages
Refactoring

Files:
RevisionActionfile
1.4modifypkgsrc/devel/py-pathvalidate/Makefile
1.2modifypkgsrc/devel/py-pathvalidate/PLIST
1.2modifypkgsrc/devel/py-pathvalidate/distinfo