From owner-svn-ports-head@FreeBSD.ORG Wed Feb 5 21:07:33 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 DAB7D891; Wed, 5 Feb 2014 21:07:33 +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 C56E219AE; Wed, 5 Feb 2014 21:07:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s15L7XhE043825; Wed, 5 Feb 2014 21:07:33 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s15L7XEr043824; Wed, 5 Feb 2014 21:07:33 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201402052107.s15L7XEr043824@svn.freebsd.org> From: Antoine Brodin Date: Wed, 5 Feb 2014 21:07:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342853 - head/devel/py-aspects 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: Wed, 05 Feb 2014 21:07:33 -0000 Author: antoine Date: Wed Feb 5 21:07:33 2014 New Revision: 342853 URL: http://svnweb.freebsd.org/changeset/ports/342853 QAT: https://qat.redports.org/buildarchive/r342853/ Log: - Stage support - Use PYDISTUTILS_AUTOPLIST Deleted: head/devel/py-aspects/pkg-plist Modified: head/devel/py-aspects/Makefile Modified: head/devel/py-aspects/Makefile ============================================================================== --- head/devel/py-aspects/Makefile Wed Feb 5 21:05:28 2014 (r342852) +++ head/devel/py-aspects/Makefile Wed Feb 5 21:07:33 2014 (r342853) @@ -14,33 +14,24 @@ COMMENT= Lightweight aspect oriented pro LICENSE= LGPL21 -USES= gmake USE_PYTHON= yes USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= python-${PORTNAME} +PYDISTUTILS_AUTOPLIST= yes -PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message -EXAMPLESFILES= httpget_example.py timeout_advice.py timeout_example.py \ +PORTEXAMPLES= httpget_example.py timeout_advice.py timeout_example.py \ tracer_advice.py tracer_example.py typecheck_advice.py \ typecheck_example.py EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} -NO_STAGE= yes -do-build: - @PYTHON="${PYTHON_CMD}" ${GMAKE} -C ${WRKSRC} check +OPTIONS_DEFINE= EXAMPLES + +#regression-test: extract +# @PYTHON="${PYTHON_CMD}" ${GMAKE} -C ${WRKSRC} check -.if !defined(NOPORTEXAMPLES) post-install: - @${MKDIR} ${EXAMPLESDIR} -.for f in ${EXAMPLESFILES} - @${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR} -.endfor -.endif - -.if !defined(BATCH) - @${CAT} ${PKGMESSAGE} -.endif + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR} .include