aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-09-12 11:44:05 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-09-12 11:44:05 +0000
commitdf8b3a75caaac647879c96652c551a75f82b20e7 (patch)
tree59266acd2c802c9b391e4cf523e0fc79a8a75d7e /databases
parent0379fcaf6f22b7c20ecce3271beaddc2b3e5c8cd (diff)
downloadports-df8b3a75caaac647879c96652c551a75f82b20e7.tar.gz
ports-df8b3a75caaac647879c96652c551a75f82b20e7.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-apsw/Makefile24
-rw-r--r--databases/py-apsw/distinfo2
-rw-r--r--databases/py-apsw/pkg-descr6
-rw-r--r--databases/py-apsw/pkg-plist1
5 files changed, 34 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 021cf9c3fdb3..05aeb1c66d0d 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -727,6 +727,7 @@
SUBDIR += py-MySQLdb51
SUBDIR += py-MySQLdb55
SUBDIR += py-PyGreSQL
+ SUBDIR += py-apsw
SUBDIR += py-bsddb
SUBDIR += py-bsddb3
SUBDIR += py-carbon
diff --git a/databases/py-apsw/Makefile b/databases/py-apsw/Makefile
new file mode 100644
index 000000000000..36222ad6e5af
--- /dev/null
+++ b/databases/py-apsw/Makefile
@@ -0,0 +1,24 @@
+# Created by: Rusty Nejdl
+# $FreeBSD$
+
+PORTNAME= apsw
+PORTVERSION= 3.8.0.2
+CATEGORIES= databases python
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-r1
+
+MAINTAINER= rnejdl@ringofsaturn.com
+COMMENT= APSW stands for Another Python SQLite Wrapper
+
+LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3
+
+PYDISTUTILS_PKGVERSION= ${PORTVERSION}_r1
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+USE_ZIP= yes
+
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+.include <bsd.port.mk>
diff --git a/databases/py-apsw/distinfo b/databases/py-apsw/distinfo
new file mode 100644
index 000000000000..5c2ece4649a1
--- /dev/null
+++ b/databases/py-apsw/distinfo
@@ -0,0 +1,2 @@
+SHA256 (apsw-3.8.0.2-r1.zip) = f3da7dbc1c92b9962086de90d6c6ec5ce199ffcc9f4edca9f55ee62b27db61f0
+SIZE (apsw-3.8.0.2-r1.zip) = 662335
diff --git a/databases/py-apsw/pkg-descr b/databases/py-apsw/pkg-descr
new file mode 100644
index 000000000000..5702794c750f
--- /dev/null
+++ b/databases/py-apsw/pkg-descr
@@ -0,0 +1,6 @@
+APSW is a Python wrapper for the SQLite embedded relational database
+engine. In contrast to other wrappers such as pysqlite it focuses
+on being a minimal layer over SQLite attempting just to translate
+the complete SQLite API into Python. The documentation has a section
+on the differences between APSW and pysqlite. APSW supports CPython
+2.3 onwards and CPython 3.1 onwards.
diff --git a/databases/py-apsw/pkg-plist b/databases/py-apsw/pkg-plist
new file mode 100644
index 000000000000..43e5988be34c
--- /dev/null
+++ b/databases/py-apsw/pkg-plist
@@ -0,0 +1 @@
+%%PYTHON_SITELIBDIR%%/apsw.so