python3-send2trash: Upgrade 1.5.0 -> 1.7.1

Upgrade to release 1.7.1:

- Changed conditional for when to try to use pyobjc version
- 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
- 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

License-Update: License remains BSD-3-Clause License

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Leon Anavi 2021-06-23 12:06:00 +03:00 committed by Khem Raj
parent 60b44507d9
commit 226532a55c
2 changed files with 9 additions and 9 deletions

View File

@ -1,9 +0,0 @@
SUMMARY = "Send file to trash natively under Mac OS X, Windows and Linux"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=05faa35ba1ca10b723f19d286c9d5237"
inherit pypi setuptools3
SRC_URI[sha256sum] = "60001cc07d707fe247c94f74ca6ac0d3255aabcb930529690897ca2a39db28b2"
PYPI_PACKAGE = "Send2Trash"

View File

@ -0,0 +1,9 @@
SUMMARY = "Send file to trash natively under Mac OS X, Windows and Linux"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a02659c2d5f4cc626e4dcf6504b865eb"
inherit pypi setuptools3
SRC_URI[sha256sum] = "17730aa0a33ab82ed6ca76be3bb25f0433d0014f1ccf63c979bab13a5b9db2b2"
PYPI_PACKAGE = "Send2Trash"