Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2008 23:34:02 +0800 (CST)
From:      Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/127116: [NEW PORT] devel/py25-cmdln: A python module for easily building good multi-command scripts
Message-ID:  <200809051534.m85FY2FR083751@bsd0.cs.nctu.edu.tw>
Resent-Message-ID: <200809051540.m85Fe3NQ090111@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127116
>Category:       ports
>Synopsis:       [NEW PORT] devel/py25-cmdln: A python module for easily building good multi-command scripts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 05 15:40:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yi-Jheng Lin
>Release:        FreeBSD 7.0-RELEASE-p1 amd64
>Organization:
NCTU CS
>Environment:
System: FreeBSD stucgi 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Thu Apr 17 15:56:39 CST 2008
>Description:
cmdln.py fixes some of the design flaws in cmd.py and takes advantage
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/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- py25-cmdln-1.1.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-cmdln
#	py-cmdln/pkg-descr
#	py-cmdln/Makefile
#	py-cmdln/pkg-plist
#	py-cmdln/distinfo
#
echo c - py-cmdln
mkdir -p py-cmdln > /dev/null 2>&1
echo x - py-cmdln/pkg-descr
sed 's/^X//' >py-cmdln/pkg-descr << 'END-of-py-cmdln/pkg-descr'
Xcmdln.py fixes some of the design flaws in cmd.py and takes advantage
Xof new Python stdlib modules (e.g. optparse) so that it is more useful
X(and convenient) for implementing command-line scripts/shells.
X
XWWW:	http://code.google.com/p/cmdln/
END-of-py-cmdln/pkg-descr
echo x - py-cmdln/Makefile
sed 's/^X//' >py-cmdln/Makefile << 'END-of-py-cmdln/Makefile'
X# New ports collection makefile for:	py-cmdln
X# Date created:		2008-09-05
X# Whom:			Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cmdln
XPORTVERSION=	1.1.1
XCATEGORIES=	devel python
XMASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	yzlin@cs.nctu.edu.tw
XCOMMENT=	A python module for easily building good multi-command scripts
X
XUSE_ZIP=	yes
XUSE_PYTHON=	2.4+
XUSE_PYDISTUTILS=	yes
X
XDOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
XEXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
X
XPORTDOCS=	README
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for f in ${PORTDOCS}
X	${INSTALL_MAN} ${WRKSRC}/$f.txt ${DOCSDIR}/$f
X.endfor
X.endif
X.if !defined(NOPORTEXAMPLES)
X	@${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-py-cmdln/Makefile
echo x - py-cmdln/pkg-plist
sed 's/^X//' >py-cmdln/pkg-plist << 'END-of-py-cmdln/pkg-plist'
X%%PYTHON_SITELIBDIR%%/cmdln.py
X%%PYTHON_SITELIBDIR%%/cmdln.pyc
X%%PYTHON_SITELIBDIR%%/cmdln.pyo
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/p4.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/svn.py
X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
END-of-py-cmdln/pkg-plist
echo x - py-cmdln/distinfo
sed 's/^X//' >py-cmdln/distinfo << 'END-of-py-cmdln/distinfo'
XMD5 (cmdln-1.1.1.zip) = f8c6dc1402da35091bbca70ce23712c0
XSHA256 (cmdln-1.1.1.zip) = 72379540172fc3aeba39fc7afd6615dcda68b345c153598c4e7efda895ed14d8
XSIZE (cmdln-1.1.1.zip) = 89022
END-of-py-cmdln/distinfo
exit
--- py25-cmdln-1.1.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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