pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/py-Send2Trash



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Feb  5 11:52:00 UTC 2022

Modified Files:
        pkgsrc/sysutils/py-Send2Trash: Makefile PLIST distinfo
Added Files:
        pkgsrc/sysutils/py-Send2Trash: ALTERNATIVES

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/py-Send2Trash/ALTERNATIVES
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/py-Send2Trash/Makefile \
    pkgsrc/sysutils/py-Send2Trash/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/py-Send2Trash/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/py-Send2Trash/Makefile
diff -u pkgsrc/sysutils/py-Send2Trash/Makefile:1.5 pkgsrc/sysutils/py-Send2Trash/Makefile:1.6
--- pkgsrc/sysutils/py-Send2Trash/Makefile:1.5  Tue Jan  4 20:54:47 2022
+++ pkgsrc/sysutils/py-Send2Trash/Makefile      Sat Feb  5 11:51:59 2022
@@ -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"
Index: pkgsrc/sysutils/py-Send2Trash/distinfo
diff -u pkgsrc/sysutils/py-Send2Trash/distinfo:1.5 pkgsrc/sysutils/py-Send2Trash/distinfo:1.6
--- pkgsrc/sysutils/py-Send2Trash/distinfo:1.5  Tue Oct 26 11:20:02 2021
+++ pkgsrc/sysutils/py-Send2Trash/distinfo      Sat Feb  5 11:51:59 2022
@@ -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

Index: pkgsrc/sysutils/py-Send2Trash/PLIST
diff -u pkgsrc/sysutils/py-Send2Trash/PLIST:1.2 pkgsrc/sysutils/py-Send2Trash/PLIST:1.3
--- pkgsrc/sysutils/py-Send2Trash/PLIST:1.2     Sun Feb 25 21:10:03 2018
+++ pkgsrc/sysutils/py-Send2Trash/PLIST Sat Feb  5 11:51:59 2022
@@ -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

Added files:

Index: pkgsrc/sysutils/py-Send2Trash/ALTERNATIVES
diff -u /dev/null pkgsrc/sysutils/py-Send2Trash/ALTERNATIVES:1.1
--- /dev/null   Sat Feb  5 11:52:00 2022
+++ pkgsrc/sysutils/py-Send2Trash/ALTERNATIVES  Sat Feb  5 11:51:59 2022
@@ -0,0 +1 @@
+bin/send2trash @PREFIX@/bin/send2trash-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index