From owner-freebsd-python@FreeBSD.ORG Sun Sep 8 14:48:46 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C7E5CE42; Sun, 8 Sep 2013 14:48:46 +0000 (UTC) (envelope-from rnejdl@tethys.ringofsaturn.com) Received: from tethys.ringofsaturn.com (tethys.ringofsaturn.com [71.252.219.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8931C216F; Sun, 8 Sep 2013 14:48:46 +0000 (UTC) Received: from ASSP.nospam (localhost [127.0.0.1]) by tethys.ringofsaturn.com (8.14.7/8.14.7) with ESMTP id r88EmihO082214; Sun, 8 Sep 2013 09:48:44 -0500 (CDT) (envelope-from rnejdl@tethys.ringofsaturn.com) Received: from tethys.ringofsaturn.com ([127.0.0.1] helo=tethys.ringofsaturn.com) by ASSP.nospam with ESMTPS(AES256-SHA) (ASSP 1.9.9); 8 Sep 2013 09:48:44 -0500 Received: (from rnejdl@localhost) by tethys.ringofsaturn.com (8.14.7/8.14.7/Submit) id r88EmiwZ082213; Sun, 8 Sep 2013 09:48:44 -0500 (CDT) (envelope-from rnejdl) Date: Sun, 8 Sep 2013 09:48:44 -0500 (CDT) Message-Id: To: FreeBSD-gnats-submit@freebsd.org Subject: Create new python port databases/py-apsw From: Rusty Nejdl X-send-pr-version: 3.114 X-GNATS-Notify: Cc: python@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Rusty Nejdl List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Sep 2013 14:48:46 -0000 >Submitter-Id: current-users >Originator: Rusty Nejdl >Organization: >Confidential: no >Synopsis: Create new python port databases/py-apsw >Severity: non-critical >Priority: low >Category: ports >Class: update >Release: FreeBSD 9.2-PRERELEASE amd64 >Environment: System: FreeBSD tethys.ringofsaturn.com 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #1 r255073: Sat Aug 31 00:23:06 CDT 2013 root@tethys.ringofsaturn.com:/usr/obj/usr/src/sys/SATURN amd64 >Description: This creates a new python port for APSW - Another Python SQLite Wrapper. This port is requred to update deskutils/calibre to the latest release. >How-To-Repeat: >Fix: --- py-apsw.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-apsw # py-apsw/pkg-descr # py-apsw/Makefile # py-apsw/distinfo # py-apsw/pkg-plist # echo c - py-apsw mkdir -p py-apsw > /dev/null 2>&1 echo x - py-apsw/pkg-descr sed 's/^X//' >py-apsw/pkg-descr << '7c6bcad908f6ee3186cf5d247c0addfa' XAPSW 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. 7c6bcad908f6ee3186cf5d247c0addfa echo x - py-apsw/Makefile sed 's/^X//' >py-apsw/Makefile << '3f13ced1b1c6edc5307bd15121dbdc0f' X# Created by: Rusty Nejdl X# $FreeBSD: head/databases/py-apsw/Makefile 313167 2013-03-01 20:12:01Z lwhsu $ X XPORTNAME= apsw XPORTVERSION= 3.8.0.2 XCATEGORIES= databases python XMASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= ${PORTNAME}-${PORTVERSION}-r1 XPYDISTUTILS_PKGVERSION= ${PORTVERSION}_r1 X XMAINTAINER= rnejdl@ringofsaturn.com XCOMMENT= APSW stands for Another Python SQLite Wrapper. X XLIB_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3 X XUSE_PYTHON= yes XUSE_PYDISTUTILS=yes XUSE_ZIP= yes X XCFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib X X.include 3f13ced1b1c6edc5307bd15121dbdc0f echo x - py-apsw/distinfo sed 's/^X//' >py-apsw/distinfo << 'fbb1d2f2c89d0310b1f1f31ba8da57cd' XSHA256 (apsw-3.8.0.2-r1.zip) = f3da7dbc1c92b9962086de90d6c6ec5ce199ffcc9f4edca9f55ee62b27db61f0 XSIZE (apsw-3.8.0.2-r1.zip) = 662335 fbb1d2f2c89d0310b1f1f31ba8da57cd echo x - py-apsw/pkg-plist sed 's/^X//' >py-apsw/pkg-plist << 'ea5a80986e92ba5f9c360df155449f3e' X%%PYTHON_SITELIBDIR%%/apsw.so ea5a80986e92ba5f9c360df155449f3e exit --- py-apsw.shar ends here ---