git: 5be1c582246a - main - devel/py-caio: New port: Asynchronous file IO for Python
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Feb 2026 07:05:55 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5be1c582246a1a22560fb83ed609bf73e4a4b152
commit 5be1c582246a1a22560fb83ed609bf73e4a4b152
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-02-24 06:52:47 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-02-24 07:05:49 +0000
devel/py-caio: New port: Asynchronous file IO for Python
---
devel/Makefile | 1 +
devel/py-caio/Makefile | 22 ++++++++++++++++++++++
devel/py-caio/distinfo | 3 +++
devel/py-caio/files/patch-pyproject.toml | 14 ++++++++++++++
devel/py-caio/pkg-descr | 1 +
5 files changed, 41 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 94df6912a037..aee3bedcdcff 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4638,6 +4638,7 @@
SUBDIR += py-cacheyou
SUBDIR += py-cachier
SUBDIR += py-cachy
+ SUBDIR += py-caio
SUBDIR += py-calver
SUBDIR += py-camel-converter
SUBDIR += py-canonicaljson
diff --git a/devel/py-caio/Makefile b/devel/py-caio/Makefile
new file mode 100644
index 000000000000..e5179b85575a
--- /dev/null
+++ b/devel/py-caio/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= caio
+PORTVERSION= 0.9.25
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Asynchronous file IO for Python
+WWW= https://github.com/mosquito/caio/
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-caio/distinfo b/devel/py-caio/distinfo
new file mode 100644
index 000000000000..c0dbdcc91a2e
--- /dev/null
+++ b/devel/py-caio/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1771915668
+SHA256 (caio-0.9.25.tar.gz) = 16498e7f81d1d0f5a4c0ad3f2540e65fe25691376e0a5bd367f558067113ed10
+SIZE (caio-0.9.25.tar.gz) = 26781
diff --git a/devel/py-caio/files/patch-pyproject.toml b/devel/py-caio/files/patch-pyproject.toml
new file mode 100644
index 000000000000..70c78c61888c
--- /dev/null
+++ b/devel/py-caio/files/patch-pyproject.toml
@@ -0,0 +1,14 @@
+--- pyproject.toml.orig 2026-02-24 06:48:06 UTC
++++ pyproject.toml
+@@ -1,10 +1,9 @@
+ [build-system]
+-requires = ["setuptools>=77"]
++requires = ["setuptools"]
+ build-backend = "setuptools.build_meta"
+
+ [project]
+ name = "caio"
+-license-files = ["COPYING"]
+ description = "Asynchronous file IO for Linux MacOS or Windows."
+ readme = "README.md"
+ authors = [{ name = "Dmitry Orlov", email = "me@mosquito.su"}]
diff --git a/devel/py-caio/pkg-descr b/devel/py-caio/pkg-descr
new file mode 100644
index 000000000000..c066de3d9360
--- /dev/null
+++ b/devel/py-caio/pkg-descr
@@ -0,0 +1 @@
+caio is Python bindings for AIO API and simple asyncio wrapper.