Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2013 09:19:24 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328655 - head/devel/py-dynrules
Message-ID:  <201309290919.r8T9JOeF052723@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Sun Sep 29 09:19:23 2013
New Revision: 328655
URL: http://svnweb.freebsd.org/changeset/ports/328655

Log:
  - Convert to PYDISTUTILS_AUTOPLIST
  - Enable stage support
  - Fix plist

Modified:
  head/devel/py-dynrules/Makefile
  head/devel/py-dynrules/pkg-plist

Modified: head/devel/py-dynrules/Makefile
==============================================================================
--- head/devel/py-dynrules/Makefile	Sun Sep 29 09:14:46 2013	(r328654)
+++ head/devel/py-dynrules/Makefile	Sun Sep 29 09:19:23 2013	(r328655)
@@ -12,17 +12,17 @@ COMMENT=	Dynamic Scripting for adaptive 
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST=	yes
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${INSTALL} -d ${DOCSDIR}/html
+	@${INSTALL} -d ${STAGEDIR}${DOCSDIR}/html
 	@${TAR} -C ${WRKSRC}/doc/html -cf - . | \
-		${TAR} -C ${DOCSDIR}/html -xf -
+		${TAR} -C ${STAGEDIR}${DOCSDIR}/html -xf -
 .endif
 
 .include <bsd.port.mk>

Modified: head/devel/py-dynrules/pkg-plist
==============================================================================
--- head/devel/py-dynrules/pkg-plist	Sun Sep 29 09:14:46 2013	(r328654)
+++ head/devel/py-dynrules/pkg-plist	Sun Sep 29 09:19:23 2013	(r328655)
@@ -1,39 +1,3 @@
-%%PYTHON_SITELIBDIR%%/dynrules/__init__.py
-%%PYTHON_SITELIBDIR%%/dynrules/__init__.pyc
-%%PYTHON_SITELIBDIR%%/dynrules/__init__.pyo
-%%PYTHON_SITELIBDIR%%/dynrules/examples/__init__.py
-%%PYTHON_SITELIBDIR%%/dynrules/examples/__init__.pyc
-%%PYTHON_SITELIBDIR%%/dynrules/examples/__init__.pyo
-%%PYTHON_SITELIBDIR%%/dynrules/examples/learnsystem.py
-%%PYTHON_SITELIBDIR%%/dynrules/examples/learnsystem.pyc
-%%PYTHON_SITELIBDIR%%/dynrules/examples/learnsystem.pyo
-%%PYTHON_SITELIBDIR%%/dynrules/test/__init__.py
-%%PYTHON_SITELIBDIR%%/dynrules/test/__init__.pyc
-%%PYTHON_SITELIBDIR%%/dynrules/test/__init__.pyo
-%%PYTHON_SITELIBDIR%%/dynrules/test/learnsystem_test.py
-%%PYTHON_SITELIBDIR%%/dynrules/test/learnsystem_test.pyc
-%%PYTHON_SITELIBDIR%%/dynrules/test/learnsystem_test.pyo
-%%PYTHON_SITELIBDIR%%/dynrules/test/rule_test.py
-%%PYTHON_SITELIBDIR%%/dynrules/test/rule_test.pyc
-%%PYTHON_SITELIBDIR%%/dynrules/test/rule_test.pyo
-%%PYTHON_SITELIBDIR%%/dynrules/test/ruleset_test.py
-%%PYTHON_SITELIBDIR%%/dynrules/test/ruleset_test.pyc
-%%PYTHON_SITELIBDIR%%/dynrules/test/ruleset_test.pyo
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/__init__.py
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/__init__.pyc
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/__init__.pyo
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/runtests.py
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/runtests.pyc
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/runtests.pyo
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/support.py
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/support.pyc
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/support.pyo
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/testrunner.py
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/testrunner.pyc
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/testrunner.pyo
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/testutils.py
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/testutils.pyc
-%%PYTHON_SITELIBDIR%%/dynrules/test/util/testutils.pyo
 %%PORTDOCS%%%%DOCSDIR%%/html/_sources/api.txt
 %%PORTDOCS%%%%DOCSDIR%%/html/_sources/copying.txt
 %%PORTDOCS%%%%DOCSDIR%%/html/_sources/cpp.txt
@@ -75,12 +39,7 @@
 %%PORTDOCS%%%%DOCSDIR%%/html/searchindex.js
 %%PORTDOCS%%%%DOCSDIR%%/html/todos.html
 %%PORTDOCS%%%%DOCSDIR%%/html/usage.html
-@dirrm %%PYTHON_SITELIBDIR%%/dynrules/test/util
-@dirrm %%PYTHON_SITELIBDIR%%/dynrules/test
-@dirrm %%PYTHON_SITELIBDIR%%/dynrules/examples
-@dirrm %%PYTHON_SITELIBDIR%%/dynrules
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/_sources
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/_static
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/ref
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309290919.r8T9JOeF052723>