From owner-svn-ports-head@FreeBSD.ORG Fri Dec 20 18:12:34 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 6FEE2DE1; Fri, 20 Dec 2013 18:12:34 +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 41BF11C8A; Fri, 20 Dec 2013 18:12:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBKICYks073549; Fri, 20 Dec 2013 18:12:34 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBKICXqE073546; Fri, 20 Dec 2013 18:12:33 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201312201812.rBKICXqE073546@svn.freebsd.org> From: William Grzybowski Date: Fri, 20 Dec 2013 18:12:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337056 - head/devel/py-cmdln 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: Fri, 20 Dec 2013 18:12:34 -0000 Author: wg Date: Fri Dec 20 18:12:33 2013 New Revision: 337056 URL: http://svnweb.freebsd.org/changeset/ports/337056 Log: devel/py-cmdln: allow staging - Allow staging - Restrict to python 2 - Catch up with new upstream url - Add LICENSE (MIT) - Remove leading article from COMMENT Modified: head/devel/py-cmdln/Makefile head/devel/py-cmdln/pkg-descr Modified: head/devel/py-cmdln/Makefile ============================================================================== --- head/devel/py-cmdln/Makefile Fri Dec 20 18:10:28 2013 (r337055) +++ head/devel/py-cmdln/Makefile Fri Dec 20 18:12:33 2013 (r337056) @@ -8,29 +8,24 @@ CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org -COMMENT= A python module for easily building good multi-command scripts +MAINTAINER= python@FreeBSD.org +COMMENT= Python module for easily building good multi-command scripts + +LICENSE= MIT USE_ZIP= yes -USE_PYTHON= 2.5+ +USE_PYTHON= 2 USE_PYDISTUTILS= yes DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} -PORTDOCS= LICENSE README +PORTDOCS= README.txt -NO_STAGE= yes post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/$f.txt ${DOCSDIR}/$f -.endfor -.endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include Modified: head/devel/py-cmdln/pkg-descr ============================================================================== --- head/devel/py-cmdln/pkg-descr Fri Dec 20 18:10:28 2013 (r337055) +++ head/devel/py-cmdln/pkg-descr Fri Dec 20 18:12:33 2013 (r337056) @@ -2,4 +2,4 @@ cmdln.py fixes some of the design flaws of new Python stdlib modules (e.g. optparse) so that it is more useful (and convenient) for implementing command-line scripts/shells. -WWW: http://code.google.com/p/cmdln/ +WWW: https://github.com/trentm/cmdln