Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2014 15:07:12 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r352509 - in head/databases/py-bsddb3: . files
Message-ID:  <201404281507.s3SF7C1C089882@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Mon Apr 28 15:07:11 2014
New Revision: 352509
URL: http://svnweb.freebsd.org/changeset/ports/352509
QAT: https://qat.redports.org/buildarchive/r352509/

Log:
  - Update to 6.0.1
  - Add LICENSE
  - Pass maintainership to submitter
  
  PR:		189070
  Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>

Modified:
  head/databases/py-bsddb3/Makefile
  head/databases/py-bsddb3/distinfo
  head/databases/py-bsddb3/files/patch-setup2.py

Modified: head/databases/py-bsddb3/Makefile
==============================================================================
--- head/databases/py-bsddb3/Makefile	Mon Apr 28 15:01:33 2014	(r352508)
+++ head/databases/py-bsddb3/Makefile	Mon Apr 28 15:07:11 2014	(r352509)
@@ -2,14 +2,16 @@
 # $FreeBSD$
 
 PORTNAME=	bsddb3
-PORTVERSION=	5.3.0
+PORTVERSION=	6.0.1
 CATEGORIES=	databases python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	wen@FreeBSD.org
+MAINTAINER=	5u623l20@gmail.com
 COMMENT=	Python extension module for BerkeleyDB 3 and 4
 
+LICENSE=	BSD3CLAUSE
+
 USE_BDB=	43+
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	yes
@@ -25,6 +27,7 @@ DOCSDIR=	${PREFIX}/share/doc/py-${PORTNA
 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}

Modified: head/databases/py-bsddb3/distinfo
==============================================================================
--- head/databases/py-bsddb3/distinfo	Mon Apr 28 15:01:33 2014	(r352508)
+++ head/databases/py-bsddb3/distinfo	Mon Apr 28 15:07:11 2014	(r352509)
@@ -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

Modified: head/databases/py-bsddb3/files/patch-setup2.py
==============================================================================
--- head/databases/py-bsddb3/files/patch-setup2.py	Mon Apr 28 15:01:33 2014	(r352508)
+++ head/databases/py-bsddb3/files/patch-setup2.py	Mon Apr 28 15:07:11 2014	(r352509)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404281507.s3SF7C1C089882>