BSD Ports

sysutils/py-Send2Trash 2.1.0 NetBSD

Send file to trash

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
sysutils, python
Package size
27.6 KiB, 99.7 KiB installed

Description

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.

Install

Binary package:

pkgin install py311-Send2Trash

From pkgsrc:

cd /usr/pkgsrc/sysutils/py-Send2Trash && make install clean

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-Send2Trash-2.1.0, py313-Send2Trash-2.1.0, py314-Send2Trash-2.1.0