[88971] trunk/dports/python
phw at macports.org
phw at macports.org
Sun Jan 15 08:59:51 PST 2012
Revision: 88971
http://trac.macports.org/changeset/88971
Author: phw at macports.org
Date: 2012-01-15 08:59:47 -0800 (Sun, 15 Jan 2012)
Log Message:
-----------
Generalized py-dot for python24-27, removed therefore obsolete py25-dot port
Modified Paths:
--------------
trunk/dports/python/py-dot/Portfile
trunk/dports/python/py-dot/files/patch-setup.py.diff
Removed Paths:
-------------
trunk/dports/python/py25-dot/
Modified: trunk/dports/python/py-dot/Portfile
===================================================================
--- trunk/dports/python/py-dot/Portfile 2012-01-15 16:09:18 UTC (rev 88970)
+++ trunk/dports/python/py-dot/Portfile 2012-01-15 16:59:47 UTC (rev 88971)
@@ -1,13 +1,14 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-dot
-version 1.0.2
+python.versions 24 25 26 27
+version 1.0.28
categories python graphics
platforms darwin
-maintainers nomaintainer
+maintainers phw openmaintainer
description python module for creating graphs
long_description An interface for creating both directed and non \
directed graphs from Python. Currently all attributes \
@@ -15,11 +16,15 @@
Graphviz 1.10).
homepage http://code.google.com/p/pydot/
-master_sites http://pydot.googlecode.com/files/
+master_sites http://pydot.googlecode.com/files/
distname pydot-${version}
-checksums sha1 5959fcc7d91b1c9797d9ed07fc6986eb480f8db5
-patchfiles patch-setup.py.diff
-
-depends_lib-append port:py-parsing
-depends_run bin:dot:graphviz
-
+checksums sha1 3945af1765943807d72e773c7ac853f008ebb0b2
+if { ${name} != ${subport} } {
+ depends_run bin:dot:graphviz
+ patchfiles patch-setup.py.diff
+ depends_lib-append port:py-parsing
+
+ post-patch {
+ reinplace "s|@@DIRECTORY@@|share/doc/${subport}|g" ${worksrcpath}/setup.py
+ }
+}
Modified: trunk/dports/python/py-dot/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-dot/files/patch-setup.py.diff 2012-01-15 16:09:18 UTC (rev 88970)
+++ trunk/dports/python/py-dot/files/patch-setup.py.diff 2012-01-15 16:59:47 UTC (rev 88971)
@@ -1,8 +1,8 @@
---- setup.py 2008-02-14 21:48:02.000000000 +0100
-+++ setup.py 2008-02-23 14:56:34.000000000 +0100
-@@ -28,4 +28,4 @@
+--- setup.py.orig 2012-01-15 17:49:19.000000000 +0100
++++ setup.py 2012-01-15 17:49:57.000000000 +0100
+@@ -32,4 +32,4 @@
long_description = "\n".join(pydot.__doc__.split('\n')),
py_modules = ['pydot', 'dot_parser'],
install_requires = ['pyparsing', 'setuptools'],
-- data_files = [('.', ['ChangeLog', 'LICENSE', 'README'])] )
-+ data_files = [('share/doc/py-dot', ['ChangeLog', 'LICENSE', 'README'])] )
+- data_files = [('.', ['LICENSE', 'README'])] )
++ data_files = [('@@DIRECTORY@@', ['LICENSE', 'README'])] )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120115/be3dd6ee/attachment-0001.html>
More information about the macports-changes
mailing list