git: 952d835ab36f - main - devel/py-inotify-simple: Fix incomplete patch

From: Michael Gmelin <grembo_at_FreeBSD.org>
Date: Tue, 09 Sep 2025 19:00:49 UTC
The branch main has been updated by grembo:

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

commit 952d835ab36fab17313bf24a98b1def47e391698
Author:     Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2025-09-09 18:53:53 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2025-09-09 18:57:30 +0000

    devel/py-inotify-simple: Fix incomplete patch
---
 devel/py-inotify-simple/Makefile                       |  2 +-
 devel/py-inotify-simple/files/patch-inotify__simple.py | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/devel/py-inotify-simple/Makefile b/devel/py-inotify-simple/Makefile
index 4ac2edf6fa23..c1ea5c6694c2 100644
--- a/devel/py-inotify-simple/Makefile
+++ b/devel/py-inotify-simple/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	inotify-simple
 PORTVERSION=	2.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-inotify-simple/files/patch-inotify__simple.py b/devel/py-inotify-simple/files/patch-inotify__simple.py
index 28273592c933..776f877be4d8 100644
--- a/devel/py-inotify-simple/files/patch-inotify__simple.py
+++ b/devel/py-inotify-simple/files/patch-inotify__simple.py
@@ -1,6 +1,14 @@
 --- inotify_simple.py.orig	2025-08-25 06:27:48 UTC
 +++ inotify_simple.py
-@@ -76,12 +76,12 @@ class INotify(FileIO):
+@@ -3,6 +3,7 @@ from enum import IntEnum
+ from collections import namedtuple
+ from struct import unpack_from, calcsize
+ from select import poll
++from select import POLLIN
+ from time import sleep
+ from ctypes import CDLL, get_errno, c_int
+ from ctypes.util import find_library
+@@ -76,12 +77,12 @@ class INotify(FileIO):
                  object is garbage collected or when `~inotify_simple.INotify.close` is
                  called."""