Path to this page:
./
sysutils/py-Send2Trash,
Send file to trash
Branch: CURRENT,
Version: 2.0.0,
Package name: py313-Send2Trash-2.0.0,
Maintainer: pkgsrc-usersSend2Trash 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.
Required to run:[
devel/py-setuptools] [
lang/python27]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 16.803 KB
Version history: (Expand)
- (2026-01-03) Updated to version: py313-Send2Trash-2.0.0
- (2025-10-24) Updated to version: py313-Send2Trash-1.8.3nb2
- (2025-10-24) Package has been reborn
- (2025-10-24) Package deleted from pkgsrc
- (2025-07-15) Package has been reborn
- (2025-07-15) Package deleted from pkgsrc
CVS history: (Expand)
2026-01-03 11:29:29 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
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
|
2025-04-14 10:31:30 by Adam Ciarcinski | Files touched by this commit (18) |  |
Log message:
Fix PLIST after py-setuptools update; bump depends and revision
|
| 2025-03-05 11:27:09 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-Send2Trash: fix wheel name for latest setuptools and depend on it
Bump PKGREVISION.
|
| 2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-04-08 10:09:14 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-Send2Trash: updated to 1.8.3
Version 1.8.3 -- 2024/04/06
---------------------------
* Add support for any iterable type as input
* fix: Use os.fsdecode() for arguments to shutil.move()
|
2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) |  |
Log message:
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.
|
2023-05-17 18:01:48 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
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
|
2022-02-05 12:52:00 by Adam Ciarcinski | Files touched by this commit (4) |  |
Log message:
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
|