Date: Sun, 1 Sep 2013 16:44:51 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325873 - in head/devel: . py-docopt Message-ID: <201309011644.r81GipwJ031646@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sun Sep 1 16:44:50 2013 New Revision: 325873 URL: http://svnweb.freebsd.org/changeset/ports/325873 Log: New port: py-docopt docopt helps you: - define interface for your command-line app, and - automatically generate parser for it. WWW: http://docopt.org/ Added: head/devel/py-docopt/ head/devel/py-docopt/Makefile (contents, props changed) head/devel/py-docopt/distinfo (contents, props changed) head/devel/py-docopt/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Sep 1 16:40:33 2013 (r325872) +++ head/devel/Makefile Sun Sep 1 16:44:50 2013 (r325873) @@ -3509,6 +3509,7 @@ SUBDIR += py-distorm SUBDIR += py-distribute SUBDIR += py-distutils-extra + SUBDIR += py-docopt SUBDIR += py-durus SUBDIR += py-dynrules SUBDIR += py-eggtestinfo Added: head/devel/py-docopt/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-docopt/Makefile Sun Sep 1 16:44:50 2013 (r325873) @@ -0,0 +1,40 @@ +# Created by: Antoine Brodin <antoine@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= docopt +PORTVERSION= 0.6.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= antoine@FreeBSD.org +COMMENT= Pythonic argument parser, that will make you smile + +LICENSE= MIT + +USE_PYTHON= yes +USE_PYDISTUTILS=easy_install + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% + +PORTDOCS= README.rst +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} + +PORTEXAMPLES= * +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} + +OPTIONS_DEFINE= DOCS EXAMPLES + +.include <bsd.port.options.mk> + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> Added: head/devel/py-docopt/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-docopt/distinfo Sun Sep 1 16:44:50 2013 (r325873) @@ -0,0 +1,2 @@ +SHA256 (docopt-0.6.1.tar.gz) = 71ad940a773fbc23be6093e9476ad57b2ecec446946a28d30127501f3b29aa35 +SIZE (docopt-0.6.1.tar.gz) = 25815 Added: head/devel/py-docopt/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-docopt/pkg-descr Sun Sep 1 16:44:50 2013 (r325873) @@ -0,0 +1,5 @@ +docopt helps you: +- define interface for your command-line app, and +- automatically generate parser for it. + +WWW: http://docopt.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309011644.r81GipwJ031646>