Ticket #14260: Portfile

File Portfile, 1.4 KB (added by macports_dharland@…, 17 years ago)
Line 
1PortSystem 1.0
2PortGroup python24 1.0
3name                            py-logilab-astng
4version                         0.17.2
5categories-append       devel
6maintainers                     trashmail.net:macports_dharland
7description                     Python Abstract Syntax Tree New Generation
8long_description \
9        The aim of this module is to provide a common base representation of python source code \
10        for projects such as pychecker, pyreverse, pylint... Well, actually the development of \
11        this library is essentialy governed by pylint's needs. \
12        \
13        It extends class defined in the compiler.ast module with some additional methods and \
14        attributes. Instance attributes are added by a builder object, which can either generate \
15        extended ast (let's call them astng) by visiting an existant ast tree or by inspecting \
16        living object. Methods are added by monkey patching ast classes.
17
18platforms                       darwin
19
20homepage                        http://www.logilab.org/project/logilab-astng
21master_sites            ftp://ftp.logilab.org/pub/astng
22distname                        logilab-astng-${version}
23
24checksums                       sha1 6725878bef9570937c67491e2a0feafd62c9a02b \
25                                        md5 a654d65a4644fb984d840906cf8b27d5
26
27depends_lib-append      port:py-logilab-common
28
29post-destroot {
30        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
31        xinstall -m 644 -W ${worksrcpath} ChangeLog README \
32                ${destroot}${prefix}/share/doc/${name}
33       
34        # this file is also installed by py-logilab-common
35        file delete ${destroot}${python.pkgd}/logilab/__init__.py
36}