update py-sqlite2 to 2.8.1.

ok shadchin@ with a small fix.
This commit is contained in:
rpointel 2015-11-22 19:51:28 +00:00
parent 0a3084baeb
commit fddd37dd82
4 changed files with 7 additions and 28 deletions

View File

@ -1,19 +1,18 @@
# $OpenBSD: Makefile,v 1.26 2015/07/18 21:11:18 jasper Exp $
# $OpenBSD: Makefile,v 1.27 2015/11/22 19:51:28 rpointel Exp $
COMMENT = SQLite3 adapter for Python
MODPY_EGG_VERSION = 2.6.0
MODPY_EGG_VERSION = 2.8.1
DISTNAME = pysqlite-${MODPY_EGG_VERSION}
PKGNAME = py-sqlite2-${MODPY_EGG_VERSION}
REVISION = 5
CATEGORIES = databases devel
MAINTAINER = Eric Faurot <eric@openbsd.org>
HOMEPAGE = https://code.google.com/p/pysqlite/
HOMEPAGE = https://github.com/ghaering/pysqlite/
MASTER_SITES = https://pysqlite.googlecode.com/files/
MODPY_PI = Yes
# BSD-like
PERMIT_PACKAGE_CDROM = Yes
@ -25,9 +24,6 @@ BUILD_DEPENDS = textproc/py-sphinx
MODULES = lang/python
pre-configure:
@sed -i 's|_LOCALBASE_|${LOCALBASE}|g' ${WRKSRC}/setup.cfg
post-build:
cd ${WRKSRC} && \
${LOCALBASE}/bin/sphinx-build -N -b text doc/sphinx \

View File

@ -1,2 +1,2 @@
SHA256 (pysqlite-2.6.0.tar.gz) = VVg01972in/d88iet9ZpgLig1dyTJ3BfXHUueLTjWHk=
SIZE (pysqlite-2.6.0.tar.gz) = 74453
SHA256 (pysqlite-2.8.1.tar.gz) = dcrhj5ZG8qYTfh+1MC26Z0tpgu6rOigpN36YsTz+oGY=
SIZE (pysqlite-2.8.1.tar.gz) = 79539

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-setup_cfg,v 1.2 2009/04/09 01:05:25 martynas Exp $
--- setup.cfg.orig Wed Mar 11 18:31:40 2009
+++ setup.cfg Sun Mar 22 14:12:42 2009
@@ -1,6 +1,6 @@
[build_ext]
#define=
-#include_dirs=/usr/local/include
-#library_dirs=/usr/local/lib
+include_dirs=_LOCALBASE_/include
+library_dirs=_LOCALBASE_/lib
libraries=sqlite3
define=SQLITE_OMIT_LOAD_EXTENSION

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.8 2010/09/07 16:57:03 eric Exp $
@comment $OpenBSD: PLIST,v 1.9 2015/11/22 19:51:28 rpointel Exp $
lib/python${MODPY_VERSION}/site-packages/pysqlite-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/pysqlite2/
lib/python${MODPY_VERSION}/site-packages/pysqlite2/__init__.py
@ -19,11 +19,6 @@ lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/factory.py
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/factory.pyc
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/hooks.py
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/hooks.pyc
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/py25/
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/py25/__init__.py
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/py25/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/py25/py25tests.py
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/py25/py25tests.pyc
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/regression.py
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/regression.pyc
lib/python${MODPY_VERSION}/site-packages/pysqlite2/test/transactions.py