aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile2
-rw-r--r--databases/pypy-gdbm/Makefile16
-rw-r--r--databases/pypy-gdbm/pkg-descr1
-rw-r--r--databases/pypy-sqlite3/Makefile16
-rw-r--r--databases/pypy-sqlite3/pkg-descr8
5 files changed, 43 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index f9c048ed5dec..5797348e058c 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -780,6 +780,8 @@
SUBDIR += py-tarantool
SUBDIR += py-umemcache
SUBDIR += py-whisper
+ SUBDIR += pypy-gdbm
+ SUBDIR += pypy-sqlite3
SUBDIR += pydbx
SUBDIR += pymongo
SUBDIR += pyspatialite
diff --git a/databases/pypy-gdbm/Makefile b/databases/pypy-gdbm/Makefile
new file mode 100644
index 000000000000..821ccdaa10dc
--- /dev/null
+++ b/databases/pypy-gdbm/Makefile
@@ -0,0 +1,16 @@
+# Created by: David Naylor <dbn@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= gdbm
+PORTVERSION= ${PYTHON_PORTVERSION}
+CATEGORIES= databases python
+
+MAINTAINER= dbn@FreeBSD.org
+COMMENT= PyPy bindings to the GNU dbm library
+
+LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm
+
+CFFI_NAME= ffi
+
+.include "${.CURDIR}/../../lang/pypy/bsd.pypy.cffi.mk"
+.include <bsd.port.mk>
diff --git a/databases/pypy-gdbm/pkg-descr b/databases/pypy-gdbm/pkg-descr
new file mode 100644
index 000000000000..df0b3614ce1d
--- /dev/null
+++ b/databases/pypy-gdbm/pkg-descr
@@ -0,0 +1 @@
+PyPy bindings to the GNU dbm library.
diff --git a/databases/pypy-sqlite3/Makefile b/databases/pypy-sqlite3/Makefile
new file mode 100644
index 000000000000..cf4fb55a5da7
--- /dev/null
+++ b/databases/pypy-sqlite3/Makefile
@@ -0,0 +1,16 @@
+# Created by: David Naylor <dbn@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= sqlite3
+PORTVERSION= ${PYTHON_PORTVERSION}
+CATEGORIES= databases python
+
+MAINTAINER= dbn@FreeBSD.org
+COMMENT= Standard PyPy binding to the SQLite3 library
+
+LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3
+
+CFFI_NAME= _ffi
+
+.include "${.CURDIR}/../../lang/pypy/bsd.pypy.cffi.mk"
+.include <bsd.port.mk>
diff --git a/databases/pypy-sqlite3/pkg-descr b/databases/pypy-sqlite3/pkg-descr
new file mode 100644
index 000000000000..8d91da89239a
--- /dev/null
+++ b/databases/pypy-sqlite3/pkg-descr
@@ -0,0 +1,8 @@
+SQLite is a library that provides a SQL-language database that
+stores data in disk files without requiring a separate server
+process. pysqlite provides a SQL interface compliant with the DB-API
+2.0 specification described by PEP 249. This means that it should
+be possible to write the first version of your applications using
+SQLite for data storage. If switching to a larger database such as
+PostgreSQL or Oracle is later necessary, the switch should be
+relatively easy.