aboutsummaryrefslogtreecommitdiff
path: root/devel/py-qasync
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-qasync')
-rw-r--r--devel/py-qasync/Makefile5
-rw-r--r--devel/py-qasync/distinfo6
-rw-r--r--devel/py-qasync/files/patch-pyproject.toml10
-rw-r--r--devel/py-qasync/pkg-descr16
4 files changed, 30 insertions, 7 deletions
diff --git a/devel/py-qasync/Makefile b/devel/py-qasync/Makefile
index d8e6d09b6b6f..9ede0d25ae63 100644
--- a/devel/py-qasync/Makefile
+++ b/devel/py-qasync/Makefile
@@ -1,5 +1,5 @@
PORTNAME= qasync
-DISTVERSION= 0.27.1
+DISTVERSION= 0.28.0
CATEGORIES= devel
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +11,8 @@ WWW= https://github.com/CabbageDevelopment/qasync
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uv-build>=0.8.3:devel/py-uv-build@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}AnyQt>0:x11-toolkits/py-AnyQt@${PY_FLAVOR}
USES= python
diff --git a/devel/py-qasync/distinfo b/devel/py-qasync/distinfo
index b3fdeb9bd8d4..44c44b4daa3d 100644
--- a/devel/py-qasync/distinfo
+++ b/devel/py-qasync/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703294641
-SHA256 (qasync-0.27.1.tar.gz) = 8dc768fd1ee5de1044c7c305eccf2d39d24d87803ea71189d4024fb475f4985f
-SIZE (qasync-0.27.1.tar.gz) = 14287
+TIMESTAMP = 1759986867
+SHA256 (qasync-0.28.0.tar.gz) = 6f7f1f18971f59cb259b107218269ba56e3ad475ec456e54714b426a6e30b71d
+SIZE (qasync-0.28.0.tar.gz) = 14010
diff --git a/devel/py-qasync/files/patch-pyproject.toml b/devel/py-qasync/files/patch-pyproject.toml
new file mode 100644
index 000000000000..5bca7f687cb2
--- /dev/null
+++ b/devel/py-qasync/files/patch-pyproject.toml
@@ -0,0 +1,10 @@
+--- pyproject.toml.orig 2025-10-09 05:15:30 UTC
++++ pyproject.toml
+@@ -1,6 +1,6 @@ build-backend = "uv_build"
+ [build-system]
+ build-backend = "uv_build"
+-requires = ["uv_build>=0.8.3,<0.9.0"]
++requires = ["uv_build>=0.8.3"]
+
+ [project]
+ name = "qasync"
diff --git a/devel/py-qasync/pkg-descr b/devel/py-qasync/pkg-descr
index 3d6f3319aed6..e46c02d90772 100644
--- a/devel/py-qasync/pkg-descr
+++ b/devel/py-qasync/pkg-descr
@@ -1,2 +1,14 @@
-qasync allows coroutines to be used in PyQt/PySide applications by providing an
-implementation of the PEP 3156 event-loop.
+qasync allows coroutines to be used in PyQt/PySide applications by providing
+an implementation of the PEP 3156 event loop.
+
+With qasync, you can use asyncio functionalities directly inside Qt app's
+event loop, in the main thread. Using async functions for Python tasks can
+be much easier and cleaner than using threading.Thread or QThread.
+
+If you need some CPU-intensive tasks to be executed in parallel, qasync also
+provides QEventLoop.run_in_executor which is functionally identical to that
+of asyncio. By default QThreadExecutor is used, but any class implementing
+the concurrent.futures.Executor interface will work.
+
+qasync is a fork of asyncqt, which is a fork of quamash. qasync was created
+because those are no longer maintained.