[125316] trunk/dports/python
jmr at macports.org
jmr at macports.org
Sat Sep 13 07:14:23 PDT 2014
Revision: 125316
https://trac.macports.org/changeset/125316
Author: jmr at macports.org
Date: 2014-09-13 07:14:23 -0700 (Sat, 13 Sep 2014)
Log Message:
-----------
py26-pycallgraph: use unified python portgroup, correct license
Modified Paths:
--------------
trunk/dports/python/py-pycallgraph/Portfile
Added Paths:
-----------
trunk/dports/python/py-pycallgraph/
Removed Paths:
-------------
trunk/dports/python/py26-pycallgraph/
Modified: trunk/dports/python/py-pycallgraph/Portfile
===================================================================
--- trunk/dports/python/py26-pycallgraph/Portfile 2014-09-13 07:39:41 UTC (rev 125314)
+++ trunk/dports/python/py-pycallgraph/Portfile 2014-09-13 14:14:23 UTC (rev 125316)
@@ -1,13 +1,13 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-pycallgraph
+name py-pycallgraph
set my_name pycallgraph
version 0.5.1
revision 2
-license GPL-2
+license GPL-2+
categories-append devel
platforms darwin
maintainers nomaintainer
@@ -20,22 +20,25 @@
programs.
homepage http://pycallgraph.slowchop.com/
-master_sites ${homepage}files/download/
+master_sites ${homepage}files/download/ http://distfiles.macports.org/python/
distname ${my_name}-${version}
checksums md5 2f57a14f637e87aabc7301e78941026c \
sha1 898ead71fa2341af9c7f98ef150807ccf2dcdd8c \
rmd160 bb46a88afa374db4552e6311f897fa50245af314
-depends_run-append path:bin/dot:graphviz
+python.versions 26
-post-destroot {
- set docdir ${prefix}/share/doc/${name}
- xinstall -d ${destroot}${docdir}/html
- xinstall -m 644 -W $worksrcpath COPYING ${destroot}${docdir}
+if {$subport ne $name} {
+ depends_run-append path:bin/dot:graphviz
+
+ post-destroot {
+ set docdir ${prefix}/share/doc/${subport}
+ xinstall -d ${destroot}${docdir}/html
+ xinstall -m 644 -W $worksrcpath COPYING ${destroot}${docdir}
+ }
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
}
-
-universal_variant no
-
-livecheck.type regex
-livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140913/a84f684f/attachment-0001.html>
More information about the macports-changes
mailing list