mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
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>
This commit is contained in:
parent
6bde556226
commit
73fd17b8b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189913
@ -1786,6 +1786,7 @@
|
||||
SUBDIR += py-ciphon
|
||||
SUBDIR += py-cjson
|
||||
SUBDIR += py-clientcookie
|
||||
SUBDIR += py-cog
|
||||
SUBDIR += py-configobj
|
||||
SUBDIR += py-coro
|
||||
SUBDIR += py-ctypes
|
||||
|
20
devel/py-cog/Makefile
Normal file
20
devel/py-cog/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# New ports collection makefile for: cog
|
||||
# Date created: 30 March 2007
|
||||
# Whom: Alex Pesternikov <apesternikov@page2rss.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= cog
|
||||
PORTVERSION= 2.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= http://www.nedbatchelder.com/code/cog/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= apesternikov@page2rss.com
|
||||
COMMENT= Code Generator for any language
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-cog/distinfo
Normal file
3
devel/py-cog/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (cog-2.0.tar.gz) = 3eb0d8d32f11f8094ce159af428ce80c
|
||||
SHA256 (cog-2.0.tar.gz) = fb92e1085b7bb9508b577e94767b7a726e07b957aa86df6bbdc70a8afd642a3c
|
||||
SIZE (cog-2.0.tar.gz) = 22168
|
7
devel/py-cog/pkg-descr
Normal file
7
devel/py-cog/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
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
|
34
devel/py-cog/pkg-plist
Normal file
34
devel/py-cog/pkg-plist
Normal file
@ -0,0 +1,34 @@
|
||||
bin/cog.py
|
||||
bin/test_cog.py
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/cogapp.py
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/makefiles.py
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/test_cogapp.py
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/test_makefiles.py
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/test_whiteutils.py
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/whiteutils.py
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/cogapp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/makefiles.pyc
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/test_cogapp.pyc
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/test_makefiles.pyc
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/test_whiteutils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/whiteutils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/cogapp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/makefiles.pyo
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/test_cogapp.pyo
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/test_makefiles.pyo
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/test_whiteutils.pyo
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/whiteutils.pyo
|
||||
%%PYTHON_SITELIBDIR%%/cogapp/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/handyxml/handyxml.py
|
||||
%%PYTHON_SITELIBDIR%%/handyxml/test_handyxml.py
|
||||
%%PYTHON_SITELIBDIR%%/handyxml/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/handyxml/handyxml.pyc
|
||||
%%PYTHON_SITELIBDIR%%/handyxml/test_handyxml.pyc
|
||||
%%PYTHON_SITELIBDIR%%/handyxml/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/handyxml/handyxml.pyo
|
||||
%%PYTHON_SITELIBDIR%%/handyxml/test_handyxml.pyo
|
||||
%%PYTHON_SITELIBDIR%%/handyxml/__init__.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/cogapp
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/handyxml
|
Loading…
Reference in New Issue
Block a user