Date: Mon, 14 Apr 2014 04:49:59 +0000 (UTC) From: Nicola Vitale <nivit@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351249 - head/devel/py-pathtools Message-ID: <201404140449.s3E4nx0T032657@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <ports@robakdesign.com> 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 <bsd.port.options.mk> .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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404140449.s3E4nx0T032657>