From owner-svn-ports-head@freebsd.org Sun Jan 12 04:31:44 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 128CF223181; Sun, 12 Jan 2020 04:31:44 +0000 (UTC) (envelope-from romain@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47wP1q4CWHz3wr2; Sun, 12 Jan 2020 04:31:43 +0000 (UTC) (envelope-from romain@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8BCE3E386; Sun, 12 Jan 2020 04:31:43 +0000 (UTC) (envelope-from romain@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 00C4VhKm093664; Sun, 12 Jan 2020 04:31:43 GMT (envelope-from romain@FreeBSD.org) Received: (from romain@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00C4VgID093660; Sun, 12 Jan 2020 04:31:42 GMT (envelope-from romain@FreeBSD.org) Message-Id: <202001120431.00C4VgID093660@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: romain set sender to romain@FreeBSD.org using -f From: =?UTF-8?Q?Romain_Tarti=c3=a8re?= Date: Sun, 12 Jan 2020 04:31:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522749 - in head/databases: . py-aiosqlite X-SVN-Group: ports-head X-SVN-Commit-Author: romain X-SVN-Commit-Paths: in head/databases: . py-aiosqlite X-SVN-Commit-Revision: 522749 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jan 2020 04:31:44 -0000 Author: romain Date: Sun Jan 12 04:31:42 2020 New Revision: 522749 URL: https://svnweb.freebsd.org/changeset/ports/522749 Log: New port: databases/py-aiosqlite aiosqlite allows interaction with SQLite databases on the main AsyncIO event loop without blocking execution of other coroutines while waiting for queries or data fetches. It does this by using a single, shared thread per connection. This thread executes all actions within a shared request queue to prevent overlapping actions. Connection objects are proxies to the real connections, contain the shared execution thread, and provide context managers to handle automatically closing connections. Cursors are similarly proxies to the real cursors, and provide async iterators to query results. WWW: https://pypi.python.org/pypi/aiosqlite Added: head/databases/py-aiosqlite/ head/databases/py-aiosqlite/Makefile (contents, props changed) head/databases/py-aiosqlite/distinfo (contents, props changed) head/databases/py-aiosqlite/pkg-descr (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Sun Jan 12 03:57:40 2020 (r522748) +++ head/databases/Makefile Sun Jan 12 04:31:42 2020 (r522749) @@ -757,6 +757,7 @@ SUBDIR += py-agate-sql SUBDIR += py-aiopg SUBDIR += py-aioredis + SUBDIR += py-aiosqlite SUBDIR += py-alembic SUBDIR += py-apsw SUBDIR += py-asyncpg Added: head/databases/py-aiosqlite/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-aiosqlite/Makefile Sun Jan 12 04:31:42 2020 (r522749) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= aiosqlite +PORTVERSION= 0.11.0 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= romain@FreeBSD.org +COMMENT= AsyncIO bridge to the standard sqlite3 module for Python 3.5+ + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= autoplist distutils + +.include Added: head/databases/py-aiosqlite/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-aiosqlite/distinfo Sun Jan 12 04:31:42 2020 (r522749) @@ -0,0 +1,3 @@ +TIMESTAMP = 1578801636 +SHA256 (aiosqlite-0.11.0.tar.gz) = 4f02314a42db6722dc26f2a6119c64e3f05f141f57bbf2b1e1f9fd741b6d7fb8 +SIZE (aiosqlite-0.11.0.tar.gz) = 10062 Added: head/databases/py-aiosqlite/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-aiosqlite/pkg-descr Sun Jan 12 04:31:42 2020 (r522749) @@ -0,0 +1,12 @@ +aiosqlite allows interaction with SQLite databases on the main AsyncIO event +loop without blocking execution of other coroutines while waiting for queries +or data fetches. It does this by using a single, shared thread per connection. +This thread executes all actions within a shared request queue to prevent +overlapping actions. + +Connection objects are proxies to the real connections, contain the shared +execution thread, and provide context managers to handle automatically closing +connections. Cursors are similarly proxies to the real cursors, and provide +async iterators to query results. + +WWW: https://pypi.python.org/pypi/aiosqlite