git: c8d5a979277e - main - net/py-s4cmd: Add new port

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Mon, 21 Feb 2022 17:14:47 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c8d5a979277e9e1d84019d3ef80b7c928a2834f0

commit c8d5a979277e9e1d84019d3ef80b7c928a2834f0
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-02-21 17:14:17 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-02-21 17:14:17 +0000

    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.
---
 net/py-s4cmd/Makefile  | 23 +++++++++++++++++++++++
 net/py-s4cmd/distinfo  |  3 +++
 net/py-s4cmd/pkg-descr | 15 +++++++++++++++
 3 files changed, 41 insertions(+)

diff --git a/net/py-s4cmd/Makefile b/net/py-s4cmd/Makefile
new file mode 100644
index 000000000000..8b6eedbb2f9a
--- /dev/null
+++ b/net/py-s4cmd/Makefile
@@ -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>
diff --git a/net/py-s4cmd/distinfo b/net/py-s4cmd/distinfo
new file mode 100644
index 000000000000..0c36f2f454ed
--- /dev/null
+++ b/net/py-s4cmd/distinfo
@@ -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
diff --git a/net/py-s4cmd/pkg-descr b/net/py-s4cmd/pkg-descr
new file mode 100644
index 000000000000..fead5b654e73
--- /dev/null
+++ b/net/py-s4cmd/pkg-descr
@@ -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