py-s3cmd: updated to 2.4.0

s3cmd-2.4.0

* Added "setversioning" command for versioning configuration (Kuan-Chun Wang)
* Added "settagging", "gettagging", and "deltagging" commands for bucket/object tagging (Kuan-Chun Wang)
* Added "setobjectretention" and "setobjectlegalhold" commands (Etienne Adam/Withings SAS)
* Added "setownership" and "setblockpublicaccess" commands
* Added "cfinval" command to request Cloudfront to invalidate paths
* Added "--keep-dirs" option to have the folder structure preserved on remote side
* Added --skip-destination-validation option for "setnotification" command (Kuan-Chun Wang)
* Added "--max-retries" flag and "max_retries" config option
* Added FIPS support (Michael Roth)
* Added "object ownership" and block public access" values to "info" command output for buckets
* Added to "ls" command a "DIROBJ" tag for directory objects in S3 remote
* Added server profiles to run-tests.py to skip tests depending on the server type
* Fixed "TypeError: sequence item 1: expected str instance, bytes found" error with Python 3.12
* Fixed a missing return for "object_batch_delete" of S3.py  (James Hewitt)
* Fixed "object is not callable" error because of md5 FIPS test
* Fixed "compute_content_md5 is not defined" error for "setversioning"
* Fixed list objects to use NextMarker when only prefixes are returned (Albin Parou)
* Fixed upload to not retry when an S3 compatible server is full
* Fixed recursive delete of objects named with whitespace
* Fixed the mime type when uploading directories to be "application/x-directory"
* Fixed "string indices must be integers" error for sync when in dry-run mode
* Fixed SignatureDoesNotMatch error when modifying an object on Cloudflare R2
* Fixed Cloudfront invalidation issue for paths with wildcard or special characters
* Fixed Cloudfront crash because of error reporting for retries
* Fixed Cloudfront "unable to parse URL" error
* Improved the handling of "empty" files on the remote side to sync with local folders
* Improved "abortmp" command by requiring an object to avoid bad accidents when using Ceph (Joshua Haas)
* Improved file download by retrying when encountering SlowDown or TooManyRequests errors (Robin Geiger)
* Improved error messages in case of connection error or host unreachable
* Improved error messages to be more explicit for upload errors after retries
* Improved remote2local attributes setting code
* Improved remote2local with more explicit error messages when setting attributes
* Improved remote2local output messages by using the "mkdir" prefix instead of "make dir"
* Improved the SortedDict class
* Improved run-test.py by using "--include" when calling Curl instead of "-include" (Matthew James Kraai)
* Improved GitHub CI by enabling pip cache in actions/setup-python (Anton Yakutovich)
* Improved GitHub CI by adding a "codespell" check on push and PRs (Yaroslav Halchenko)
* Updated GitHub CI tests to use more recent versions of Minio and Python
* Upgraded GitHub actions (Anton Yakutovich)
* Cleanup and update of copyright headers, docs, comments and setup.py
* Cleanup to fix "invalid escape sequence" syntax warnings
* Many other bug fixes and cleanups
This commit is contained in:
adam 2024-01-12 05:32:52 +00:00
parent e7b81ac0a9
commit fac060ea97
3 changed files with 15 additions and 14 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.25 2023/10/23 06:37:50 wiz Exp $
# $NetBSD: Makefile,v 1.26 2024/01/12 05:32:52 adam Exp $
DISTNAME= s3cmd-2.3.0
DISTNAME= s3cmd-2.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/s3cmd/}
@ -11,6 +10,8 @@ HOMEPAGE= https://s3tools.org/s3cmd
COMMENT= Command line tool for managing Amazon S3 and CloudFront services
LICENSE= gnu-gpl-v2
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-magic-[0-9]*:../../sysutils/py-magic
@ -20,5 +21,5 @@ PYTHON_SELF_CONFLICT= yes
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/batteries-included.mk"
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,10 +1,10 @@
@comment $NetBSD: PLIST,v 1.4 2023/08/05 06:06:07 adam Exp $
@comment $NetBSD: PLIST,v 1.5 2024/01/12 05:32:52 adam Exp $
bin/s3cmd
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/S3/ACL.py
${PYSITELIB}/S3/ACL.pyc
${PYSITELIB}/S3/ACL.pyo

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.6 2023/08/05 06:06:07 adam Exp $
$NetBSD: distinfo,v 1.7 2024/01/12 05:32:52 adam Exp $
BLAKE2s (s3cmd-2.3.0.tar.gz) = 8238c022e6e6cb794ae99e15ec87a3cb6b6ee5a4d1729e2aef7d8702cdb65f9c
SHA512 (s3cmd-2.3.0.tar.gz) = 3507fb8b597617a384508149cb30bdfa8bc8a7b3705782fbf9a943c4be413dc5b7cfb3572b632e8bebbb644ab31f418428ccca996c0d2ba840ad88df1f5a406a
Size (s3cmd-2.3.0.tar.gz) = 136754 bytes
BLAKE2s (s3cmd-2.4.0.tar.gz) = d45e3def92ac8ced6cff53a3dad0ea77fa27c3fe7fea685b1a66542e97693641
SHA512 (s3cmd-2.4.0.tar.gz) = 78a7fb193ef94759e6b59c8bccc2e736f4195f7de781f6a5d11a5685a3cf93ca9ef946bdefbfe0b0dafd0ea0612c8944283c3177f280d14edfca6553e62e0b49
Size (s3cmd-2.4.0.tar.gz) = 144976 bytes