Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 03:22:02 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334386 - head/www/py-qp
Message-ID:  <201311200322.rAK3M22A005616@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Nov 20 03:22:01 2013
New Revision: 334386
URL: http://svnweb.freebsd.org/changeset/ports/334386

Log:
  - Update USE_PYTHON
  - Fix OPTIONSFILE
  - Support STAGEDIR
  - Reformat pkg-descr

Modified:
  head/www/py-qp/Makefile
  head/www/py-qp/pkg-descr   (contents, props changed)

Modified: head/www/py-qp/Makefile
==============================================================================
--- head/www/py-qp/Makefile	Wed Nov 20 03:21:56 2013	(r334385)
+++ head/www/py-qp/Makefile	Wed Nov 20 03:22:01 2013	(r334386)
@@ -13,28 +13,26 @@ COMMENT=	Python web framework to use qpy
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}durus>=0:${PORTSDIR}/devel/py-durus \
 		${PYTHON_PKGNAMEPREFIX}qpy>=1.7:${PORTSDIR}/www/py-qpy
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}durus>=0:${PORTSDIR}/devel/py-durus \
-		${PYTHON_PKGNAMEPREFIX}qpy>=1.7:${PORTSDIR}/www/py-qpy
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
+OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
 
 MAKE_ENV=	USE_DISTUTILS=yes
-USE_PYTHON=	2.5-2.7
 USE_PYDISTUTILS=yes
+USE_PYTHON=	-2.7
 
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.txt LICENSE.txt README.txt ${DOCSDIR}/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.txt LICENSE.txt README.txt ${STAGEDIR}${DOCSDIR}/
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
-	cd ${WRKSRC}/ && ${PYTHON_CMD} ${PYSETUP} install_demo_sites ${EXAMPLESDIR}/
+	cd ${WRKSRC}/ && ${PYTHON_CMD} ${PYSETUP} install_demo_sites ${STAGEDIR}${EXAMPLESDIR}/
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>

Modified: head/www/py-qp/pkg-descr
==============================================================================
--- head/www/py-qp/pkg-descr	Wed Nov 20 03:21:56 2013	(r334385)
+++ head/www/py-qp/pkg-descr	Wed Nov 20 03:22:01 2013	(r334386)
@@ -1,7 +1,6 @@
-This is QP, a package for defining and running multiple web
-applications based on Durus for persistence, standard persistent
-Session and User classes, easy interactive database sessions, qpy for
-assembling html, and Quixote2-style forms and path traversal. QP makes
-it easier than ever to use these tools together.
+This is QP, a package for defining and running multiple web applications based
+on Durus for persistence, standard persistent Session and User classes, easy
+interactive database sessions, qpy for assembling html, and Quixote2-style forms
+and path traversal. QP makes it easier than ever to use these tools together.
 
 WWW: http://www.mems-exchange.org/software/qp/



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