From 9ecf8cec08249e2c0ab8a12b5ea01de790b78801 Mon Sep 17 00:00:00 2001 From: Babak Farrokhi Date: Fri, 29 Jun 2018 07:10:18 +0000 Subject: New Port: databases/py-asyncpg: High performance PostgreSQL Client Library for Python/asyncio --- databases/py-asyncpg/Makefile | 30 ++++++++++++++++++++++++++++++ databases/py-asyncpg/distinfo | 3 +++ databases/py-asyncpg/pkg-descr | 5 +++++ 3 files changed, 38 insertions(+) create mode 100644 databases/py-asyncpg/Makefile create mode 100644 databases/py-asyncpg/distinfo create mode 100644 databases/py-asyncpg/pkg-descr (limited to 'databases/py-asyncpg') diff --git a/databases/py-asyncpg/Makefile b/databases/py-asyncpg/Makefile new file mode 100644 index 000000000000..d3b7d84a6331 --- /dev/null +++ b/databases/py-asyncpg/Makefile @@ -0,0 +1,30 @@ +# Created by: Babak Farrokhi +# $FreeBSD$ + +PORTNAME= asyncpg +PORTVERSION= 0.16.0 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= farrokhi@FreeBSD.org +COMMENT= High performance PostgreSQL Client Library for Python/asyncio + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +OPTIONS_DEFINE= DOCS + +USES= pgsql:9.2+ python:3.5+ +USE_PYTHON= autoplist concurrent distutils setuptools + +PORTDOCS= PKG-INFO README.rst + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/asyncpg/protocol/protocol.so + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + +.include diff --git a/databases/py-asyncpg/distinfo b/databases/py-asyncpg/distinfo new file mode 100644 index 000000000000..aef1a8a4194c --- /dev/null +++ b/databases/py-asyncpg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1530109461 +SHA256 (asyncpg-0.16.0.tar.gz) = 31d5a9d993ce97924d9601bf6a37bb8b542d63bc8716b36238511e5e5915b14c +SIZE (asyncpg-0.16.0.tar.gz) = 615123 diff --git a/databases/py-asyncpg/pkg-descr b/databases/py-asyncpg/pkg-descr new file mode 100644 index 000000000000..f584a7f7c2e3 --- /dev/null +++ b/databases/py-asyncpg/pkg-descr @@ -0,0 +1,5 @@ +asyncpg is a database interface library designed specifically for PostgreSQL +and Python/asyncio. asyncpg is an efficient, clean implementation of PostgreSQL +server binary protocol for use with Python's asyncio framework. + +WWW: https://github.com/MagicStack/asyncpg/ -- cgit v1.2.3