./sysutils/py-Send2Trash, Send file to trash

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.8.3, Package name: py311-Send2Trash-1.8.3, Maintainer: pkgsrc-users

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.


Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 16.986 KB

Version history: (Expand)


CVS history: (Expand)


   2024-04-08 10:09:14 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
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) | Package updated
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) | Package updated
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) | Package updated
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
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:20:30 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:58:44 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Remove SHA1 hashes for distfiles
   2018-04-06 22:19:42 by Adam Ciarcinski | Files touched by this commit (1) | Package updated
Log message:
py-Send2Trash: updated HOMEPAGE