Create new python port databases/py-apsw

Rusty Nejdl rnejdl at ringofsaturn.com
Sun Sep 8 14:48:46 UTC 2013


>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 at 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 at 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 ---




More information about the freebsd-python mailing list