git: fe629e5a5b2c - main - ftp/py-ftpretty: Wrapper for FTP operations

From: Jason W. Bacon <jwb_at_FreeBSD.org>
Date: Thu, 10 Sep 2026 17:39:05 UTC
The branch main has been updated by jwb:

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

commit fe629e5a5b2c5e06dff352f068f0b79510866341
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2026-09-10 17:38:27 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2026-09-10 17:38:27 +0000

    ftp/py-ftpretty: Wrapper for FTP operations
    
    The goal of this library is to provide a frictionless experience to
    FTPing files in way similar to Amazons3cmd command line tool. The
    API should be intuitive with the order of arguments reflecting the
    transfer direction of bytes.
---
 ftp/Makefile              |  1 +
 ftp/py-ftpretty/Makefile  | 22 ++++++++++++++++++++++
 ftp/py-ftpretty/distinfo  |  3 +++
 ftp/py-ftpretty/pkg-descr |  4 ++++
 4 files changed, 30 insertions(+)

diff --git a/ftp/Makefile b/ftp/Makefile
index cd719317ff94..8be415881153 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -69,6 +69,7 @@
     SUBDIR += pure-ftpd
     SUBDIR += py-aioftp
     SUBDIR += py-curl-cffi
+    SUBDIR += py-ftpretty
     SUBDIR += py-ftputil
     SUBDIR += py-parfive
     SUBDIR += py-pycurl
diff --git a/ftp/py-ftpretty/Makefile b/ftp/py-ftpretty/Makefile
new file mode 100644
index 000000000000..a294637c115f
--- /dev/null
+++ b/ftp/py-ftpretty/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	ftpretty
+DISTVERSION=	0.4.0
+CATEGORIES=	ftp python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	jwb@FreeBSD.org
+COMMENT=	Wrapper for simple FTP operations: get, put, list etc
+WWW=		https://pypi.python.org/project/ftpretty/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/ftp/py-ftpretty/distinfo b/ftp/py-ftpretty/distinfo
new file mode 100644
index 000000000000..1a8d1292d27a
--- /dev/null
+++ b/ftp/py-ftpretty/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1789043537
+SHA256 (ftpretty-0.4.0.tar.gz) = 61233b9212f2cceec96ee2c972738fa31cae7248e92d0874c99c04ee739bb5a9
+SIZE (ftpretty-0.4.0.tar.gz) = 9068
diff --git a/ftp/py-ftpretty/pkg-descr b/ftp/py-ftpretty/pkg-descr
new file mode 100644
index 000000000000..b16efe2d649e
--- /dev/null
+++ b/ftp/py-ftpretty/pkg-descr
@@ -0,0 +1,4 @@
+The goal of this library is to provide a frictionless experience to
+FTPing files in way similar to Amazon’s s3cmd command line tool. The
+API should be intuitive with the order of arguments reflecting the
+transfer direction of bytes.