[103889] trunk/dports/python
macsforever2000 at macports.org
macsforever2000 at macports.org
Sat Mar 9 11:27:27 PST 2013
Revision: 103889
https://trac.macports.org/changeset/103889
Author: macsforever2000 at macports.org
Date: 2013-03-09 11:27:27 -0800 (Sat, 09 Mar 2013)
Log Message:
-----------
py-aspects: Unify under python 1.0 portgroup. Add python 2.6 and 2.7 versions.
Modified Paths:
--------------
trunk/dports/python/py-aspects/Portfile
Added Paths:
-----------
trunk/dports/python/py-aspects/
Removed Paths:
-------------
trunk/dports/python/py25-aspects/
Modified: trunk/dports/python/py-aspects/Portfile
===================================================================
--- trunk/dports/python/py25-aspects/Portfile 2013-03-09 16:29:37 UTC (rev 103887)
+++ trunk/dports/python/py-aspects/Portfile 2013-03-09 19:27:27 UTC (rev 103889)
@@ -1,30 +1,38 @@
# $Id$
PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python 1.0
-name py25-aspects
+name py-aspects
version 1.1
platforms darwin
maintainers nomaintainer
description Light-weight Approach to Aspect Oriented Programming in Python
long_description ${description}
+license LGPL-2.1
+python.versions 25 26 27
+
homepage http://www.cs.tut.fi/~ask/aspects/
master_sites http://www.cs.tut.fi/~ask/aspects/
distname aspects-${version}
checksums sha1 5fce9b65fddd408b1d3464802e505528d3dda599
-post-destroot {
- xinstall -m 644 ${worksrcpath}/LICENSE.txt \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath}/examples httpget_example.py \
- timeout_advice.py timeout_example.py tracer_advice.py \
- tracer_example.py typecheck_advice.py typecheck_example.py \
- ${destroot}${prefix}/share/doc/${name}/examples
-}
+supported_archs noarch
-livecheck.type regex
-livecheck.url ${homepage}
-livecheck.regex aspects-(\[0-9\.\]+).tar.gz
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 644 ${worksrcpath}/LICENSE.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath}/examples httpget_example.py \
+ timeout_advice.py timeout_example.py tracer_advice.py \
+ tracer_example.py typecheck_advice.py typecheck_example.py \
+ ${destroot}${prefix}/share/doc/${subport}/examples
+ }
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url ${homepage}
+ livecheck.regex aspects-(\[0-9\.\]+).tar.gz
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130309/13bfa484/attachment-0001.html>
More information about the macports-changes
mailing list