aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgblach <gblach@FreeBSD.org>2015-12-18 00:35:30 +0800
committergblach <gblach@FreeBSD.org>2015-12-18 00:35:30 +0800
commit5f6bed8663f9b5aac2a32d02f35b7d9a779eed63 (patch)
treef244681513a7c8687c501ae5ba1641829a58165b
parent0a8983b9c1684a711e1c95ba294cf4fd722811d5 (diff)
downloadfreebsd-ports-gnome-5f6bed8663f9b5aac2a32d02f35b7d9a779eed63.tar.gz
freebsd-ports-gnome-5f6bed8663f9b5aac2a32d02f35b7d9a779eed63.tar.zst
freebsd-ports-gnome-5f6bed8663f9b5aac2a32d02f35b7d9a779eed63.zip
Add new port: databases/py-queries
Queries is a BSD licensed opinionated wrapper of the psycopg2 library for interacting with PostgreSQL.
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-queries/Makefile21
-rw-r--r--databases/py-queries/distinfo2
-rw-r--r--databases/py-queries/pkg-descr10
4 files changed, 34 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 94886c830426..612884a4b911 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -764,6 +764,7 @@
SUBDIR += py-python-sql
SUBDIR += py-qt4-sql
SUBDIR += py-qt5-sql
+ SUBDIR += py-queries
SUBDIR += py-redis
SUBDIR += py-riak
SUBDIR += py-rrdtool_lgpl
diff --git a/databases/py-queries/Makefile b/databases/py-queries/Makefile
new file mode 100644
index 000000000000..cdf3d2557b7c
--- /dev/null
+++ b/databases/py-queries/Makefile
@@ -0,0 +1,21 @@
+# Created by: Grzegorz Blach <gblach@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= queries
+PORTVERSION= 1.8.1
+CATEGORIES= databases python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= gblach@FreeBSD.org
+COMMENT= Simplified PostgreSQL client built upon Psycopg2
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILES= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.5.1:${PORTSDIR}/databases/py-psycopg2
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/databases/py-queries/distinfo b/databases/py-queries/distinfo
new file mode 100644
index 000000000000..b9b498cff351
--- /dev/null
+++ b/databases/py-queries/distinfo
@@ -0,0 +1,2 @@
+SHA256 (queries-1.8.1.tar.gz) = 657601f3e1e0b09df41b8ed30022427dba5583cd00d1a7a721c23e9334ce10fa
+SIZE (queries-1.8.1.tar.gz) = 16687
diff --git a/databases/py-queries/pkg-descr b/databases/py-queries/pkg-descr
new file mode 100644
index 000000000000..aa286b2d8630
--- /dev/null
+++ b/databases/py-queries/pkg-descr
@@ -0,0 +1,10 @@
+Queries is a BSD licensed opinionated wrapper of the psycopg2 library for
+interacting with PostgreSQL.
+
+The popular psycopg2 package is a full-featured python client. Unfortunately
+as a developer, you're often repeating the same steps to get started with
+your applications that use it. Queries aims to reduce the complexity of
+psycopg2 while adding additional features to make writing PostgreSQL client
+applications both fast and easy.
+
+WWW: https://queries.readthedocs.org/en/latest/