svn commit: r564246 - in head/databases: . py-aiomysql py-aiomysql/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Feb 6 20:42:56 UTC 2021


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 <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	aiomysql
+PORTVERSION=	0.0.21
+CATEGORIES=	databases python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at 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 <bsd.port.mk>

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


More information about the svn-ports-all mailing list