svn commit: r345807 - head/databases/py-leveldb

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Feb 24 10:41:40 UTC 2014


Author: sunpoet
Date: Mon Feb 24 10:41:39 2014
New Revision: 345807
URL: http://svnweb.freebsd.org/changeset/ports/345807
QAT: https://qat.redports.org/buildarchive/r345807/

Log:
  - Use PYDISTUTILS_AUTOPLIST instead of PLIST_FILES and PYDISTUTILS_EGGINFO
  - Remove patch of not using setuptools
  - Bump PORTREVISION for package change

Modified:
  head/databases/py-leveldb/Makefile

Modified: head/databases/py-leveldb/Makefile
==============================================================================
--- head/databases/py-leveldb/Makefile	Mon Feb 24 10:41:35 2014	(r345806)
+++ head/databases/py-leveldb/Makefile	Mon Feb 24 10:41:39 2014	(r345807)
@@ -3,6 +3,7 @@
 
 PORTNAME=	leveldb
 PORTVERSION=	0.1.20130428
+PORTREVISION=	1
 CATEGORIES=	databases python
 MASTER_SITES=	LOCAL/sunpoet
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,16 +16,13 @@ LICENSE=	BSD3CLAUSE
 
 LIB_DEPENDS=	libleveldb.so:${PORTSDIR}/databases/leveldb
 
-USE_PYTHON=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 USE_PYDISTUTILS=yes
+USE_PYTHON=	yes
 USE_XZ=		yes
 
-PLIST_FILES=	%%PYTHON_SITELIBDIR%%/leveldb.so
-PYDISTUTILS_EGGINFO=	${PORTNAME}-${PORTVERSION:R}-py${PYTHON_VER}.egg-info
-
 post-patch:
 	@${REINPLACE_CMD} \
-		-e 's|setuptools|do_not_use_&|' \
 		-e "s|^\(extra_compile_args = \).*$$|\1\['-I${LOCALBASE}/include'\]|" \
 		-e "s|^\(extra_link_args = \).*$$|\1\['-L${LOCALBASE}/lib', '-lleveldb'\]|" \
 			${WRKSRC}/${PYSETUP}


More information about the svn-ports-head mailing list