Bug 181938 - Create new python port databases/py-apsw
Summary: Create new python port databases/py-apsw
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-08 15:50 UTC by rnejdl
Modified: 2013-09-12 12:50 UTC (History)
1 user (show)

See Also:


Attachments
py-apsw.shar (2.06 KB, text/plain)
2013-09-08 15:50 UTC, rnejdl
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rnejdl 2013-09-08 15:50:00 UTC
	This creates a new python port for APSW - Another Python SQLite Wrapper. This port is requred to update deskutils/calibre to the latest release.
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2013-09-08 20:57:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->madpilot

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-09-12 12:44:19 UTC
Author: madpilot
Date: Thu Sep 12 11:44:05 2013
New Revision: 327055
URL: http://svnweb.freebsd.org/changeset/ports/327055

Log:
  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.
  
  PR:		ports/181938
  Submitted by:	Rusty Nejdl <rnejdl@ringofsaturn.com>

Added:
  head/databases/py-apsw/
  head/databases/py-apsw/Makefile   (contents, props changed)
  head/databases/py-apsw/distinfo   (contents, props changed)
  head/databases/py-apsw/pkg-descr   (contents, props changed)
  head/databases/py-apsw/pkg-plist   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Thu Sep 12 11:40:30 2013	(r327054)
+++ head/databases/Makefile	Thu Sep 12 11:44:05 2013	(r327055)
@@ -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

Added: head/databases/py-apsw/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/py-apsw/Makefile	Thu Sep 12 11:44:05 2013	(r327055)
@@ -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>

Added: head/databases/py-apsw/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/py-apsw/distinfo	Thu Sep 12 11:44:05 2013	(r327055)
@@ -0,0 +1,2 @@
+SHA256 (apsw-3.8.0.2-r1.zip) = f3da7dbc1c92b9962086de90d6c6ec5ce199ffcc9f4edca9f55ee62b27db61f0
+SIZE (apsw-3.8.0.2-r1.zip) = 662335

Added: head/databases/py-apsw/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/py-apsw/pkg-descr	Thu Sep 12 11:44:05 2013	(r327055)
@@ -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.

Added: head/databases/py-apsw/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/py-apsw/pkg-plist	Thu Sep 12 11:44:05 2013	(r327055)
@@ -0,0 +1 @@
+%%PYTHON_SITELIBDIR%%/apsw.so
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2013-09-12 12:45:58 UTC
State Changed
From-To: open->closed

New port added. Thanks!