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
This commit is contained in:
adam 2022-02-05 11:51:59 +00:00
parent ba24434eaa
commit 720993b82d
4 changed files with 38 additions and 8 deletions

View file

@ -0,0 +1 @@
bin/send2trash @PREFIX@/bin/send2trash-@PYVERSSUFFIX@

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.5 2022/01/04 20:54:47 wiz Exp $
# $NetBSD: Makefile,v 1.6 2022/02/05 11:51:59 adam Exp $
DISTNAME= Send2Trash-1.5.0
DISTNAME= Send2Trash-1.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=S/Send2Trash/}
@ -13,5 +12,11 @@ LICENSE= modified-bsd
USE_LANGUAGES= # none
USE_PKG_RESOURCES= yes
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} send2trash send2trash-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,11 +1,20 @@
@comment $NetBSD: PLIST,v 1.2 2018/02/25 21:10:03 wiz Exp $
@comment $NetBSD: PLIST,v 1.3 2022/02/05 11:51:59 adam Exp $
bin/send2trash-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/send2trash/IFileOperationProgressSink.py
${PYSITELIB}/send2trash/IFileOperationProgressSink.pyc
${PYSITELIB}/send2trash/IFileOperationProgressSink.pyo
${PYSITELIB}/send2trash/__init__.py
${PYSITELIB}/send2trash/__init__.pyc
${PYSITELIB}/send2trash/__init__.pyo
${PYSITELIB}/send2trash/__main__.py
${PYSITELIB}/send2trash/__main__.pyc
${PYSITELIB}/send2trash/__main__.pyo
${PYSITELIB}/send2trash/compat.py
${PYSITELIB}/send2trash/compat.pyc
${PYSITELIB}/send2trash/compat.pyo
@ -18,9 +27,24 @@ ${PYSITELIB}/send2trash/plat_gio.pyo
${PYSITELIB}/send2trash/plat_osx.py
${PYSITELIB}/send2trash/plat_osx.pyc
${PYSITELIB}/send2trash/plat_osx.pyo
${PYSITELIB}/send2trash/plat_osx_ctypes.py
${PYSITELIB}/send2trash/plat_osx_ctypes.pyc
${PYSITELIB}/send2trash/plat_osx_ctypes.pyo
${PYSITELIB}/send2trash/plat_osx_pyobjc.py
${PYSITELIB}/send2trash/plat_osx_pyobjc.pyc
${PYSITELIB}/send2trash/plat_osx_pyobjc.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
${PYSITELIB}/send2trash/plat_win_legacy.py
${PYSITELIB}/send2trash/plat_win_legacy.pyc
${PYSITELIB}/send2trash/plat_win_legacy.pyo
${PYSITELIB}/send2trash/plat_win_modern.py
${PYSITELIB}/send2trash/plat_win_modern.pyc
${PYSITELIB}/send2trash/plat_win_modern.pyo
${PYSITELIB}/send2trash/util.py
${PYSITELIB}/send2trash/util.pyc
${PYSITELIB}/send2trash/util.pyo

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.5 2021/10/26 11:20:02 nia Exp $
$NetBSD: distinfo,v 1.6 2022/02/05 11:51:59 adam Exp $
BLAKE2s (Send2Trash-1.5.0.tar.gz) = 613b7a3debc310c678e13c9e10758b4b5aee646d634a117176afd68b6fa3cf3e
SHA512 (Send2Trash-1.5.0.tar.gz) = 3c08ef513e5707cd4ac82290b326bb19161222c7a84b8ffd494789ba9858929241f55ea55482947af464c14e32fea27bd92cd762a32a1d55e2daf2e21fd63172
Size (Send2Trash-1.5.0.tar.gz) = 10892 bytes
BLAKE2s (Send2Trash-1.8.0.tar.gz) = 5f20a59b299fe1e79ab96149a08726f2f6cdbe7c4203adba5c3b12e9ab86214f
SHA512 (Send2Trash-1.8.0.tar.gz) = f6be4cebc7e494f713e3352d9d9062d4c88b75746e207b453429f8d3d7d5e46d08a3bc523423c4c63b767850e10d88157570598c1dab7f38917920f87f58458c
Size (Send2Trash-1.8.0.tar.gz) = 13455 bytes