Up to [cvs.NetBSD.org] / pkgsrc / sysutils / py-Send2Trash
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-Send2Trash: updated to 2.0.0 Version 2.0.0 -- 2025/12/30 * Drop suport for Python 2 * Fix `test_trash_topdir` failing on macOS * Update source installation instructions * Update gio implemenation, should fix 5 by no longer using deprecated GObject.GError
Fix PLIST after py-setuptools update; bump depends and revision
python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs.
py-Send2Trash: updated to 1.8.2 Version 1.8.2 * win/legacy: tiny logic simplification * TravisCI is not used anymore * fix(ci): Update to latest actions, fix python versions
py-Send2Trash: updated to 1.8.0 Version 1.8.0 -- 2021/08/08 --------------------------- * Add compatibility with pathlib paths * Fix thread compatibility of modern windows implementation * Fix handling of UNC names in legacy windows implementation Version 1.7.1 -- 2021/06/21 --------------------------- * Release stable version with changes from last 3 releases * Fix handling of UNC names Version 1.7.0a1 -- 2021/05/14 ----------------------------- * Changed conditional for when to try to use pyobjc version Version 1.7.0a0 -- 2021/04/20 ----------------------------- * Add console_script entry point * Increased python CI versions * Fix minor issue in setup.py * Fix issue with windows tests importing modules on non-windows * Unit test cleanups, rewrites, and flake8 cleanups * Windows: Fix legacy windows platform for multi-byte unicode and add tests * macOS: Add alternative pyobjc version to potentially improve compatibility Version 1.6.0b1 -- 2020/06/18 ----------------------------- * Add main method which allows calling via ``python -m send2trash somefile`` * Windows: Add support for using IFileOperation when pywin32 is present on Vista and newer * Add support for passing multiple files at once in a list * Windows: Batch multi-file calls to improve performance * Windows: Fix issue with SHFileOperation failing silently when path is not found
py-Send2Trash: update to 1.5.0. Version 1.5.0 -- 2018/02/16 --------------------------- * More specific error when failing to create XDG fallback trash directory (#20) * Windows: Workaround for long paths (#23)
sysutils/py-Send2Trash: import py-Send2Trash-1.4.1 Send2Trash is a small package that sends files to the Trash (or Recycle Bin) natively and on all platforms. On OS X, it uses native FSMoveObjectToTrashSync Cocoa calls, on Windows, it uses native (and ugly) SHFileOperation win32 calls. On other platforms, if PyGObject and GIO are available, it will use this. Otherwise, it will fallback to its own implementation of the trash specifications from freedesktop.org.