pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/py-Send2Trash sysutils/py-Send2Trash: import ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a913f6721aa
branches:  trunk
changeset: 369047:8a913f6721aa
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Sep 26 11:21:27 2017 +0000

description:
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.

diffstat:

 sysutils/py-Send2Trash/DESCR    |   7 +++++++
 sysutils/py-Send2Trash/Makefile |  16 ++++++++++++++++
 sysutils/py-Send2Trash/PLIST    |  23 +++++++++++++++++++++++
 sysutils/py-Send2Trash/distinfo |   6 ++++++
 4 files changed, 52 insertions(+), 0 deletions(-)

diffs (68 lines):

diff -r 2e799cff2053 -r 8a913f6721aa sysutils/py-Send2Trash/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-Send2Trash/DESCR      Tue Sep 26 11:21:27 2017 +0000
@@ -0,0 +1,7 @@
+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.
diff -r 2e799cff2053 -r 8a913f6721aa sysutils/py-Send2Trash/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-Send2Trash/Makefile   Tue Sep 26 11:21:27 2017 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/09/26 11:21:27 wiz Exp $
+
+DISTNAME=      Send2Trash-1.4.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    python sysutils
+MASTER_SITES=  ${MASTER_SITE_PYPI:=S/Send2Trash/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://pypi.python.org/pypi/Send2Trash
+COMMENT=       Send file to trash
+LICENSE=       modified-bsd
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2e799cff2053 -r 8a913f6721aa sysutils/py-Send2Trash/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-Send2Trash/PLIST      Tue Sep 26 11:21:27 2017 +0000
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/26 11:21:27 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/send2trash/__init__.py
+${PYSITELIB}/send2trash/__init__.pyc
+${PYSITELIB}/send2trash/__init__.pyo
+${PYSITELIB}/send2trash/compat.py
+${PYSITELIB}/send2trash/compat.pyc
+${PYSITELIB}/send2trash/compat.pyo
+${PYSITELIB}/send2trash/plat_gio.py
+${PYSITELIB}/send2trash/plat_gio.pyc
+${PYSITELIB}/send2trash/plat_gio.pyo
+${PYSITELIB}/send2trash/plat_osx.py
+${PYSITELIB}/send2trash/plat_osx.pyc
+${PYSITELIB}/send2trash/plat_osx.pyo
+${PYSITELIB}/send2trash/plat_other.py
+${PYSITELIB}/send2trash/plat_other.pyc
+${PYSITELIB}/send2trash/plat_other.pyo
+${PYSITELIB}/send2trash/plat_win.py
+${PYSITELIB}/send2trash/plat_win.pyc
+${PYSITELIB}/send2trash/plat_win.pyo
diff -r 2e799cff2053 -r 8a913f6721aa sysutils/py-Send2Trash/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-Send2Trash/distinfo   Tue Sep 26 11:21:27 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/09/26 11:21:27 wiz Exp $
+
+SHA1 (Send2Trash-1.4.1.tar.gz) = 1e9f676e2d2378c03613ac8b743b7e5eb9ddb4e4
+RMD160 (Send2Trash-1.4.1.tar.gz) = d6100018219986b4ec590f79f89e5cbb735be9b2
+SHA512 (Send2Trash-1.4.1.tar.gz) = 87cd0e352c7daf42aa63dd5d427f4a2c879bc53b6f85b3381a7be6dcef228e7dbf03f63a6de60c6c312e7bdea1c55d594fdef3b1798ce6aad35f884c878b4157
+Size (Send2Trash-1.4.1.tar.gz) = 6068 bytes



Home | Main Index | Thread Index | Old Index