pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/py-dot Readd py-dot package in proper dir.
details: https://anonhg.NetBSD.org/pkgsrc/rev/86227aa7b7e8
branches: trunk
changeset: 629322:86227aa7b7e8
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jan 19 20:15:43 2014 +0000
description:
Readd py-dot package in proper dir.
diffstat:
graphics/py-dot/DESCR | 7 +++++++
graphics/py-dot/Makefile | 24 ++++++++++++++++++++++++
graphics/py-dot/PLIST | 8 ++++++++
graphics/py-dot/distinfo | 6 ++++++
graphics/py-dot/patches/patch-dot__parser.py | 23 +++++++++++++++++++++++
5 files changed, 68 insertions(+), 0 deletions(-)
diffs (88 lines):
diff -r b6fbdb37ed8b -r 86227aa7b7e8 graphics/py-dot/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-dot/DESCR Sun Jan 19 20:15:43 2014 +0000
@@ -0,0 +1,7 @@
+allows to easily create both directed and non directed graphs from Python.
+Currently all attributes implemented in the Dot language are supported (up to
+Graphviz 2.26.3).
+
+Output can be inlined in Postscript into interactive scientific environments
+like TeXmacs, or output in any of the format's supported by the Graphviz tools
+dot, neato, twopi.
diff -r b6fbdb37ed8b -r 86227aa7b7e8 graphics/py-dot/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-dot/Makefile Sun Jan 19 20:15:43 2014 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2014/01/19 20:15:43 wiz Exp $
+
+DISTNAME= pydot-1.0.28
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES= graphics python
+MASTER_SITES= http://pydot.googlecode.com/files/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://code.google.com/p/pydot/
+COMMENT= Python interface to Graphviz's Dot language
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-pyparsing-[0-9]*:../../devel/py-pyparsing
+DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz
+
+PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 1.0.28
+
+post-install:
+ ${RM} ${DESTDIR}${PREFIX}/README
+ ${RM} ${DESTDIR}${PREFIX}/LICENSE
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b6fbdb37ed8b -r 86227aa7b7e8 graphics/py-dot/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-dot/PLIST Sun Jan 19 20:15:43 2014 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2014/01/19 20:15:43 wiz Exp $
+${PYSITELIB}/dot_parser.py
+${PYSITELIB}/dot_parser.pyc
+${PYSITELIB}/dot_parser.pyo
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/pydot.py
+${PYSITELIB}/pydot.pyc
+${PYSITELIB}/pydot.pyo
diff -r b6fbdb37ed8b -r 86227aa7b7e8 graphics/py-dot/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-dot/distinfo Sun Jan 19 20:15:43 2014 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2014/01/19 20:15:43 wiz Exp $
+
+SHA1 (pydot-1.0.28.tar.gz) = 3945af1765943807d72e773c7ac853f008ebb0b2
+RMD160 (pydot-1.0.28.tar.gz) = a67336f5edf55a81fe654df3258a12a8ff92d4f6
+Size (pydot-1.0.28.tar.gz) = 19711 bytes
+SHA1 (patch-dot__parser.py) = 9ce92c76bb5878ac990a3557e550679364a2d7b2
diff -r b6fbdb37ed8b -r 86227aa7b7e8 graphics/py-dot/patches/patch-dot__parser.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-dot/patches/patch-dot__parser.py Sun Jan 19 20:15:43 2014 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-dot__parser.py,v 1.1 2014/01/19 20:15:43 wiz Exp $
+
+_noncomma is obsoleted in the latest pyparsing, fix to work with all versions.
+
+--- dot_parser.py.orig 2012-01-02 23:23:26.000000000 +0000
++++ dot_parser.py
+@@ -25,7 +25,7 @@ from pyparsing import __version__ as pyp
+ from pyparsing import ( nestedExpr, Literal, CaselessLiteral, Word, Upcase, OneOrMore, ZeroOrMore,
+ Forward, NotAny, delimitedList, oneOf, Group, Optional, Combine, alphas, nums,
+ restOfLine, cStyleComment, nums, alphanums, printables, empty, quotedString,
+- ParseException, ParseResults, CharsNotIn, _noncomma, dblQuotedString, QuotedString, ParserElement )
++ ParseException, ParseResults, CharsNotIn, dblQuotedString, QuotedString, ParserElement )
+
+
+ class P_AttrList:
+@@ -414,6 +414,7 @@ def graph_definition():
+
+ double_quoted_string = QuotedString('"', multiline=True, unquoteResults=False) # dblQuotedString
+
++ _noncomma = "".join( [ c for c in printables if c != "," ] )
+ alphastring_ = OneOrMore(CharsNotIn(_noncomma + ' '))
+
+ def parse_html(s, loc, toks):
Home |
Main Index |
Thread Index |
Old Index