Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 2013 09:48:44 -0500 (CDT)
From:      Rusty Nejdl <rnejdl@ringofsaturn.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        python@freebsd.org
Subject:   ports/181938: Create new python port databases/py-apsw
Message-ID:  <assp.0963936647.201309081448.r88EmiwZ082213@tethys.ringofsaturn.com>
Resent-Message-ID: <201309081450.r88Eo08Z006139@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         181938
>Category:       ports
>Synopsis:       Create new python port databases/py-apsw
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 08 14:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Rusty Nejdl
>Release:        FreeBSD 9.2-PRERELEASE amd64
>Organization:
>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 <bsd.port.mk>
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 ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?assp.0963936647.201309081448.r88EmiwZ082213>