aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorfarrokhi <farrokhi@FreeBSD.org>2018-06-29 15:10:18 +0800
committerfarrokhi <farrokhi@FreeBSD.org>2018-06-29 15:10:18 +0800
commit1d62eecc640e6b36b64854ca654d7dc3bc8212f5 (patch)
tree94fdae5fe3497b65c124f9d019672be629f7b11f /databases
parentad457f97f66440a17632b294b3ff26b4e00f8b84 (diff)
downloadfreebsd-ports-gnome-1d62eecc640e6b36b64854ca654d7dc3bc8212f5.tar.gz
freebsd-ports-gnome-1d62eecc640e6b36b64854ca654d7dc3bc8212f5.tar.zst
freebsd-ports-gnome-1d62eecc640e6b36b64854ca654d7dc3bc8212f5.zip
New Port: databases/py-asyncpg: High performance PostgreSQL Client Library for Python/asyncio
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-asyncpg/Makefile30
-rw-r--r--databases/py-asyncpg/distinfo3
-rw-r--r--databases/py-asyncpg/pkg-descr5
4 files changed, 39 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 366b6e2c3214..7afac0e7e9d2 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -22,6 +22,7 @@
SUBDIR += apq-pgsql
SUBDIR += arangodb32
SUBDIR += arangodb33
+ SUBDUR += py-asyncpg
SUBDIR += ateam_mysql_ldap_auth
SUBDIR += autobackupmysql
SUBDIR += bbdb
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 <farrokhi@FreeBSD.org>
+# $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 <bsd.port.mk>
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/