From nobody@FreeBSD.org  Sat Mar 31 01:17:16 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 63ECA16A400
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 31 Mar 2007 01:17:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 55EAA13C468
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 31 Mar 2007 01:17:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l2V1HGTJ099426
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 31 Mar 2007 01:17:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l2V1CFIW098501;
	Sat, 31 Mar 2007 01:12:15 GMT
	(envelope-from nobody)
Message-Id: <200703310112.l2V1CFIW098501@www.freebsd.org>
Date: Sat, 31 Mar 2007 01:12:15 GMT
From: Alex Pesternikov<ap@page2rss.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [NEW PORT]devel/cog:Cog is a code generation tool for any language
X-Send-Pr-Version: www-3.0

>Number:         111046
>Category:       ports
>Synopsis:       [NEW PORT]devel/cog:Cog is a code generation tool for any language
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    nivit
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 31 01:20:13 GMT 2007
>Closed-Date:    Fri Apr 13 16:43:15 GMT 2007
>Last-Modified:  Fri Apr 13 16:50:01 GMT 2007
>Originator:     Alex Pesternikov
>Release:        
>Organization:
Page2RSS
>Environment:
>Description:
Cog is a code generation tool. It lets you use pieces of Python code as generators in your
source files to generate whatever code you need.
Cog transforms files in a very simple way: it finds chunks of Python code embedded in them,
executes the Python code, and inserts its output back into the original file. The file can
contain whatever text you like around the Python code. It will usually be source code.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	cog
#	cog/distinfo
#	cog/Makefile
#	cog/pkg-descr
#	cog/pkg-plist
#
echo c - cog
mkdir -p cog > /dev/null 2>&1
echo x - cog/distinfo
sed 's/^X//' >cog/distinfo << 'END-of-cog/distinfo'
XMD5 (cog-2.0.tar.gz) = 3eb0d8d32f11f8094ce159af428ce80c
XSHA256 (cog-2.0.tar.gz) = fb92e1085b7bb9508b577e94767b7a726e07b957aa86df6bbdc70a8afd642a3c
XSIZE (cog-2.0.tar.gz) = 22168
END-of-cog/distinfo
echo x - cog/Makefile
sed 's/^X//' >cog/Makefile << 'END-of-cog/Makefile'
X# New ports collection makefile for:   cog
X# Date created:        30 March 2007
X# Whom:                ap
X#
X# $FreeBSD$
X#
X
XPORTNAME=      cog
XPORTVERSION=   2.0
XCATEGORIES=    devel python
XMASTER_SITES=  http://www.nedbatchelder.com/code/cog/
X
XMAINTAINER=    apesternikov@page2rss.com
XCOMMENT=       Code Generator for any language
X
XUSE_PYTHON=     yes
XUSE_PYDISTUTILS=        yes
X
X#MAN1=          oneko.1
X#MANCOMPRESSED= yes
X#USE_IMAKE=     yes
X
Xpost-install:
X	@${MV} -f ${PREFIX}/bin/cog.py ${PREFIX}/bin/cog
X	@${MV} -f ${PREFIX}/bin/test_cog.py ${PREFIX}/bin/test_cog
X
X.include <bsd.port.mk>
END-of-cog/Makefile
echo x - cog/pkg-descr
sed 's/^X//' >cog/pkg-descr << 'END-of-cog/pkg-descr'
XCog transforms files in a very simple way: it finds chunks of Python code
Xembedded in them, executes the Python code, and inserts its output back into
Xthe original file. The file can contain whatever text you like around the
XPython code. It will usually be source code.
X
XAuthor: Ned Batchelder
XWWW: http://www.nedbatchelder.com/code/cog/index.html
END-of-cog/pkg-descr
echo x - cog/pkg-plist
sed 's/^X//' >cog/pkg-plist << 'END-of-cog/pkg-plist'
Xbin/cog
Xbin/test_cog
X%%PYTHON_SITELIBDIR%%/cogapp/cogapp.py
X%%PYTHON_SITELIBDIR%%/cogapp/makefiles.py
X%%PYTHON_SITELIBDIR%%/cogapp/test_cogapp.py
X%%PYTHON_SITELIBDIR%%/cogapp/test_makefiles.py
X%%PYTHON_SITELIBDIR%%/cogapp/test_whiteutils.py
X%%PYTHON_SITELIBDIR%%/cogapp/whiteutils.py
X%%PYTHON_SITELIBDIR%%/cogapp/__init__.py
X%%PYTHON_SITELIBDIR%%/cogapp/cogapp.pyc
X%%PYTHON_SITELIBDIR%%/cogapp/makefiles.pyc
X%%PYTHON_SITELIBDIR%%/cogapp/test_cogapp.pyc
X%%PYTHON_SITELIBDIR%%/cogapp/test_makefiles.pyc
X%%PYTHON_SITELIBDIR%%/cogapp/test_whiteutils.pyc
X%%PYTHON_SITELIBDIR%%/cogapp/whiteutils.pyc
X%%PYTHON_SITELIBDIR%%/cogapp/__init__.pyc
X%%PYTHON_SITELIBDIR%%/cogapp/cogapp.pyo
X%%PYTHON_SITELIBDIR%%/cogapp/makefiles.pyo
X%%PYTHON_SITELIBDIR%%/cogapp/test_cogapp.pyo
X%%PYTHON_SITELIBDIR%%/cogapp/test_makefiles.pyo
X%%PYTHON_SITELIBDIR%%/cogapp/test_whiteutils.pyo
X%%PYTHON_SITELIBDIR%%/cogapp/whiteutils.pyo
X%%PYTHON_SITELIBDIR%%/cogapp/__init__.pyo
X%%PYTHON_SITELIBDIR%%/handyxml/handyxml.py
X%%PYTHON_SITELIBDIR%%/handyxml/test_handyxml.py
X%%PYTHON_SITELIBDIR%%/handyxml/__init__.py
X%%PYTHON_SITELIBDIR%%/handyxml/handyxml.pyc
X%%PYTHON_SITELIBDIR%%/handyxml/test_handyxml.pyc
X%%PYTHON_SITELIBDIR%%/handyxml/__init__.pyc
X%%PYTHON_SITELIBDIR%%/handyxml/handyxml.pyo
X%%PYTHON_SITELIBDIR%%/handyxml/test_handyxml.pyo
X%%PYTHON_SITELIBDIR%%/handyxml/__init__.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/cogapp
X@dirrm %%PYTHON_SITELIBDIR%%/handyxml
END-of-cog/pkg-plist
exit


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->nivit 
Responsible-Changed-By: nivit 
Responsible-Changed-When: Thu Apr 5 11:17:51 UTC 2007 
Responsible-Changed-Why:  
I will take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111046 
State-Changed-From-To: open->closed 
State-Changed-By: nivit 
State-Changed-When: Fri Apr 13 16:43:14 UTC 2007 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111046 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/111046: commit references a PR
Date: Fri, 13 Apr 2007 16:42:52 +0000 (UTC)

 nivit       2007-04-13 16:42:45 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel                Makefile 
   Added files:
     devel/py-cog         Makefile distinfo pkg-descr pkg-plist 
   Log:
   Cog transforms files in a very simple way: it finds chunks of Python code
   embedded in them, executes the Python code, and inserts its output back into
   the original file. The file can contain whatever text you like around the
   Python code. It will usually be source code.
   
   Author: Ned Batchelder
   WWW: http://www.nedbatchelder.com/code/cog/index.html
   
   PR:             ports/111046
   Submitted by:   Alex Pesternikov <apesternikov at page2rss.com>
   
   Revision  Changes    Path
   1.2730    +1 -0      ports/devel/Makefile
   1.1       +20 -0     ports/devel/py-cog/Makefile (new)
   1.1       +3 -0      ports/devel/py-cog/distinfo (new)
   1.1       +7 -0      ports/devel/py-cog/pkg-descr (new)
   1.1       +34 -0     ports/devel/py-cog/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
