svn commit: r409213 - in head/databases: . py3-bsddb3 py3-bsddb3/files
Muhammad Moinur Rahman
bofh at FreeBSD.org
Fri Feb 19 22:51:24 UTC 2016
Author: bofh
Date: Fri Feb 19 22:51:22 2016
New Revision: 409213
URL: https://svnweb.freebsd.org/changeset/ports/409213
Log:
[NEW] databases/py3-bsddb3: Python3 version of databases/py-bsddb3
- Assign MAINTAINER to submitter
PR: 207033
Submitted by: woodsb02 at gmail.com
Added:
head/databases/py3-bsddb3/
- copied from r408890, head/databases/py-bsddb3/
Modified:
head/databases/Makefile
head/databases/py3-bsddb3/Makefile
head/databases/py3-bsddb3/distinfo
head/databases/py3-bsddb3/files/patch-setup2.py
head/databases/py3-bsddb3/files/patch-setup3.py
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Fri Feb 19 22:07:57 2016 (r409212)
+++ head/databases/Makefile Fri Feb 19 22:51:22 2016 (r409213)
@@ -787,6 +787,7 @@
SUBDIR += py-tarantool
SUBDIR += py-umemcache
SUBDIR += py-whisper
+ SUBDIR += py3-bsddb3
SUBDIR += py33-gdbm
SUBDIR += py33-sqlite3
SUBDIR += py34-gdbm
Modified: head/databases/py3-bsddb3/Makefile
==============================================================================
--- head/databases/py-bsddb3/Makefile Sun Feb 14 21:18:39 2016 (r408890)
+++ head/databases/py3-bsddb3/Makefile Fri Feb 19 22:51:22 2016 (r409213)
@@ -1,20 +1,19 @@
-# Created by: Hye-Shik Chang <perky at python.or.kr>
+# Created by: Ben Woods <woodsb02 at gmail.com>
# $FreeBSD$
PORTNAME= bsddb3
-PORTVERSION= 6.1.0
-PORTREVISION= 1
+PORTVERSION= 6.1.1
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= bofh at FreeBSD.org
+MAINTAINER= woodsb02 at gmail.com
COMMENT= Python extension module for BerkeleyDB 3 and 4
LICENSE= BSD3CLAUSE
USE_BDB= yes
-USES= python
+USES= python:3
USE_PYTHON= distutils autoplist
PYDISTUTILS_CONFIGUREARGS=--libs="-l${BDB_LIB_NAME}" --berkeley-db=${LOCALBASE}
Modified: head/databases/py3-bsddb3/distinfo
==============================================================================
--- head/databases/py-bsddb3/distinfo Sun Feb 14 21:18:39 2016 (r408890)
+++ head/databases/py3-bsddb3/distinfo Fri Feb 19 22:51:22 2016 (r409213)
@@ -1,2 +1,2 @@
-SHA256 (bsddb3-6.1.0.tar.gz) = b13163e3891c32390aea66edcf7880eb245abc89199a766b7b1907fc5c1efd15
-SIZE (bsddb3-6.1.0.tar.gz) = 340966
+SHA256 (bsddb3-6.1.1.tar.gz) = 6f21b0252125c07798d784c164ef135ad153d226c01b290258ee1c5b9e7c4dd3
+SIZE (bsddb3-6.1.1.tar.gz) = 450571
Modified: head/databases/py3-bsddb3/files/patch-setup2.py
==============================================================================
--- head/databases/py-bsddb3/files/patch-setup2.py Sun Feb 14 21:18:39 2016 (r408890)
+++ head/databases/py3-bsddb3/files/patch-setup2.py Fri Feb 19 22:51:22 2016 (r409213)
@@ -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
-@@ -86,11 +86,7 @@
+--- setup2.py.orig 2016-02-08 21:14:26 UTC
++++ setup2.py
+@@ -81,11 +81,7 @@ if (sys.version_info[0] < 3) and (sys.ve
category=DeprecationWarning)
@@ -13,7 +13,7 @@
from distutils.dep_util import newer
import distutils.ccompiler
-@@ -295,8 +291,8 @@
+@@ -288,8 +284,8 @@ if os.name == 'posix':
incdir = os.path.join(BERKELEYDB_DIR, 'include')
if not libdir:
libdir = os.path.join(BERKELEYDB_DIR, 'lib')
@@ -24,12 +24,12 @@
else:
if debug: print "LIBS already contains '-ldb' not adding our own", "'-l"+dblib+"'"
libname = []
-@@ -336,7 +332,7 @@
+@@ -328,7 +324,7 @@ if os.name == 'posix':
+
# read db.h to figure out what version of Berkeley DB this is
ver = None
- # This should move to "with" when we drop support for Python 2.4 and 2.5
-- f = open(os.path.join(incdir, 'db.h'), 'r')
-+ f = open('%%BDB_INCLUDE_DIR%%/db.h', 'r')
- db_h_lines = f.readlines()
- f.close()
+- with open(os.path.join(incdir, 'db.h'), 'r') as f :
++ with open('%%BDB_INCLUDE_DIR%%/db.h', 'r') as f :
+ db_h_lines = f.readlines()
db_ver_re = re.compile(
+ r'^#define\s+DB_VERSION_STRING\s.*Berkeley DB (\d+\.\d+).*')
Modified: head/databases/py3-bsddb3/files/patch-setup3.py
==============================================================================
--- head/databases/py-bsddb3/files/patch-setup3.py Sun Feb 14 21:18:39 2016 (r408890)
+++ head/databases/py3-bsddb3/files/patch-setup3.py Fri Feb 19 22:51:22 2016 (r409213)
@@ -1,6 +1,6 @@
---- setup3.py.orig
+--- setup3.py.orig 2016-02-08 21:18:47 UTC
+++ setup3.py
-@@ -86,10 +86,7 @@
+@@ -81,11 +81,7 @@ if (sys.version_info[0] < 3) and (sys.ve
category=DeprecationWarning)
@@ -8,11 +8,12 @@
- from setuptools import setup, Extension
-except :
- from distutils.core import setup, Extension
+-
+from distutils.core import setup, Extension
-
from distutils.dep_util import newer
import distutils.ccompiler
-@@ -295,8 +292,8 @@
+
+@@ -288,8 +284,8 @@ if os.name == 'posix':
incdir = os.path.join(BERKELEYDB_DIR, 'include')
if not libdir:
libdir = os.path.join(BERKELEYDB_DIR, 'lib')
@@ -23,12 +24,12 @@
else:
if debug: print("LIBS already contains '-ldb' not adding our own", "'-l"+dblib+"'")
libname = []
-@@ -336,7 +333,7 @@
+@@ -328,7 +324,7 @@ if os.name == 'posix':
+
# read db.h to figure out what version of Berkeley DB this is
ver = None
- # This should move to "with" when we drop support for Python 2.4 and 2.5
-- f = open(os.path.join(incdir, 'db.h'), 'r')
-+ f = open('%%BDB_INCLUDE_DIR%%/db.h', 'r')
- db_h_lines = f.readlines()
- f.close()
+- with open(os.path.join(incdir, 'db.h'), 'r') as f :
++ with open('%%BDB_INCLUDE_DIR%%/db.h', 'r') as f :
+ db_h_lines = f.readlines()
db_ver_re = re.compile(
+ r'^#define\s+DB_VERSION_STRING\s.*Berkeley DB (\d+\.\d+).*')
More information about the svn-ports-head
mailing list