Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2008 03:18:28 GMT
From:      Sofian brabez <sbrabez@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/123776: New port: graphics/py-gvgen - GvGen
Message-ID:  <200805180318.m4I3ISjT046440@www.freebsd.org>
Resent-Message-ID: <200805180320.m4I3K0pI086128@freefall.freebsd.org>

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

>Number:         123776
>Category:       ports
>Synopsis:       New port: graphics/py-gvgen - GvGen
>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:   Sun May 18 03:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sofian brabez
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
FreeBSD atemi 7.0-RELEASE FreeBSD 7.0-STABLE #1: Sun Feb 24 19:59:52 UTC 2008 root@atemi:/usr/obj/usr/src/sys/ATEMI i386
>Description:
Here the .shar file as attachement to add GvGen (http://software.inl.fr/trac/wiki/GvGen) to the port tree (graphics category)

GvGen is a python class to generate dot files for further use with graphviz.
Features

Features:
=========
    * Node creation, naming and connection
    * Apply any graphviz property on the fly
    * Apply graphviz properties to a style
    * Add a legend to your graph easily 

Requirements:
=============
* Python
* Graphviz (just for visualization)

Author:
=======
Sebastien Tricaud
>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:
#
#	py-gvgen
#	py-gvgen/pkg-message
#	py-gvgen/Makefile
#	py-gvgen/distinfo
#	py-gvgen/pkg-descr
#	py-gvgen/pkg-plist
#	py-gvgen/.Makefile.swp
#	py-gvgen/.pkg-message.swp
#
echo c - py-gvgen
mkdir -p py-gvgen > /dev/null 2>&1
echo x - py-gvgen/pkg-message
sed 's/^X//' >py-gvgen/pkg-message << 'END-of-py-gvgen/pkg-message'
X-------------------------------------------------------------
XGvGen is installed. 
X
XFor a quick start:
X    - read the user_guide.tex.lyx
X    - create dot file ./yourgraph.py > gourgraph.dot
X    - generate graph dot -Tpng yourgraph.dot > yourgraph.png
X
XGenerate your graph require the graphics/graphiz port to be
Xinstalled.
X
XReview the ChangeLog document in the documentation directory.
X-------------------------------------------------------------
END-of-py-gvgen/pkg-message
echo x - py-gvgen/Makefile
sed 's/^X//' >py-gvgen/Makefile << 'END-of-py-gvgen/Makefile'
X# New ports collection makefile for:	py-gvgen
X# Date created:		19 May 2008
X# Whom:		Sofian Brabez <sbrabez@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gvgen
XPORTVERSION=	0.9
XCATEGORIES=	graphics python
XMASTER_SITES=	http://software.inl.fr/releases/GvGen/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	sbrabez@gmail.com
XCOMMENT=	GvGen - an easy python interface to generate dot files
X
XUSE_PYTHON=	2.5+
XUSE_PYDISTUTILS=yes
XPYDISTUTILS_PKGVERSION=	0.9
X
XDOCS=	ChangeLog
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for f in ${DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X	${INSTALL_DATA} ${WRKSRC}/docs/user-guide.tex.lyx ${DOCSDIR}
X.endif
X.if !defined(BATCH)
X	@${CAT} ${PKGMESSAGE}
X.endif
X
X.include <bsd.port.mk>
END-of-py-gvgen/Makefile
echo x - py-gvgen/distinfo
sed 's/^X//' >py-gvgen/distinfo << 'END-of-py-gvgen/distinfo'
XMD5 (gvgen-0.9.tar.gz) = 70a5bd64e2de53988d7ffabc93aebf27
XSHA256 (gvgen-0.9.tar.gz) = cc9f21be92d68bae3c2df7749abc5cc0fc6f8ce76b04fa07c477a6f8862e56bb
XSIZE (gvgen-0.9.tar.gz) = 27292
END-of-py-gvgen/distinfo
echo x - py-gvgen/pkg-descr
sed 's/^X//' >py-gvgen/pkg-descr << 'END-of-py-gvgen/pkg-descr'
XGvGen is a python class to generate dot files for further use with graphviz.
X
XWWW: http://software.inl.fr/trac/wiki/GvGen
END-of-py-gvgen/pkg-descr
echo x - py-gvgen/pkg-plist
sed 's/^X//' >py-gvgen/pkg-plist << 'END-of-py-gvgen/pkg-plist'
X%%PYTHON_SITELIBDIR%%/gvgen.py
X%%PYTHON_SITELIBDIR%%/gvgen.pyc
X%%PYTHON_SITELIBDIR%%/gvgen.pyo
END-of-py-gvgen/pkg-plist
echo x - py-gvgen/.Makefile.swp
sed 's/^X//' >py-gvgen/.Makefile.swp << 'END-of-py-gvgen/.Makefile.swp'
Xb0VIM 7.1XEND-of-py-gvgen/.Makefile.swp
echo x - py-gvgen/.pkg-message.swp
sed 's/^X//' >py-gvgen/.pkg-message.swp << 'END-of-py-gvgen/.pkg-message.swp'
Xb0VIM 7.1--END-of-py-gvgen/.pkg-message.swp
exit



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



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