git: 3d5d19ea1c10 - main - textproc/py-pyfzf: Add py-pyfzf 0.3.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 13:40:53 UTC
The branch main has been updated by sunpoet:

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

commit 3d5d19ea1c105fb87153294ac64480265fc16d4b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:18:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:37:52 +0000

    textproc/py-pyfzf: Add py-pyfzf 0.3.1
    
    pyfzf is a python wrapper for junegunn's awesome fzf.
---
 textproc/Makefile           |  1 +
 textproc/py-pyfzf/Makefile  | 23 +++++++++++++++++++++++
 textproc/py-pyfzf/distinfo  |  3 +++
 textproc/py-pyfzf/pkg-descr |  1 +
 4 files changed, 28 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 60a2fee0d56e..ceeb0627f866 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1530,6 +1530,7 @@
     SUBDIR += py-pyexcel-ods3
     SUBDIR += py-pyexcel-xls
     SUBDIR += py-pyexcel-xlsx
+    SUBDIR += py-pyfzf
     SUBDIR += py-pygccxml
     SUBDIR += py-pygments
     SUBDIR += py-pygtail
diff --git a/textproc/py-pyfzf/Makefile b/textproc/py-pyfzf/Makefile
new file mode 100644
index 000000000000..0a87610c791e
--- /dev/null
+++ b/textproc/py-pyfzf/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	pyfzf
+PORTVERSION=	0.3.1
+CATEGORIES=	textproc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python wrapper for junegunn's fuzzyfinder (fzf)
+WWW=		https://github.com/nk412/pyfzf
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	fzf:textproc/fzf
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-pyfzf/distinfo b/textproc/py-pyfzf/distinfo
new file mode 100644
index 000000000000..3b3a7c243e8a
--- /dev/null
+++ b/textproc/py-pyfzf/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1731679136
+SHA256 (pyfzf-0.3.1.tar.gz) = dd902e34cffeca9c3082f96131593dd20b4b3a9bba5b9dde1b0688e424b46bd2
+SIZE (pyfzf-0.3.1.tar.gz) = 3652
diff --git a/textproc/py-pyfzf/pkg-descr b/textproc/py-pyfzf/pkg-descr
new file mode 100644
index 000000000000..48efa1289a82
--- /dev/null
+++ b/textproc/py-pyfzf/pkg-descr
@@ -0,0 +1 @@
+pyfzf is a python wrapper for junegunn's awesome fzf.