[139510] trunk/dports/python/py-pycallgraph/Portfile
adfernandes at macports.org
adfernandes at macports.org
Wed Aug 19 10:43:38 PDT 2015
Revision: 139510
https://trac.macports.org/changeset/139510
Author: adfernandes at macports.org
Date: 2015-08-19 10:43:38 -0700 (Wed, 19 Aug 2015)
Log Message:
-----------
py-pycallgraph: update (trivial) to latest version, clean up and support python34
Modified Paths:
--------------
trunk/dports/python/py-pycallgraph/Portfile
Modified: trunk/dports/python/py-pycallgraph/Portfile
===================================================================
--- trunk/dports/python/py-pycallgraph/Portfile 2015-08-19 14:50:08 UTC (rev 139509)
+++ trunk/dports/python/py-pycallgraph/Portfile 2015-08-19 17:43:38 UTC (rev 139510)
@@ -1,44 +1,45 @@
# $Id$
-PortSystem 1.0
-PortGroup python 1.0
+PortSystem 1.0
+PortGroup python 1.0
-name py-pycallgraph
-set my_name pycallgraph
-version 0.5.1
-revision 2
-license GPL-2+
+name py-pycallgraph
categories-append devel
-platforms darwin
-maintainers nomaintainer
-supported_archs noarch
-description A Python module that creates call graphs for Python programs
+version 1.0.1
+revision 0
-long_description \
- pycallgraph is a Python module that creates call graphs for Python \
- programs.
+license GPL-2+
-homepage http://pycallgraph.slowchop.com/
-master_sites ${homepage}files/download/ http://distfiles.macports.org/python/
-distname ${my_name}-${version}
+platforms darwin
+maintainers nomaintainer
-checksums md5 2f57a14f637e87aabc7301e78941026c \
- sha1 898ead71fa2341af9c7f98ef150807ccf2dcdd8c \
- rmd160 bb46a88afa374db4552e6311f897fa50245af314
+supported_archs noarch
+python.versions 27 33 34
-python.versions 26
+description A Python module that creates call graphs for Python programs.
+long_description ${description}
+homepage https://github.com/gak/pycallgraph
+master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
+distname ${python.rootname}-${version}
+
+checksums md5 41d2108eedbf3a2f19cae8d4959e6265 \
+ sha1 0eb1d0d2e4fd18ce47722a1898f6fba9edcdaa31 \
+ rmd160 c7504663783e7e72d3a64cac77f8f8d523e50a2a
+
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}
+ xinstall -m 644 -W ${worksrcpath} LICENSE ${destroot}${docdir}
+ file copy ${worksrcpath}/man/${python.rootname}.1 ${destroot}${prefix}/share/man/man1/${python.rootname}-${python.branch}.1
}
+
livecheck.type none
+
} else {
- livecheck.type regex
- livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
+ livecheck.type pypi
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150819/18b3b5e5/attachment.html>
More information about the macports-changes
mailing list