Re: [NEW] graphics/xdot-1.0 [It was: [NEW] math/xdot-1.0]
Hello, gentle reminder. This is already ok sthen@ Anyone willing to import? On 20/04/2019 12:31, Stuart Henderson wrote: On 2019/04/20 12:25, Alessandro DE LAURENZIS wrote: Hello Stuart, On 18/04/2019 18:07, Stuart Henderson wrote: [...] - the pypi tarball doesn't include the tests, which I instead enabled using the one from github; is this acceptable? I usually prefer pypi over github, because pypi uses uploaded files rather than autogenerated ones which are subject to change. It depends how useful the tests are really. So I reverted the port's Makefile to use pypi (I think the test suite is useful mainly for development). : RUN_DEPENDS = math/graphviz \ : devel/py-gobject3 \ That should be devel/py-gobject3${MODPY_FLAVOR} Fixed. Updated tarball attached. Thanks - this one is OK sthen@ if someone would like to import. -- Alessandro DE LAURENZIS [mailto:jus...@atlantide.t28.net] Web: http://www.atlantide.t28.net LinkedIn: https://www.linkedin.com/in/delaurenzis/
Re: [NEW] graphics/xdot-1.0 [It was: [NEW] math/xdot-1.0]
On 2019/04/20 12:25, Alessandro DE LAURENZIS wrote: > Hello Stuart, > > On 18/04/2019 18:07, Stuart Henderson wrote: > [...] > > > > - the pypi tarball doesn't include the tests, which I instead enabled > > > > using the one from github; is this acceptable? > > > > I usually prefer pypi over github, because pypi uses uploaded files > > rather than autogenerated ones which are subject to change. It depends > > how useful the tests are really. > > > > So I reverted the port's Makefile to use pypi (I think the test suite is > useful mainly for development). > > > : RUN_DEPENDS = math/graphviz \ > > : devel/py-gobject3 \ > > > > That should be devel/py-gobject3${MODPY_FLAVOR} > > Fixed. > > Updated tarball attached. Thanks - this one is OK sthen@ if someone would like to import.
Re: [NEW] graphics/xdot-1.0 [It was: [NEW] math/xdot-1.0]
Hello Stuart, On 18/04/2019 18:07, Stuart Henderson wrote: [...] - the pypi tarball doesn't include the tests, which I instead enabled using the one from github; is this acceptable? I usually prefer pypi over github, because pypi uses uploaded files rather than autogenerated ones which are subject to change. It depends how useful the tests are really. So I reverted the port's Makefile to use pypi (I think the test suite is useful mainly for development). : RUN_DEPENDS = math/graphviz \ : devel/py-gobject3 \ That should be devel/py-gobject3${MODPY_FLAVOR} Fixed. Updated tarball attached. -- Alessandro DE LAURENZIS [mailto:jus...@atlantide.t28.net] Web: http://www.atlantide.t28.net LinkedIn: https://www.linkedin.com/in/delaurenzis/ xdot.tar.gz Description: application/gzip
Re: [NEW] graphics/xdot-1.0 [It was: [NEW] math/xdot-1.0]
On 2019/04/18 06:34, Alessandro DE LAURENZIS wrote: > I think 'graphics' is more appropriate as category. agreed. > > DESCR > > = > > xdot.py is an interactive viewer for graphs written in Graphviz's dot > > language. It uses internally the GraphViz's xdot output format as an > > intermediate format, Python GTK bindings, and Cairo for rendering. > > > > xdot.py can be used either as a standalone application from command > > line, or as a library embedded in your Python application. > > > > The main intent of this port is to enable graphical representation of > > the selected part of the design in cad/yosys (which uses xdot by > > default); nonetheless, this is a very handy and (moderately) lightweight > > tool, probably of general interest. > > > > Some doubts: > > > > - is "math" the right category? Or "graphics" would be more appropriate? > > > > - is the package name ok or should it be changed in "py-xdot"? If it had py2 support as well, I'd suggest multi-packages: py-xdot / py3-xdot (for the module), and xdot (for the main script, depending on py3-xdot). But since it's py3-only that seems overkill. Could go either way really. I think xdot is ok though. > > - the pypi tarball doesn't include the tests, which I instead enabled > > using the one from github; is this acceptable? I usually prefer pypi over github, because pypi uses uploaded files rather than autogenerated ones which are subject to change. It depends how useful the tests are really. : RUN_DEPENDS = math/graphviz \ : devel/py-gobject3 \ That should be devel/py-gobject3${MODPY_FLAVOR} : do-test: : cd ${WRKSRC}/tests && ../test.py *.dot : cd ${WRKSRC}/tests && ../test.py graphs/*.gv If staying with github + tests, I'd prefer an explit ${MODPY_BIN} for these, e.g. cd ${WRKSRC}/tests && ${MODPY_BIN} ../test.py *.dot
[NEW] graphics/xdot-1.0 [It was: [NEW] math/xdot-1.0]
After-unlock ping! I think 'graphics' is more appropriate as category. All tests are ok. Updated tarball attached. On 31/03/2019 14:23, Alessandro DE LAURENZIS wrote: Dear ports@ readers, this is a proposal for a new port: xdot, an interactive viewer for Graphviz dot graphs. DESCR = xdot.py is an interactive viewer for graphs written in Graphviz's dot language. It uses internally the GraphViz's xdot output format as an intermediate format, Python GTK bindings, and Cairo for rendering. xdot.py can be used either as a standalone application from command line, or as a library embedded in your Python application. The main intent of this port is to enable graphical representation of the selected part of the design in cad/yosys (which uses xdot by default); nonetheless, this is a very handy and (moderately) lightweight tool, probably of general interest. Some doubts: - is "math" the right category? Or "graphics" would be more appropriate? - is the package name ok or should it be changed in "py-xdot"? - the pypi tarball doesn't include the tests, which I instead enabled using the one from github; is this acceptable? Taking MAINTAINER, works fine on amd64. Tarball attached. -- Alessandro DE LAURENZIS [mailto:jus...@atlantide.t28.net] Web: http://www.atlantide.t28.net LinkedIn: https://www.linkedin.com/in/delaurenzis/ xdot.tar.gz Description: application/gzip
[NEW] math/xdot-1.0
Dear ports@ readers, this is a proposal for a new port: xdot, an interactive viewer for Graphviz dot graphs. DESCR = xdot.py is an interactive viewer for graphs written in Graphviz's dot language. It uses internally the GraphViz's xdot output format as an intermediate format, Python GTK bindings, and Cairo for rendering. xdot.py can be used either as a standalone application from command line, or as a library embedded in your Python application. The main intent of this port is to enable graphical representation of the selected part of the design in cad/yosys (which uses xdot by default); nonetheless, this is a very handy and (moderately) lightweight tool, probably of general interest. Some doubts: - is "math" the right category? Or "graphics" would be more appropriate? - is the package name ok or should it be changed in "py-xdot"? - the pypi tarball doesn't include the tests, which I instead enabled using the one from github; is this acceptable? Taking MAINTAINER, works fine on amd64. Tarball attached. -- Alessandro DE LAURENZIS [mailto:jus...@atlantide.t28.net] Web: http://www.atlantide.t28.net LinkedIn: https://www.linkedin.com/in/delaurenzis/ xdot.tar.gz Description: application/gzip