aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-pgcli/Makefile28
-rw-r--r--databases/py-pgcli/distinfo2
-rw-r--r--databases/py-pgcli/pkg-descr5
4 files changed, 36 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index f25bbff3dff9..f5e8b40debfe 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -742,6 +742,7 @@
SUBDIR += py-peewee
SUBDIR += py-pg8000
SUBDIR += py-pg_pqueue
+ SUBDIR += py-pgcli
SUBDIR += py-pgspecial
SUBDIR += py-pgxnclient
SUBDIR += py-pickledb
diff --git a/databases/py-pgcli/Makefile b/databases/py-pgcli/Makefile
new file mode 100644
index 000000000000..e95052946803
--- /dev/null
+++ b/databases/py-pgcli/Makefile
@@ -0,0 +1,28 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pgcli
+PORTVERSION= 0.20.1
+CATEGORIES= databases python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= CLI for Postgres Database with auto-completion and syntax highlighting
+
+LICENSE= BSD3CLAUSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=4.1:${PORTSDIR}/devel/py-click \
+ ${PYTHON_PKGNAMEPREFIX}configobj>=5.0.6:${PORTSDIR}/devel/py-configobj \
+ ${PYTHON_PKGNAMEPREFIX}pgspecial>=1.1.0:${PORTSDIR}/databases/py-pgspecial \
+ ${PYTHON_PKGNAMEPREFIX}prompt_toolkit>=0.46:${PORTSDIR}/devel/py-prompt_toolkit \
+ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.5.4:${PORTSDIR}/databases/py-psycopg2 \
+ ${PYTHON_PKGNAMEPREFIX}pygments>=2.0:${PORTSDIR}/textproc/py-pygments \
+ ${PYTHON_PKGNAMEPREFIX}setproctitle>=1.1.9:${PORTSDIR}/devel/py-setproctitle \
+ ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.1.16:${PORTSDIR}/databases/py-sqlparse
+
+NO_ARCH= yes
+USE_PYTHON= autoplist distutils
+USES= pgsql python
+
+.include <bsd.port.mk>
diff --git a/databases/py-pgcli/distinfo b/databases/py-pgcli/distinfo
new file mode 100644
index 000000000000..b8fb03e31193
--- /dev/null
+++ b/databases/py-pgcli/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pgcli-0.20.1.tar.gz) = e645d21abf98303259bf588e9afa1bedf507f54ae27f78f0587cce98315421ab
+SIZE (pgcli-0.20.1.tar.gz) = 46784
diff --git a/databases/py-pgcli/pkg-descr b/databases/py-pgcli/pkg-descr
new file mode 100644
index 000000000000..295677c4f7f3
--- /dev/null
+++ b/databases/py-pgcli/pkg-descr
@@ -0,0 +1,5 @@
+pgcli is a command line interface for Postgres with auto-completion and syntax
+highlighting.
+
+WWW: https://pypi.python.org/pypi/pgcli
+WWW: http://pgcli.com/