pkgsrc-Bugs archive

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

pkg/47377: add pkgsrc/graphics/py-pydot using pydot-1.0.28 supporting up to but not including python3



>Number:         47377
>Category:       pkg
>Synopsis:       add pkgsrc/graphics/py-pydot using pydot-1.0.28 supporting up 
>to but not including python3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 29 18:15:00 +0000 2012
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS devzoneX 5.11 oi_151a7 i86pc i386 i86pc Solaris

>Description:
https://code.google.com/p/pydot/
pydot 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. 


support for Python 3 reserved for a future revision as pyparsing needs a as 
well new version.
>How-To-Repeat:

>Fix:
here is the cvs diff to create this project:

Index: DESCR
===================================================================
RCS file: DESCR
diff -N DESCR
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ DESCR       29 Dec 2012 18:13:50 -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.
Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ Makefile    29 Dec 2012 18:13:50 -0000
@@ -0,0 +1,32 @@
+# $NetBSD$
+DISTNAME=              pydot-1.0.28
+PKGNAME=               ${PYPKGPREFIX}-${DISTNAME}
+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
+
+CONFIGURE_ENV+=        PYTHON=${PYTHONBIN:Q}
+CONFIGURE_ENV+=        
PYTH_CONFIGDIR=${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/config
+INSTALL_TARGET=        installshared
+PY_PATCHPLIST= yes
+PLIST_SUBST+=  PYLIB=${PYLIB:Q} PYPKGPREFIX=${PYPKGPREFIX:Q}
+
+PYTHON_VERSIONS_INCLUDE_3X = no
+PYDISTUTILSPKG= yes
+
+DEPENDS+=       ${PYPKGPREFIX}-pyparsing-[0-9]*:../../devel/py-pyparsing157
+DEPENDS+=              graphviz-[0-9]*:../../graphics/graphviz
+
+DOCDIR=                        ${PREFIX}/share/doc/${PYPKGPREFIX}-pydot
+
+post-install:
+                               ${INSTALL_DATA_DIR} ${DESTDIR:Q}${DOCDIR}
+                               ${INSTALL_DATA} ${WRKSRC}/README \
+                                       ${DESTDIR:Q}${DOCDIR}
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: PLIST
diff -N PLIST
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ PLIST       29 Dec 2012 18:13:50 -0000
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+${PYSITELIB}/dot_parser.py
+${PYSITELIB}/dot_parser.pyc
+${PYSITELIB}/dot_parser.pyo
+${PYSITELIB}/pydot.py
+${PYSITELIB}/pydot.pyc
+${PYSITELIB}/pydot.pyo
+share/doc/${PYPKGPREFIX}-pydot/README
Index: distinfo
===================================================================
RCS file: distinfo
diff -N distinfo
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ distinfo    29 Dec 2012 18:13:50 -0000
@@ -0,0 +1,5 @@
+$NetBSD$
+
+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



Home | Main Index | Thread Index | Old Index