[97095] trunk/dports/python
jmr at macports.org
jmr at macports.org
Mon Aug 27 06:16:34 PDT 2012
Revision: 97095
https://trac.macports.org/changeset/97095
Author: jmr at macports.org
Date: 2012-08-27 06:16:33 -0700 (Mon, 27 Aug 2012)
Log Message:
-----------
de-duplicate py-pydot and py-dot ports (#34648)
Modified Paths:
--------------
trunk/dports/python/py-dot/Portfile
trunk/dports/python/py-pydot/Portfile
Added Paths:
-----------
trunk/dports/python/py-pydot/
Removed Paths:
-------------
trunk/dports/python/py-pydot/
Modified: trunk/dports/python/py-dot/Portfile
===================================================================
--- trunk/dports/python/py-dot/Portfile 2012-08-27 13:13:24 UTC (rev 97094)
+++ trunk/dports/python/py-dot/Portfile 2012-08-27 13:16:33 UTC (rev 97095)
@@ -6,9 +6,10 @@
name py-dot
python.versions 24 25 26 27
version 1.0.28
+revision 1
categories python graphics
platforms darwin
-maintainers phw openmaintainer
+maintainers nomaintainer
description python module for creating graphs
long_description An interface for creating both directed and non \
directed graphs from Python. Currently all attributes \
@@ -16,16 +17,14 @@
Graphviz 1.10).
homepage http://code.google.com/p/pydot/
-master_sites http://pydot.googlecode.com/files/
-distname pydot-${version}
-checksums sha1 3945af1765943807d72e773c7ac853f008ebb0b2
+distfiles
if { ${name} != ${subport} } {
- depends_run bin:dot:graphviz
- patchfiles patch-setup.py.diff
-
- post-patch {
- reinplace "s|@@DIRECTORY@@|share/doc/${subport}|g" ${worksrcpath}/setup.py
- }
+ replaced_by py${python.version}-pydot
+} else {
+ replaced_by py-pydot
+}
- depends_lib-append port:py${python.version}-parsing
+pre-fetch {
+ ui_error "The $subport port is obsolete; please install $replaced_by instead."
+ return -code error "obsolete port"
}
Modified: trunk/dports/python/py-pydot/Portfile
===================================================================
--- trunk/dports/python/py-dot/Portfile 2012-08-27 06:30:20 UTC (rev 97082)
+++ trunk/dports/python/py-pydot/Portfile 2012-08-27 13:16:33 UTC (rev 97095)
@@ -3,12 +3,12 @@
PortSystem 1.0
PortGroup python 1.0
-name py-dot
+name py-pydot
python.versions 24 25 26 27
version 1.0.28
categories python graphics
platforms darwin
-maintainers phw openmaintainer
+maintainers phw singingwolfboy openmaintainer
description python module for creating graphs
long_description An interface for creating both directed and non \
directed graphs from Python. Currently all attributes \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120827/a043a523/attachment.html>
More information about the macports-changes
mailing list