Index: head/databases/py-leveldb/Makefile =================================================================== --- head/databases/py-leveldb/Makefile (revision 430368) +++ head/databases/py-leveldb/Makefile (revision 430369) @@ -1,26 +1,21 @@ # Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= leveldb -PORTVERSION= 0.1.20130428 -PORTREVISION= 3 +PORTVERSION= 0.20 CATEGORIES= databases python -MASTER_SITES= LOCAL/sunpoet +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= py-${PORTNAME}-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Thread-safe Python binding for LevelDB LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libleveldb.so:databases/leveldb - USE_PYTHON= autoplist concurrent distutils -USES= localbase python tar:xz +USES= python post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/leveldb.so .include Index: head/databases/py-leveldb/distinfo =================================================================== --- head/databases/py-leveldb/distinfo (revision 430368) +++ head/databases/py-leveldb/distinfo (revision 430369) @@ -1,2 +1,3 @@ -SHA256 (py-leveldb-0.1.20130428.tar.xz) = bf7509b59497e54aa367e3b63d54516be881c86382da1866781499a7a5b75a3b -SIZE (py-leveldb-0.1.20130428.tar.xz) = 13744 +TIMESTAMP = 1483295328 +SHA256 (leveldb-0.20.tar.gz) = 9ffc9b68c8c0e0a996e2409e4a95ef1fbb4dcf0f6040b21b9153cbd57c90e079 +SIZE (leveldb-0.20.tar.gz) = 235491 Index: head/databases/py-leveldb/files/patch-setup.py =================================================================== --- head/databases/py-leveldb/files/patch-setup.py (nonexistent) +++ head/databases/py-leveldb/files/patch-setup.py (revision 430369) @@ -0,0 +1,16 @@ +--- setup.py.orig 2016-12-27 23:05:34 UTC ++++ setup.py +@@ -31,11 +31,11 @@ if system == 'Darwin': + '-DLEVELDB_PLATFORM_POSIX', + '-Wno-error=unused-command-line-argument-hard-error-in-future', + ] +-elif system == 'Linux': ++elif system == 'FreeBSD': + extra_compile_args = common_flags + [ + '-pthread', + '-Wall', +- '-DOS_LINUX', ++ '-DOS_FREEBSD', + '-DLEVELDB_PLATFORM_POSIX', + ] + else: Property changes on: head/databases/py-leveldb/files/patch-setup.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/databases/py-leveldb/pkg-descr =================================================================== --- head/databases/py-leveldb/pkg-descr (revision 430368) +++ head/databases/py-leveldb/pkg-descr (revision 430369) @@ -1,7 +1,7 @@ py-leveldb is a thread-safe Python bindings for LevelDB. It has all features from the LevelDB API, except for: - Arbitrary key comparison - Snapshots - All iteration except for single-step forward -WWW: http://code.google.com/p/py-leveldb/ +WWW: https://pypi.python.org/pypi/leveldb