net/py-s4cmd: Add new port

S4cmd is a command-line utility for accessing S3 storage, inspired by
s3cmd.

It is intended as an alternative to s3cmd for enhanced performance and
for large files, and with a number of additional features and fixes for
data-intensive applications.

It strives to be compatible with the most common usage scenarios for
s3cmd. It does not offer exact drop-in compatibility, due to a number of
corner cases where different behavior seems preferable, or for bugfixes.

S4cmd supports the regular commands you might expect for fetching and
storing files in S3: ls, put, get, cp, mv, sync, del, du.
This commit is contained in:
Emanuel Haupt
2022-02-21 18:14:17 +01:00
parent a5bde8875d
commit c8d5a97927
3 changed files with 41 additions and 0 deletions

23
net/py-s4cmd/Makefile Normal file
View File

@@ -0,0 +1,23 @@
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
PORTNAME= s4cmd
DISTVERSION= 2.1.0-11
DISTVERSIONSUFFIX= -ge74e0e7
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Command line client for S3 storage
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.3.1:www/py-boto3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>=2016.4:devel/py-pytz@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
GH_ACCOUNT= bloomreach
USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.mk>

3
net/py-s4cmd/distinfo Normal file
View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1645462321
SHA256 (bloomreach-s4cmd-2.1.0-11-ge74e0e7_GH0.tar.gz) = b5d3c398a83818a142d756ecf9f9525aa5be850d5a2d9a9bc318996707fa3d7e
SIZE (bloomreach-s4cmd-2.1.0-11-ge74e0e7_GH0.tar.gz) = 39027

15
net/py-s4cmd/pkg-descr Normal file
View File

@@ -0,0 +1,15 @@
S4cmd is a command-line utility for accessing S3 storage, inspired by
s3cmd.
It is intended as an alternative to s3cmd for enhanced performance and
for large files, and with a number of additional features and fixes for
data-intensive applications.
It strives to be compatible with the most common usage scenarios for
s3cmd. It does not offer exact drop-in compatibility, due to a number of
corner cases where different behavior seems preferable, or for bugfixes.
S4cmd supports the regular commands you might expect for fetching and
storing files in S3: ls, put, get, cp, mv, sync, del, du.
WWW: https://github.com/bloomreach/s4cmd