From owner-svn-ports-head@FreeBSD.ORG Mon Apr 14 04:49:59 2014 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 AF3EFCA4; Mon, 14 Apr 2014 04:49:59 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 82A131D72; Mon, 14 Apr 2014 04:49:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3E4nxPH032659; Mon, 14 Apr 2014 04:49:59 GMT (envelope-from nivit@svn.freebsd.org) Received: (from nivit@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3E4nx0T032657; Mon, 14 Apr 2014 04:49:59 GMT (envelope-from nivit@svn.freebsd.org) Message-Id: <201404140449.s3E4nx0T032657@svn.freebsd.org> From: Nicola Vitale Date: Mon, 14 Apr 2014 04:49:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351249 - head/devel/py-pathtools 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: Mon, 14 Apr 2014 04:49:59 -0000 Author: nivit Date: Mon Apr 14 04:49:58 2014 New Revision: 351249 URL: http://svnweb.freebsd.org/changeset/ports/351249 QAT: https://qat.redports.org/buildarchive/r351249/ Log: - Remove deprecated OPTIONSFILE - Use auto-generated plist - Don't build/install Python egg anymore - Bump PORTREVISION (changed pkg-plist) - Add support for stage-dir [1] - Don't install unnecessary files of DOCS PR: ports/188528 [1] Submitted by: Bartek Rutkowski Modified: head/devel/py-pathtools/Makefile head/devel/py-pathtools/pkg-plist Modified: head/devel/py-pathtools/Makefile ============================================================================== --- head/devel/py-pathtools/Makefile Mon Apr 14 04:38:01 2014 (r351248) +++ head/devel/py-pathtools/Makefile Mon Apr 14 04:49:58 2014 (r351249) @@ -2,7 +2,7 @@ PORTNAME= pathtools PORTVERSION= 0.1.2 -#PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,13 +13,12 @@ COMMENT= File system general utilities f LICENSE= MIT OPTIONS_DEFINE= DOCS -OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options -# Python3 ready (installation tested) +PYDISTUTILS_AUTOPLIST= yes + USE_PYTHON= yes -USE_PYDISTUTILS= easy_install +USE_PYDISTUTILS= yes -NO_STAGE= yes .include .if ${PORT_OPTIONS:MDOCS} @@ -27,10 +26,11 @@ BUILD_DEPENDS+= ${PKGNAMEPREFIX}sphinx>= DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} post-build: - (cd ${WRKSRC}/docs ; ${MAKE} html) + @(cd ${WRKSRC}/docs ; ${MAKE} html) post-install: - (cd ${WRKSRC}/docs/build/html ; ${COPYTREE_SHARE} . ${DOCSDIR}) + @(cd ${WRKSRC}/docs/build/html ; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ + "! -name .buildinfo -and ! -name objects.inv") .endif .include Modified: head/devel/py-pathtools/pkg-plist ============================================================================== --- head/devel/py-pathtools/pkg-plist Mon Apr 14 04:38:01 2014 (r351248) +++ head/devel/py-pathtools/pkg-plist Mon Apr 14 04:49:58 2014 (r351249) @@ -1,5 +1,3 @@ -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% -%%PORTDOCS%%%%DOCSDIR%%/.buildinfo %%PORTDOCS%%%%DOCSDIR%%/_modules/index.html %%PORTDOCS%%%%DOCSDIR%%/_modules/pathtools/path.html %%PORTDOCS%%%%DOCSDIR%%/_modules/pathtools/patterns.html @@ -28,7 +26,6 @@ %%PORTDOCS%%%%DOCSDIR%%/api.html %%PORTDOCS%%%%DOCSDIR%%/genindex.html %%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/objects.inv %%PORTDOCS%%%%DOCSDIR%%/py-modindex.html %%PORTDOCS%%%%DOCSDIR%%/search.html %%PORTDOCS%%%%DOCSDIR%%/searchindex.js