FreeBSD Bugzilla – Attachment 142099 Details for
Bug 189070
[PATCH] databases/py-bsddb3: update to 6.0.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-bsddb3-6.0.1.patch
py-bsddb3-6.0.1.patch (text/plain), 2.63 KB, created by
Muhammad Moinur Rahman
on 2014-04-28 14:10:01 UTC
(
hide
)
Description:
py-bsddb3-6.0.1.patch
Filename:
MIME Type:
Creator:
Muhammad Moinur Rahman
Created:
2014-04-28 14:10:01 UTC
Size:
2.63 KB
patch
obsolete
>diff -ruN /usr/ports//databases/py-bsddb3/Makefile ./Makefile >--- /usr/ports//databases/py-bsddb3/Makefile 2014-03-03 17:41:38.000000000 +0600 >+++ ./Makefile 2014-04-28 17:49:59.164451084 +0600 >@@ -2,7 +2,7 @@ > # $FreeBSD: head/databases/py-bsddb3/Makefile 346882 2014-03-03 11:41:38Z rm $ > > PORTNAME= bsddb3 >-PORTVERSION= 5.3.0 >+PORTVERSION= 6.0.1 > CATEGORIES= databases python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -10,6 +10,8 @@ > MAINTAINER= wen@FreeBSD.org > COMMENT= Python extension module for BerkeleyDB 3 and 4 > >+LICENSE= BSD3CLAUSE >+ > USE_BDB= 43+ > USE_PYTHON= yes > USE_PYDISTUTILS= yes >@@ -25,6 +27,7 @@ > post-patch: > ${REINPLACE_CMD} 's,%%DBVERSION%%,${BDB_LIB_NAME},g' ${WRKSRC}/setup2.py ${WRKSRC}/setup3.py > ${REINPLACE_CMD} 's,<db\.h>,<${BDB_INCLUDE_DIR}/db.h>,' ${WRKSRC}/Modules/bsddb.h >+ ${REINPLACE_CMD} 's,%%BDB_INCLUDE_DIR%%,${BDB_INCLUDE_DIR},' ${WRKSRC}/setup2.py > > post-install: > @${MKDIR} ${STAGEDIR}${DOCSDIR} >diff -ruN /usr/ports//databases/py-bsddb3/distinfo ./distinfo >--- /usr/ports//databases/py-bsddb3/distinfo 2014-01-22 21:30:13.000000000 +0600 >+++ ./distinfo 2014-04-28 15:39:29.977979630 +0600 >@@ -1,2 +1,2 @@ >-SHA256 (bsddb3-5.3.0.tar.gz) = 4619f6189e5f94e337c62ae398ccb9c25568f3c3cab39970a4ea7625d38f8b3e >-SIZE (bsddb3-5.3.0.tar.gz) = 385113 >+SHA256 (bsddb3-6.0.1.tar.gz) = abc34d83d6cbb40f1626ecc2b62e8163ba204f4bb6a65c23b125a171d224bf6d >+SIZE (bsddb3-6.0.1.tar.gz) = 347002 >diff -ruN /usr/ports//databases/py-bsddb3/files/patch-setup2.py ./files/patch-setup2.py >--- /usr/ports//databases/py-bsddb3/files/patch-setup2.py 2014-01-22 23:40:44.000000000 +0600 >+++ ./files/patch-setup2.py 2014-04-28 17:52:43.642445117 +0600 >@@ -1,6 +1,6 @@ > --- setup2.py.orig 2011-03-08 22:16:14.000000000 +0800 > +++ setup2.py 2011-03-15 16:00:42.000000000 +0800 >-@@ -53,10 +53,7 @@ >+@@ -86,10 +86,7 @@ > category=DeprecationWarning) > > >@@ -12,7 +12,7 @@ > > from distutils.dep_util import newer > import distutils.ccompiler >-@@ -247,8 +244,8 @@ >+@@ -292,8 +289,8 @@ > incdir = os.path.join(BERKELEYDB_DIR, 'include') > if not libdir: > libdir = os.path.join(BERKELEYDB_DIR, 'lib') >@@ -23,3 +23,12 @@ > else: > if debug: print "LIBS already contains '-ldb' not adding our own", "'-l"+dblib+"'" > libname = [] >+@@ -332,7 +329,7 @@ >+ >+ # read db.h to figure out what version of Berkeley DB this is >+ ver = None >+- db_h_lines = open(os.path.join(incdir, 'db.h'), 'r').readlines() >++ db_h_lines = open('%%BDB_INCLUDE_DIR%%/db.h', 'r').readlines() >+ db_ver_re = re.compile( >+ r'^#define\s+DB_VERSION_STRING\s.*Berkeley DB (\d+\.\d+).*') >+ db_ver2 = db_ver
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 189070
: 142099