git: 3df1c8e0e9d1 - main - devel/py-readerwriterlock: Add py-readerwriterlock 1.0.9

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 15 Jan 2026 11:57:28 UTC
The branch main has been updated by sunpoet:

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

commit 3df1c8e0e9d10b6ca5bfa90140106d419bd3395a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-01-15 11:35:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-01-15 11:53:04 +0000

    devel/py-readerwriterlock: Add py-readerwriterlock 1.0.9
    
    Reader Writer Lock provides a python implementation of a solution for the three
    Reader-Writer problems.
    
    Not only does it implement the reader-writer problems, it is also compliant with
    the python lock interface which among others include support for timeout.
---
 devel/Makefile                      |  1 +
 devel/py-readerwriterlock/Makefile  | 23 +++++++++++++++++++++++
 devel/py-readerwriterlock/distinfo  |  3 +++
 devel/py-readerwriterlock/pkg-descr |  5 +++++
 4 files changed, 32 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index bb09b8e0385a..af36b612c4b8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5897,6 +5897,7 @@
     SUBDIR += py-raven
     SUBDIR += py-rchitect
     SUBDIR += py-re-assert
+    SUBDIR += py-readerwriterlock
     SUBDIR += py-readme-renderer
     SUBDIR += py-rebulk
     SUBDIR += py-recordclass
diff --git a/devel/py-readerwriterlock/Makefile b/devel/py-readerwriterlock/Makefile
new file mode 100644
index 000000000000..56022d0396ed
--- /dev/null
+++ b/devel/py-readerwriterlock/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	readerwriterlock
+PORTVERSION=	1.0.9
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Python implementation of the three Reader-Writer problems
+WWW=		https://github.com/elarivie/pyReaderWriterLock
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-readerwriterlock/distinfo b/devel/py-readerwriterlock/distinfo
new file mode 100644
index 000000000000..69b14e3a638b
--- /dev/null
+++ b/devel/py-readerwriterlock/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1767157567
+SHA256 (readerwriterlock-1.0.9.tar.gz) = b7c4cc003435d7a8ff15b312b0a62a88d9800ba6164af88991f87f8b748f9bea
+SIZE (readerwriterlock-1.0.9.tar.gz) = 16595
diff --git a/devel/py-readerwriterlock/pkg-descr b/devel/py-readerwriterlock/pkg-descr
new file mode 100644
index 000000000000..5657b8d1d3fa
--- /dev/null
+++ b/devel/py-readerwriterlock/pkg-descr
@@ -0,0 +1,5 @@
+Reader Writer Lock provides a python implementation of a solution for the three
+Reader-Writer problems.
+
+Not only does it implement the reader-writer problems, it is also compliant with
+the python lock interface which among others include support for timeout.