From owner-svn-ports-head@FreeBSD.ORG Sun Dec 15 22:22:22 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 62DE34D9; Sun, 15 Dec 2013 22:22:22 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3457D16B9; Sun, 15 Dec 2013 22:22:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBFMMMiV016721; Sun, 15 Dec 2013 22:22:22 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBFMMLMu016719; Sun, 15 Dec 2013 22:22:21 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201312152222.rBFMMLMu016719@svn.freebsd.org> From: Antoine Brodin Date: Sun, 15 Dec 2013 22:22:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336591 - in head/security/py-volatility: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2013 22:22:22 -0000 Author: antoine Date: Sun Dec 15 22:22:21 2013 New Revision: 336591 URL: http://svnweb.freebsd.org/changeset/ports/336591 Log: - switch from easy_install to install - stage support - use PYDISTUTILS_AUTOPLIST Added: head/security/py-volatility/files/ head/security/py-volatility/files/patch-setup.py (contents, props changed) Deleted: head/security/py-volatility/pkg-plist Modified: head/security/py-volatility/Makefile Modified: head/security/py-volatility/Makefile ============================================================================== --- head/security/py-volatility/Makefile Sun Dec 15 22:14:40 2013 (r336590) +++ head/security/py-volatility/Makefile Sun Dec 15 22:22:21 2013 (r336591) @@ -19,20 +19,23 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dist ${PYTHON_PKGNAMEPREFIX}openpyxl>=0:${PORTSDIR}/textproc/py-openpyxl USE_PYTHON= -2.7 -USE_PYDISTUTILS=easy_install +USE_PYDISTUTILS=yes +PYDISTUTILS_AUTOPLIST=yes OPTIONS_DEFINE= DOCS +DATADIR= ${PREFIX}/share/py-${PORTNAME} PORTDOCS= AUTHORS.txt CHANGELOG.txt CREDITS.txt README.txt DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} -NO_STAGE= yes -.include +.include + +PYDISTUTILS_INSTALLARGS+=--install-data ${DATADIR} post-install: .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .endif -.include +.include Added: head/security/py-volatility/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-volatility/files/patch-setup.py Sun Dec 15 22:22:21 2013 (r336591) @@ -0,0 +1,14 @@ +--- ./setup.py.orig 2013-10-15 14:55:22.000000000 +0000 ++++ ./setup.py 2013-12-15 21:41:37.000000000 +0000 +@@ -45,7 +45,10 @@ + ret = [] + for topdir in topdirs: + for r, _ds, fs in os.walk(topdir): +- ret.append((r, [ os.path.join(r, f) for f in fs if (f.endswith('.py') or not py)])) ++ fl = [ os.path.join(r, f) for f in fs if (f.endswith('.py') or not py)] ++ # Do not record directories (with no regular files inside) ++ if len(fl) > 0: ++ ret.append((r, fl)) + return ret + + opts = {}