From fddd37dd825e98524d36f39ee355fd75fe561308 Mon Sep 17 00:00:00 2001 From: rpointel Date: Sun, 22 Nov 2015 19:51:28 +0000 Subject: [PATCH] update py-sqlite2 to 2.8.1. ok shadchin@ with a small fix. --- databases/py-sqlite2/Makefile | 12 ++++-------- databases/py-sqlite2/distinfo | 4 ++-- databases/py-sqlite2/patches/patch-setup_cfg | 12 ------------ databases/py-sqlite2/pkg/PLIST | 7 +------ 4 files changed, 7 insertions(+), 28 deletions(-) delete mode 100644 databases/py-sqlite2/patches/patch-setup_cfg diff --git a/databases/py-sqlite2/Makefile b/databases/py-sqlite2/Makefile index aa154860219..0418b8d8e44 100644 --- a/databases/py-sqlite2/Makefile +++ b/databases/py-sqlite2/Makefile @@ -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 -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 \ diff --git a/databases/py-sqlite2/distinfo b/databases/py-sqlite2/distinfo index 5e2c74917f0..92c3fbd7651 100644 --- a/databases/py-sqlite2/distinfo +++ b/databases/py-sqlite2/distinfo @@ -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 diff --git a/databases/py-sqlite2/patches/patch-setup_cfg b/databases/py-sqlite2/patches/patch-setup_cfg deleted file mode 100644 index 07bda8f3c97..00000000000 --- a/databases/py-sqlite2/patches/patch-setup_cfg +++ /dev/null @@ -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 diff --git a/databases/py-sqlite2/pkg/PLIST b/databases/py-sqlite2/pkg/PLIST index 51a00a41094..caa4f71d2e0 100644 --- a/databases/py-sqlite2/pkg/PLIST +++ b/databases/py-sqlite2/pkg/PLIST @@ -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