pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/py-pydot Make py-dot package name match pkgsr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6fbdb37ed8b
branches:  trunk
changeset: 629321:b6fbdb37ed8b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 19 20:12:16 2014 +0000

description:
Make py-dot package name match pkgsrc python package name standards.

diffstat:

 graphics/py-pydot/Makefile                     |  24 ++++++++++++++++++++++++
 graphics/py-pydot/PLIST                        |   8 ++++++++
 graphics/py-pydot/patches/patch-dot__parser.py |  23 -----------------------
 3 files changed, 32 insertions(+), 23 deletions(-)

diffs (67 lines):

diff -r 59b628ef6353 -r b6fbdb37ed8b graphics/py-pydot/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-pydot/Makefile        Sun Jan 19 20:12:16 2014 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.3 2014/01/19 20:12:16 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 59b628ef6353 -r b6fbdb37ed8b graphics/py-pydot/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-pydot/PLIST   Sun Jan 19 20:12:16 2014 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.3 2014/01/19 20:12:16 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 59b628ef6353 -r b6fbdb37ed8b graphics/py-pydot/patches/patch-dot__parser.py
--- a/graphics/py-pydot/patches/patch-dot__parser.py    Sun Jan 19 20:12:15 2014 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-dot__parser.py,v 1.1 2013/07/22 12:16:18 richard 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