git: cc37e2932c4e - main - devel/py-pondpond: add port: High performance object-pooling library for Python

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sat, 27 Sep 2025 03:11:34 UTC
The branch main has been updated by tagattie:

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

commit cc37e2932c4e3a332b106183974bf0bac5cfb407
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-09-26 23:11:09 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-09-27 03:11:24 +0000

    devel/py-pondpond: add port: High performance object-pooling library for Python
    
    Pond is a high performance object-pooling library for Python, it has a
    smaller memory usage and a higher borrow hit rate.
    
    Pond is probably the first publicly available object pooling library
    in Python with complete test cases, over 90% coverage, complete code
    comments, and good documentation.
    
    WWW: https://github.com/T-baby/pondpond
---
 devel/Makefile              |  1 +
 devel/py-pondpond/Makefile  | 31 +++++++++++++++++++++++++++++++
 devel/py-pondpond/distinfo  |  3 +++
 devel/py-pondpond/pkg-descr |  6 ++++++
 4 files changed, 41 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index c5a78a5b4465..505126e98111 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5523,6 +5523,7 @@
     SUBDIR += py-poetry-types
     SUBDIR += py-poetry2setup
     SUBDIR += py-polib
+    SUBDIR += py-pondpond
     SUBDIR += py-pooch
     SUBDIR += py-pop
     SUBDIR += py-pop-config
diff --git a/devel/py-pondpond/Makefile b/devel/py-pondpond/Makefile
new file mode 100644
index 000000000000..ae1ad3bfcc37
--- /dev/null
+++ b/devel/py-pondpond/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	pondpond
+DISTVERSION=	1.4.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	tagattie@FreeBSD.org
+COMMENT=	High performance object-pooling library for Python
+WWW=		https://github.com/T-baby/pondpond
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pdm-pep517>=1.0.0:devel/py-pdm-pep517@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}madoka>=0.7.1:devel/py-madoka@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0.20.1:devel/py-pytest-asyncio@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517 pytest
+
+NO_ARCH=	yes
+
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/devel/py-pondpond/distinfo b/devel/py-pondpond/distinfo
new file mode 100644
index 000000000000..d19f6438a9a8
--- /dev/null
+++ b/devel/py-pondpond/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1758876518
+SHA256 (pondpond-1.4.1.tar.gz) = 8afa34b869d1434d21dd2ec12644abc3b1733fcda8fcf355300338a13a79bb7b
+SIZE (pondpond-1.4.1.tar.gz) = 15237
diff --git a/devel/py-pondpond/pkg-descr b/devel/py-pondpond/pkg-descr
new file mode 100644
index 000000000000..8d24bfcf3ef9
--- /dev/null
+++ b/devel/py-pondpond/pkg-descr
@@ -0,0 +1,6 @@
+Pond is a high performance object-pooling library for Python, it has a
+smaller memory usage and a higher borrow hit rate.
+
+Pond is probably the first publicly available object pooling library
+in Python with complete test cases, over 90% coverage, complete code
+comments, and good documentation.