summaryrefslogtreecommitdiff
path: root/databases/py-apsw/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2014-04-16 17:15:24 +0000
committerwiz <wiz>2014-04-16 17:15:24 +0000
commit72433934034b69786b06f55cc9f77145d5a58db4 (patch)
tree9ff26a63445bb402eeb4b420f7994486b1d81eb4 /databases/py-apsw/Makefile
parente2f3b31807128354d4eb02d5d4da00620148568e (diff)
downloadpkgsrc-72433934034b69786b06f55cc9f77145d5a58db4.tar.gz
Import py27-apsw-3.8.4.2pl1 as databases/py-apsw, packaged for wip by rhialto.
APSW provides an SQLite 3 wrapper that provides the thinnest layer over the SQLite database library possible. Everything you can do from the SQLite C API, you can do from Python. Although APSW looks vaguely similar to the PEP 249 (DBAPI), it is not compliant with that API because instead it works the way SQLite 3 does.
Diffstat (limited to 'databases/py-apsw/Makefile')
-rw-r--r--databases/py-apsw/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/py-apsw/Makefile b/databases/py-apsw/Makefile
new file mode 100644
index 00000000000..20962bc0db8
--- /dev/null
+++ b/databases/py-apsw/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2014/04/16 17:15:24 wiz Exp $
+
+DISTNAME= apsw-3.8.4.2-r1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-r/pl/}
+CATEGORIES= databases
+MASTER_SITES= https://github.com/rogerbinns/apsw/releases/download/${DISTNAME:C/^[^-]*-//1}/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= rhialto@falu.nl
+HOMEPAGE= http://rogerbinns.github.io/apsw/
+COMMENT= Python wrapper for SQLite
+LICENSE= zlib
+
+USE_LANGUAGES= c
+
+EGG_NAME= ${DISTNAME:S/-r/_r/}
+
+BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.8.3
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"