source: trunk/dports/python/py-aspects/Portfile

Last change on this file was 126488, checked in by larryv@…, 3 years ago

py26-aspects: Replace with py27-aspects

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 126488 2014-10-11 04:14:20Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup python    1.0
6
7name                py-aspects
8version             1.3
9platforms           darwin
10maintainers         nomaintainer
11description         Light-weight Approach to Aspect Oriented Programming in Python
12long_description    ${description}
13license             LGPL-2.1+
14
15python.versions     27
16
17homepage            http://www.cs.tut.fi/~ask/aspects/
18master_sites        http://www.cs.tut.fi/~ask/aspects/
19distname            python-aspects-${version}
20
21checksums           rmd160  2366ad4fc39dc202c6b88f3d680eab2ae6bbf1e2 \
22                    sha256  c012fadc798c3fa0f43b30193d7c0fddcbc0f003f3b51c80d4519112ee15d3ed
23
24supported_archs     noarch
25
26if {${name} ne ${subport}} {
27    post-destroot   {
28        xinstall -m 644 ${worksrcpath}/LICENSE.txt \
29            ${destroot}${prefix}/share/doc/${subport}
30        xinstall -m 644 -W ${worksrcpath}/examples httpget_example.py \
31            timeout_advice.py timeout_example.py tracer_advice.py \
32            tracer_example.py typecheck_advice.py typecheck_example.py \
33            ${destroot}${prefix}/share/doc/${subport}/examples
34    }
35
36    livecheck.type  none
37} else {
38    livecheck.type  regex
39    livecheck.url   ${homepage}
40    livecheck.regex aspects-(\[0-9\.\]+).tar.gz
41}
Note: See TracBrowser for help on using the repository browser.