git: ad10c20b4565 - main - devel/py-inotifyrecursive: New port

From: Michael Gmelin <grembo_at_FreeBSD.org>
Date: Sun, 18 Feb 2024 11:49:03 UTC
The branch main has been updated by grembo:

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

commit ad10c20b45651a8c110d5b07657d50828b5d8f15
Author:     Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2024-02-12 12:55:00 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2024-02-18 11:47:54 +0000

    devel/py-inotifyrecursive: New port
    
    Recursive inotify watches based on inotify-simple
---
 devel/Makefile                      |  1 +
 devel/py-inotifyrecursive/Makefile  | 20 ++++++++++++++++++++
 devel/py-inotifyrecursive/distinfo  |  3 +++
 devel/py-inotifyrecursive/pkg-descr |  5 +++++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index d5d56f3dd325..4b4b8840fe45 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4833,6 +4833,7 @@
     SUBDIR += py-inifile
     SUBDIR += py-iniparse
     SUBDIR += py-inotify-simple
+    SUBDIR += py-inotifyrecursive
     SUBDIR += py-installer
     SUBDIR += py-intbitset
     SUBDIR += py-intelhex
diff --git a/devel/py-inotifyrecursive/Makefile b/devel/py-inotifyrecursive/Makefile
new file mode 100644
index 000000000000..16e7766c3146
--- /dev/null
+++ b/devel/py-inotifyrecursive/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	inotifyrecursive
+PORTVERSION=	0.3.5
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	grembo@FreeBSD.org
+COMMENT=	Recursive inotify watches based on inotify-simple
+WWW=		https://github.com/letorbi/inotifyrecursive
+
+LICENSE=	LGPL3
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}inotify-simple>=1.3.5:devel/py-inotify-simple@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-inotifyrecursive/distinfo b/devel/py-inotifyrecursive/distinfo
new file mode 100644
index 000000000000..b7e568a890b5
--- /dev/null
+++ b/devel/py-inotifyrecursive/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1707611037
+SHA256 (inotifyrecursive-0.3.5.tar.gz) = a2c450b317693e4538416f90eb1d7858506dafe6b8b885037bd2dd9ae2dafa1e
+SIZE (inotifyrecursive-0.3.5.tar.gz) = 4576
diff --git a/devel/py-inotifyrecursive/pkg-descr b/devel/py-inotifyrecursive/pkg-descr
new file mode 100644
index 000000000000..597690859099
--- /dev/null
+++ b/devel/py-inotifyrecursive/pkg-descr
@@ -0,0 +1,5 @@
+Inotify Recursive is a Python package that offers a simple way to watch a
+directory-tree recursively for file changes via the inotify functionality of
+the Linux kernel. It uses the inotify_simple package to set and remove the
+inotify watches and also incorporates its whole functionality. The package
+is written in Python and licensed as open-source under the LGPL version 3.