From owner-svn-ports-head@FreeBSD.ORG Mon Dec 16 02:38:59 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D360AAA2; Mon, 16 Dec 2013 02:38: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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A63DF1792; Mon, 16 Dec 2013 02:38:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBG2cxYi009808; Mon, 16 Dec 2013 02:38:59 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBG2cx41009807; Mon, 16 Dec 2013 02:38:59 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201312160238.rBG2cx41009807@svn.freebsd.org> From: Rene Ladan Date: Mon, 16 Dec 2013 02:38:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336603 - head/www/py-ws4py 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, 16 Dec 2013 02:38:59 -0000 Author: rene Date: Mon Dec 16 02:38:59 2013 New Revision: 336603 URL: http://svnweb.freebsd.org/changeset/ports/336603 Log: - Convert to PYDISTUTILS=yes - Stagify - Set NO_ARCH - Drop post-install printing (this is already in the options) - Drop pkg-plist - Bump PORTREVISION so that py-setuptools is not registered as a run-time dependency Deleted: head/www/py-ws4py/pkg-plist Modified: head/www/py-ws4py/Makefile Modified: head/www/py-ws4py/Makefile ============================================================================== --- head/www/py-ws4py/Makefile Mon Dec 16 02:36:23 2013 (r336602) +++ head/www/py-ws4py/Makefile Mon Dec 16 02:38:59 2013 (r336603) @@ -3,6 +3,7 @@ PORTNAME= ws4py PORTVERSION= 0.3.2 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= http://www.defuze.org/oss/${PORTNAME}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,7 +14,10 @@ COMMENT= WebSocket package for Python LICENSE= BSD3CLAUSE USE_PYTHON= yes -USE_PYDISTUTILS= easy_install +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + +NO_ARCH= yes OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= CHERRYPY GEVENT TORNADO @@ -22,48 +26,28 @@ CHERRYPY_DESC= CherryPy server support GEVENT_DESC= gevent-based client/server support TORNADO_DESC= Tornado client support -CHERRYPY_FILES= test/test_cherrypy.py ws4py/server/cherrypyserver.py -GEVENT_FILES= ws4py/client/geventclient.py ws4py/server/geventserver.py -TORNADO_FILES= ws4py/client/tornadoclient.py - CHERRYPY_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cherrypy>=3.2.2:${PORTSDIR}/www/py-cherrypy GEVENT_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gevent>=0.13.8:${PORTSDIR}/devel/py-gevent TORNADO_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tornado>=3.1:${PORTSDIR}/www/py-tornado -NO_STAGE= yes .include # Do not install files which will not work post-patch: .if ! ${PORT_OPTIONS:MCHERRYPY} -.for f in ${CHERRYPY_FILES} +.for f in test/test_cherrypy.py ws4py/server/cherrypyserver.py ${RM} ${WRKSRC}/${f} .endfor .endif .if ! ${PORT_OPTIONS:MGEVENT} -.for f in ${GEVENT_FILES} +.for f in ws4py/client/geventclient.py ws4py/server/geventserver.py ${RM} ${WRKSRC}/${f} .endfor .endif .if ! ${PORT_OPTIONS:MTORNADO} -.for f in ${TORNADO_FILES} +.for f in ws4py/client/tornadoclient.py ${RM} ${WRKSRC}/${f} .endfor .endif -post-install: -.if ! ${PORT_OPTIONS:MCHERRYPY} || ! ${PORT_OPTIONS:MGEVENT} || ! ${PORT_OPTIONS:MTORNADO} - @${ECHO_MSG} - @${ECHO_MSG} "Note that the following files are not installed:" -.endif -.if ! ${PORT_OPTIONS:MCHERRYPY} - @${ECHO_MSG} ${CHERRYPY_FILES} -.endif -.if ! ${PORT_OPTIONS:MGEVENT} - @${ECHO_MSG} ${GEVENT_FILES} -.endif -.if ! ${PORT_OPTIONS:MTORNADO} - @${ECHO_MSG} ${TORNADO_FILES} -.endif - .include