Update to py-sqlite-2.4.1 from Martynas. Fixes an issue other ports
(like gajim) were having. ok martynas@, bernd@
This commit is contained in:
parent
9a4b5355e8
commit
d53ea27d88
@ -1,19 +1,19 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2008/01/12 23:05:13 eric Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
# $OpenBSD: Makefile,v 1.10 2008/01/30 17:33:13 eric Exp $
|
||||
|
||||
COMMENT= SQLite3 adapter for Python
|
||||
|
||||
VERSION= 2.4.0
|
||||
VERSION= 2.4.1
|
||||
DISTNAME= pysqlite-${VERSION}
|
||||
PKGNAME= py-sqlite2-${VERSION}
|
||||
CATEGORIES= databases devel
|
||||
|
||||
MAINTAINER= Eric Faurot <eric@openbsd.org>
|
||||
|
||||
MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/${VERSION:R}/${VERSION}/
|
||||
HOMEPAGE= http://pysqlite.org/
|
||||
|
||||
MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/${VERSION:R}/${VERSION}/ \
|
||||
http://mirrors.protection.cx/~martynas/
|
||||
|
||||
# BSD-like
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
@ -28,11 +28,7 @@ SUBST_VARS= VERSION
|
||||
MODULES= lang/python
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && \
|
||||
sed "s|/usr/local|${LOCALBASE}|" 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
|
||||
@perl -pi -e 's|_LOCALBASE_|${LOCALBASE}|g' ${WRKSRC}/setup.cfg
|
||||
|
||||
do-regress: fake
|
||||
@cd ${WRKSRC}/pysqlite2/test && \
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (pysqlite-2.4.0.tar.gz) = RrRZDFG5+2LNC+FDlkZUng==
|
||||
RMD160 (pysqlite-2.4.0.tar.gz) = ELrMB41ITCInsnLOWaKGolyjgZY=
|
||||
SHA1 (pysqlite-2.4.0.tar.gz) = U3IN+XCUXmVGY1DkvNWbl05OdQA=
|
||||
SHA256 (pysqlite-2.4.0.tar.gz) = fmbAfT65MDX5Jy0BRw5TGnyfnZdRrQbzqcE7T2fAoGo=
|
||||
SIZE (pysqlite-2.4.0.tar.gz) = 84800
|
||||
MD5 (pysqlite-2.4.1.tar.gz) = fZpIdacQe5TrSqLchholNw==
|
||||
RMD160 (pysqlite-2.4.1.tar.gz) = aT9NeJOI7wRWRJ0BsNNCqvGZCDI=
|
||||
SHA1 (pysqlite-2.4.1.tar.gz) = A9LFLGXgF+ZX2FLAWDqjm7ZWOnM=
|
||||
SHA256 (pysqlite-2.4.1.tar.gz) = gkDxrAV+LjiYLMCooSmb2Ix7hO8URIfzx8bgGjTyyAc=
|
||||
SIZE (pysqlite-2.4.1.tar.gz) = 84996
|
||||
|
11
databases/py-sqlite2/patches/patch-setup_cfg
Normal file
11
databases/py-sqlite2/patches/patch-setup_cfg
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-setup_cfg,v 1.1 2008/01/30 17:33:13 eric Exp $
|
||||
--- setup.cfg.orig Mon Jan 28 21:11:24 2008
|
||||
+++ setup.cfg Tue Jan 29 10:26:08 2008
|
||||
@@ -1,5 +1,5 @@
|
||||
[build_ext]
|
||||
#define=
|
||||
-#include_dirs=/usr/local/include
|
||||
-#library_dirs=/usr/local/lib
|
||||
+include_dirs=_LOCALBASE_/include
|
||||
+library_dirs=_LOCALBASE_/lib
|
||||
libraries=sqlite3
|
Loading…
Reference in New Issue
Block a user