From owner-svn-ports-all@freebsd.org Sat Feb 6 20:42:56 2021 Return-Path: Delivered-To: svn-ports-all@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 783925355EB; Sat, 6 Feb 2021 20:42:56 +0000 (UTC) (envelope-from sunpoet@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DY4402jXSz3MxD; Sat, 6 Feb 2021 20:42:56 +0000 (UTC) (envelope-from sunpoet@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 4FE471801B; Sat, 6 Feb 2021 20:42:56 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 116Kgug7016531; Sat, 6 Feb 2021 20:42:56 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 116KgtjU016525; Sat, 6 Feb 2021 20:42:55 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202102062042.116KgtjU016525@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 6 Feb 2021 20:42:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r564246 - in head/databases: . py-aiomysql py-aiomysql/files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/databases: . py-aiomysql py-aiomysql/files X-SVN-Commit-Revision: 564246 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2021 20:42:56 -0000 Author: sunpoet Date: Sat Feb 6 20:42:55 2021 New Revision: 564246 URL: https://svnweb.freebsd.org/changeset/ports/564246 Log: Add py-aiomysql 0.0.21 aiomysql is a "driver" for accessing a MySQL database from the asyncio (PEP-3156/tulip) framework. It depends on and reuses most parts of PyMySQL . aiomysql tries to be like awesome aiopg library and preserve same api, look and feel. Internally aiomysql is copy of PyMySQL, underlying io calls switched to async, basically yield from and asyncio.coroutine added in proper places)). sqlalchemy support ported from aiopg. WWW: https://github.com/aio-libs/aiomysql Added: head/databases/py-aiomysql/ head/databases/py-aiomysql/Makefile (contents, props changed) head/databases/py-aiomysql/distinfo (contents, props changed) head/databases/py-aiomysql/files/ head/databases/py-aiomysql/files/patch-setup.py (contents, props changed) head/databases/py-aiomysql/pkg-descr (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Sat Feb 6 20:42:39 2021 (r564245) +++ head/databases/Makefile Sat Feb 6 20:42:55 2021 (r564246) @@ -735,6 +735,7 @@ SUBDIR += py-Pyrseas SUBDIR += py-aesqlapius SUBDIR += py-agate-sql + SUBDIR += py-aiomysql SUBDIR += py-aiopg SUBDIR += py-aioredis SUBDIR += py-aiosqlite Added: head/databases/py-aiomysql/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-aiomysql/Makefile Sat Feb 6 20:42:55 2021 (r564246) @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= aiomysql +PORTVERSION= 0.0.21 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= MySQL driver for asyncio + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymysql>=0.9:databases/py-pymysql@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include Added: head/databases/py-aiomysql/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-aiomysql/distinfo Sat Feb 6 20:42:55 2021 (r564246) @@ -0,0 +1,3 @@ +TIMESTAMP = 1612519091 +SHA256 (aiomysql-0.0.21.tar.gz) = 811569c0db118dd2685f0878f5cebf17a11e89a995fa14261d5fa0254113842c +SIZE (aiomysql-0.0.21.tar.gz) = 61286 Added: head/databases/py-aiomysql/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-aiomysql/files/patch-setup.py Sat Feb 6 20:42:55 2021 (r564246) @@ -0,0 +1,11 @@ +--- setup.py.orig 2020-11-26 16:45:41 UTC ++++ setup.py +@@ -4,7 +4,7 @@ import sys + from setuptools import setup, find_packages + + +-install_requires = ['PyMySQL>=0.9,<=0.9.3'] ++install_requires = ['PyMySQL>=0.9'] + + PY_VER = sys.version_info + Added: head/databases/py-aiomysql/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-aiomysql/pkg-descr Sat Feb 6 20:42:55 2021 (r564246) @@ -0,0 +1,10 @@ +aiomysql is a "driver" for accessing a MySQL database from the asyncio +(PEP-3156/tulip) framework. It depends on and reuses most parts of PyMySQL . +aiomysql tries to be like awesome aiopg library and preserve same api, look and +feel. + +Internally aiomysql is copy of PyMySQL, underlying io calls switched to async, +basically yield from and asyncio.coroutine added in proper places)). sqlalchemy +support ported from aiopg. + +WWW: https://github.com/aio-libs/aiomysql