update to py-sqlite2-2.3.3

from maintainer Eric Faurot <eric.faurot at gmail dot com>
"looks ok" kili@
This commit is contained in:
martynas 2007-03-31 21:52:02 +00:00
parent f020e9e32b
commit d2ba2d1e56
3 changed files with 17 additions and 14 deletions

View File

@ -1,16 +1,16 @@
# $OpenBSD: Makefile,v 1.5 2006/08/01 22:19:46 espie Exp $ # $OpenBSD: Makefile,v 1.6 2007/03/31 21:52:02 martynas Exp $
SHARED_ONLY= Yes SHARED_ONLY= Yes
COMMENT= "SQLite3 adapter for Python" COMMENT= "SQLite3 adapter for Python"
DISTNAME= pysqlite-2.2.2 DISTNAME= pysqlite-2.3.3
PKGNAME= ${DISTNAME:S/^pysqlite/py-sqlite2/}p0 PKGNAME= ${DISTNAME:S/^pysqlite/py-sqlite2/}
CATEGORIES= databases devel CATEGORIES= databases devel
MAINTAINER= Eric Faurot <eric.faurot@gmail.com> MAINTAINER= Eric Faurot <eric.faurot@gmail.com>
MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/2.2/2.2.2/ MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/2.3/2.3.3/
HOMEPAGE= http://pysqlite.org/ HOMEPAGE= http://pysqlite.org/
# BSD-like # BSD-like
@ -20,18 +20,22 @@ PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
LIB_DEPENDS= sqlite3.>=8.6::databases/sqlite3 LIB_DEPENDS= sqlite3.>=8.6::databases/sqlite3
REGRESS_DEPENDS= :python-bz2-*:lang/python/${MODPY_VERSION},-bz2
MODULES= lang/python MODULES= lang/python
pre-configure: pre-configure:
cd ${WRKSRC} && \ cd ${WRKSRC} && \
sed "s|/usr/local|${LOCALBASE}|" setup.cfg | \ sed "s|/usr/local|${LOCALBASE}|" setup.cfg | \
sed "s|^\(include_dirs\)=.*|\1=${LOCALBASE}/include/|" > setup.cfg_ sed "s|^\(include_dirs\)=.*|\1=${LOCALBASE}/include/|" | \
sed "s|^\(library_dirs\)=.*|\1=${LOCALBASE}/lib/|" > setup.cfg_
mv ${WRKSRC}/setup.cfg_ ${WRKSRC}/setup.cfg mv ${WRKSRC}/setup.cfg_ ${WRKSRC}/setup.cfg
do-regress: fake do-regress: fake
@cd ${WRKSRC}/pysqlite2/test && \ @cd ${WRKSRC}/pysqlite2/test && \
${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \ ${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} ./regression.py ${MODPY_BIN} ./regression.py && \
${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} -c 'from pysqlite2 import test; test.test()'
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,4 +1,5 @@
MD5 (pysqlite-2.2.2.tar.gz) = 3260547d3f11c85613b2de8ed529a4fc MD5 (pysqlite-2.3.3.tar.gz) = cac3e827f22befff8b6302109c6eff34
RMD160 (pysqlite-2.2.2.tar.gz) = e2e1f18072ce56d193c22b608ea237692bc56353 RMD160 (pysqlite-2.3.3.tar.gz) = 285bcc2156061783e3a65d1fb4efe9551e2f86d4
SHA1 (pysqlite-2.2.2.tar.gz) = 0a8559384d95b242122c52cf98c7f6bd9334559e SHA1 (pysqlite-2.3.3.tar.gz) = f6dda35c7c14454f3c91013691241a11d1228f77
SIZE (pysqlite-2.2.2.tar.gz) = 75176 SHA256 (pysqlite-2.3.3.tar.gz) = 90ee3de57e92b268031cfc6d1239309ce628a2ef88708f6d471a976e810ffab8
SIZE (pysqlite-2.3.3.tar.gz) = 60695

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2006/05/25 13:39:08 alek Exp $ @comment $OpenBSD: PLIST,v 1.4 2007/03/31 21:52:02 martynas Exp $
lib/python${MODPY_VERSION}/site-packages/pysqlite2/ lib/python${MODPY_VERSION}/site-packages/pysqlite2/
lib/python${MODPY_VERSION}/site-packages/pysqlite2/__init__.py lib/python${MODPY_VERSION}/site-packages/pysqlite2/__init__.py
lib/python${MODPY_VERSION}/site-packages/pysqlite2/__init__.pyc lib/python${MODPY_VERSION}/site-packages/pysqlite2/__init__.pyc
@ -25,17 +25,15 @@ lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/userfunctions.pyc
share/doc/py-sqlite2/ share/doc/py-sqlite2/
share/doc/py-sqlite2/default.css share/doc/py-sqlite2/default.css
share/doc/py-sqlite2/docutils.css share/doc/py-sqlite2/docutils.css
share/doc/py-sqlite2/install-source-win32.html
share/doc/py-sqlite2/install-source-win32.txt share/doc/py-sqlite2/install-source-win32.txt
share/doc/py-sqlite2/install-source.html
share/doc/py-sqlite2/install-source.txt share/doc/py-sqlite2/install-source.txt
share/doc/py-sqlite2/silvercity.css share/doc/py-sqlite2/silvercity.css
share/doc/py-sqlite2/usage-guide.html
share/doc/py-sqlite2/usage-guide.txt share/doc/py-sqlite2/usage-guide.txt
share/examples/py-sqlite2/ share/examples/py-sqlite2/
share/examples/py-sqlite2/adapter_datetime.py share/examples/py-sqlite2/adapter_datetime.py
share/examples/py-sqlite2/adapter_point_1.py share/examples/py-sqlite2/adapter_point_1.py
share/examples/py-sqlite2/adapter_point_2.py share/examples/py-sqlite2/adapter_point_2.py
share/examples/py-sqlite2/authorizer.py
share/examples/py-sqlite2/collation_reverse.py share/examples/py-sqlite2/collation_reverse.py
share/examples/py-sqlite2/complete_statement.py share/examples/py-sqlite2/complete_statement.py
share/examples/py-sqlite2/connect_db_1.py share/examples/py-sqlite2/connect_db_1.py