Import py26-gaphas-0.7.0 as wip/py-gaphas.

Gaphas is a MVC canvas that uses Cairo_ for rendering. One of the nicer things
of this widget is that the user (model) is not bothered with bounding box
calculations: this is all done through Cairo.

Some more features:

- Each item has it's own separate coordinate space (easy when items are
  rotated).
- Items on the canvas can be connected to each other. Connections are
  maintained by a linear constraint solver.
- Multiple views on one Canvas.
- What is drawn is determined by Painters. Multiple painters can be used and
  painters can be chained.
- User interaction is handled by Tools. Tools can be chained.
- Versatile undo/redo system

Prefect running in NetBSD !!!
This commit is contained in:
Kamel Ibn Aziz Derouiche 2010-08-29 10:49:44 +00:00 committed by Thomas Klausner
parent ac42e987a4
commit 89024cd1e6
4 changed files with 183 additions and 0 deletions

15
py-gaphas/DESCR Normal file
View file

@ -0,0 +1,15 @@
Gaphas is a MVC canvas that uses Cairo_ for rendering. One of the nicer things
of this widget is that the user (model) is not bothered with bounding box
calculations: this is all done through Cairo.
Some more features:
- Each item has it's own separate coordinate space (easy when items are
rotated).
- Items on the canvas can be connected to each other. Connections are
maintained by a linear constraint solver.
- Multiple views on one Canvas.
- What is drawn is determined by Painters. Multiple painters can be used and
painters can be chained.
- User interaction is handled by Tools. Tools can be chained.
- Versatile undo/redo system

27
py-gaphas/Makefile Normal file
View file

@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.1.1.1 2010/08/29 10:49:44 jihbed Exp $
#
DISTNAME= gaphas-0.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= http://pypi.python.org/packages/source/g/gaphas/
MAINTAINER= kamel.derouiche@gmail.com
HOMEPAGE= http://gaphor.sourceforge.net/
COMMENT= Gaphas is a GTK+ based diagramming widget
LICENSE= gnu-lgpl-v2
DEPENDS+= ${PYPKGPREFIX}-nose>=0.11.3:../../devel/py-nose
DEPENDS+= ${PYPKGPREFIX}-decorator>=3.2.0:../../wip/py-decorator
DEPENDS+= ${PYPKGPREFIX}-simplegeneric>=0.7:../../wip/py-simplegeneric
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/gaphas-0.7.0
USE_LANGUAGES= # none
.include "../../graphics/py-cairo/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

136
py-gaphas/PLIST Normal file
View file

@ -0,0 +1,136 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/29 10:49:44 jihbed Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/gaphas/__init__.py
${PYSITELIB}/gaphas/__init__.pyc
${PYSITELIB}/gaphas/__init__.pyo
${PYSITELIB}/gaphas/aspect.py
${PYSITELIB}/gaphas/aspect.pyc
${PYSITELIB}/gaphas/aspect.pyo
${PYSITELIB}/gaphas/canvas.py
${PYSITELIB}/gaphas/canvas.pyc
${PYSITELIB}/gaphas/canvas.pyo
${PYSITELIB}/gaphas/connector.py
${PYSITELIB}/gaphas/connector.pyc
${PYSITELIB}/gaphas/connector.pyo
${PYSITELIB}/gaphas/constraint.py
${PYSITELIB}/gaphas/constraint.pyc
${PYSITELIB}/gaphas/constraint.pyo
${PYSITELIB}/gaphas/decorators.py
${PYSITELIB}/gaphas/decorators.pyc
${PYSITELIB}/gaphas/decorators.pyo
${PYSITELIB}/gaphas/examples.py
${PYSITELIB}/gaphas/examples.pyc
${PYSITELIB}/gaphas/examples.pyo
${PYSITELIB}/gaphas/freehand.py
${PYSITELIB}/gaphas/freehand.pyc
${PYSITELIB}/gaphas/freehand.pyo
${PYSITELIB}/gaphas/geometry.py
${PYSITELIB}/gaphas/geometry.pyc
${PYSITELIB}/gaphas/geometry.pyo
${PYSITELIB}/gaphas/guide.py
${PYSITELIB}/gaphas/guide.pyc
${PYSITELIB}/gaphas/guide.pyo
${PYSITELIB}/gaphas/item.py
${PYSITELIB}/gaphas/item.pyc
${PYSITELIB}/gaphas/item.pyo
${PYSITELIB}/gaphas/matrix.py
${PYSITELIB}/gaphas/matrix.pyc
${PYSITELIB}/gaphas/matrix.pyo
${PYSITELIB}/gaphas/painter.py
${PYSITELIB}/gaphas/painter.pyc
${PYSITELIB}/gaphas/painter.pyo
${PYSITELIB}/gaphas/picklers.py
${PYSITELIB}/gaphas/picklers.pyc
${PYSITELIB}/gaphas/picklers.pyo
${PYSITELIB}/gaphas/quadtree.py
${PYSITELIB}/gaphas/quadtree.pyc
${PYSITELIB}/gaphas/quadtree.pyo
${PYSITELIB}/gaphas/segment.py
${PYSITELIB}/gaphas/segment.pyc
${PYSITELIB}/gaphas/segment.pyo
${PYSITELIB}/gaphas/solver.py
${PYSITELIB}/gaphas/solver.pyc
${PYSITELIB}/gaphas/solver.pyo
${PYSITELIB}/gaphas/state.py
${PYSITELIB}/gaphas/state.pyc
${PYSITELIB}/gaphas/state.pyo
${PYSITELIB}/gaphas/table.py
${PYSITELIB}/gaphas/table.pyc
${PYSITELIB}/gaphas/table.pyo
${PYSITELIB}/gaphas/tests/__init__.py
${PYSITELIB}/gaphas/tests/__init__.pyc
${PYSITELIB}/gaphas/tests/__init__.pyo
${PYSITELIB}/gaphas/tests/test_aspect.py
${PYSITELIB}/gaphas/tests/test_aspect.pyc
${PYSITELIB}/gaphas/tests/test_aspect.pyo
${PYSITELIB}/gaphas/tests/test_canvas.py
${PYSITELIB}/gaphas/tests/test_canvas.pyc
${PYSITELIB}/gaphas/tests/test_canvas.pyo
${PYSITELIB}/gaphas/tests/test_connector.py
${PYSITELIB}/gaphas/tests/test_connector.pyc
${PYSITELIB}/gaphas/tests/test_connector.pyo
${PYSITELIB}/gaphas/tests/test_constraints.py
${PYSITELIB}/gaphas/tests/test_constraints.pyc
${PYSITELIB}/gaphas/tests/test_constraints.pyo
${PYSITELIB}/gaphas/tests/test_element.py
${PYSITELIB}/gaphas/tests/test_element.pyc
${PYSITELIB}/gaphas/tests/test_element.pyo
${PYSITELIB}/gaphas/tests/test_freehand.py
${PYSITELIB}/gaphas/tests/test_freehand.pyc
${PYSITELIB}/gaphas/tests/test_freehand.pyo
${PYSITELIB}/gaphas/tests/test_guide.py
${PYSITELIB}/gaphas/tests/test_guide.pyc
${PYSITELIB}/gaphas/tests/test_guide.pyo
${PYSITELIB}/gaphas/tests/test_item.py
${PYSITELIB}/gaphas/tests/test_item.pyc
${PYSITELIB}/gaphas/tests/test_item.pyo
${PYSITELIB}/gaphas/tests/test_line.py
${PYSITELIB}/gaphas/tests/test_line.pyc
${PYSITELIB}/gaphas/tests/test_line.pyo
${PYSITELIB}/gaphas/tests/test_pickle.py
${PYSITELIB}/gaphas/tests/test_pickle.pyc
${PYSITELIB}/gaphas/tests/test_pickle.pyo
${PYSITELIB}/gaphas/tests/test_quadtree.py
${PYSITELIB}/gaphas/tests/test_quadtree.pyc
${PYSITELIB}/gaphas/tests/test_quadtree.pyo
${PYSITELIB}/gaphas/tests/test_segment.py
${PYSITELIB}/gaphas/tests/test_segment.pyc
${PYSITELIB}/gaphas/tests/test_segment.pyo
${PYSITELIB}/gaphas/tests/test_solver.py
${PYSITELIB}/gaphas/tests/test_solver.pyc
${PYSITELIB}/gaphas/tests/test_solver.pyo
${PYSITELIB}/gaphas/tests/test_state.py
${PYSITELIB}/gaphas/tests/test_state.pyc
${PYSITELIB}/gaphas/tests/test_state.pyo
${PYSITELIB}/gaphas/tests/test_tool.py
${PYSITELIB}/gaphas/tests/test_tool.pyc
${PYSITELIB}/gaphas/tests/test_tool.pyo
${PYSITELIB}/gaphas/tests/test_tree.py
${PYSITELIB}/gaphas/tests/test_tree.pyc
${PYSITELIB}/gaphas/tests/test_tree.pyo
${PYSITELIB}/gaphas/tests/test_undo.py
${PYSITELIB}/gaphas/tests/test_undo.pyc
${PYSITELIB}/gaphas/tests/test_undo.pyo
${PYSITELIB}/gaphas/tests/test_view.py
${PYSITELIB}/gaphas/tests/test_view.pyc
${PYSITELIB}/gaphas/tests/test_view.pyo
${PYSITELIB}/gaphas/tool.py
${PYSITELIB}/gaphas/tool.pyc
${PYSITELIB}/gaphas/tool.pyo
${PYSITELIB}/gaphas/tree.py
${PYSITELIB}/gaphas/tree.pyc
${PYSITELIB}/gaphas/tree.pyo
${PYSITELIB}/gaphas/util.py
${PYSITELIB}/gaphas/util.pyc
${PYSITELIB}/gaphas/util.pyo
${PYSITELIB}/gaphas/view.py
${PYSITELIB}/gaphas/view.pyc
${PYSITELIB}/gaphas/view.pyo
${PYSITELIB}/gaphas/weakset.py
${PYSITELIB}/gaphas/weakset.pyc
${PYSITELIB}/gaphas/weakset.pyo

5
py-gaphas/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2010/08/29 10:49:44 jihbed Exp $
SHA1 (gaphas-0.7.0.tar.gz) = f9bc31180ed3e207e246927cfc872e11bfd1de10
RMD160 (gaphas-0.7.0.tar.gz) = 7d80595c9e307b6278d30ef7d03fd61b351357fb
Size (gaphas-0.7.0.tar.gz) = 335367 bytes