git: 11efbf30e983 - main - devel/py-pooch: Add PROGRESS, SFTP and XXHASH options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Mar 2022 18:17:49 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=11efbf30e983ee28cb0f34aaa3bc59dc3c0146cc
commit 11efbf30e983ee28cb0f34aaa3bc59dc3c0146cc
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-07 17:53:33 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-07 18:11:14 +0000
devel/py-pooch: Add PROGRESS, SFTP and XXHASH options
- Bump PORTREVISION for dependency change
---
devel/py-pooch/Makefile | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/devel/py-pooch/Makefile b/devel/py-pooch/Makefile
index 77ba6182b088..e9479583c89e 100644
--- a/devel/py-pooch/Makefile
+++ b/devel/py-pooch/Makefile
@@ -22,6 +22,16 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+OPTIONS_DEFINE= PROGRESS SFTP XXHASH
+OPTIONS_DEFAULT=PROGRESS SFTP XXHASH
+PROGRESS_DESC= Progress bar support
+SFTP_DESC= SFTP download support
+XXHASH_DESC= Hash algorithm support
+
+PROGRESS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tqdm>=4.41.0<5.0.0:misc/py-tqdm@${PY_FLAVOR}
+SFTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=2.7.0:security/py-paramiko@${PY_FLAVOR}
+XXHASH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xxhash>=1.4.3:devel/py-xxhash@${PY_FLAVOR}
+
post-patch:
@${CP} ${FILESDIR}/setup.py ${WRKSRC}/