1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00

Update to 0.20

- Remove LICENSE_FILE
- Update WWW
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-01-02 15:12:00 +00:00
parent e954e5c220
commit 289682c974
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430369
4 changed files with 23 additions and 11 deletions

View File

@ -2,23 +2,18 @@
# $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

View File

@ -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

View File

@ -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:

View File

@ -4,4 +4,4 @@ from the LevelDB API, except for:
- Snapshots
- All iteration except for single-step forward
WWW: http://code.google.com/p/py-leveldb/
WWW: https://pypi.python.org/pypi/leveldb